KDevelop API Documentation

InputStrList Class Reference

#include <input.h>

Inheritance diagram for InputStrList:

QWidget IInput List of all members.

Public Types

enum  ListMode { ListString = 0, ListFile = 1, ListDir = 2, ListFileDir = ListFile|ListDir }

Signals

void changed ()

Public Member Functions

 InputStrList (const QString &text, QWidget *parent, QStrList &sl, ListMode v=ListString)
 ~InputStrList ()
void init ()
void setEnabled (bool)
QObjectqobject ()

Private Slots

void addString ()
void delString ()
void updateString ()
void selectText (const QString &s)
void browseFiles ()
void browseDir ()

Private Attributes

QLabellab
QLineEditle
QPushButtonadd
QPushButtondel
QPushButtonupd
QPushButtonbrFile
QPushButtonbrDir
QListBoxlb
QStrListstrList

Member Enumeration Documentation

enum InputStrList::ListMode
 

Enumeration values:
ListString 
ListFile 
ListDir 
ListFileDir 

Definition at line 136 of file input.h.


Constructor & Destructor Documentation

InputStrList::InputStrList const QString text,
QWidget parent,
QStrList sl,
ListMode  v = ListString
 

Definition at line 326 of file input.cpp.

References add, add_xpm, addString(), brDir, brFile, browseDir(), browseFiles(), del, del_xpm, delString(), init(), InputStrList(), lab, lb, le, ListDir, ListFile, ListString, selectText(), strList, upd, update_xpm, and updateString().

Referenced by InputStrList().

InputStrList::~InputStrList  ) 
 

Definition at line 400 of file input.cpp.


Member Function Documentation

void InputStrList::addString  )  [private, slot]
 

Definition at line 416 of file input.cpp.

References changed(), lb, le, and strList.

Referenced by InputStrList().

void InputStrList::browseDir  )  [private, slot]
 

Definition at line 486 of file input.cpp.

References changed(), lb, le, and strList.

Referenced by InputStrList().

void InputStrList::browseFiles  )  [private, slot]
 

Definition at line 470 of file input.cpp.

References changed(), lb, le, and strList.

Referenced by InputStrList().

void InputStrList::changed  )  [signal]
 

Referenced by addString(), browseDir(), browseFiles(), delString(), and updateString().

void InputStrList::delString  )  [private, slot]
 

Definition at line 427 of file input.cpp.

References changed(), lb, and strList.

Referenced by InputStrList().

void InputStrList::init  )  [virtual]
 

Implements IInput.

Definition at line 404 of file input.cpp.

References lb, le, and strList.

Referenced by InputStrList().

QObject* InputStrList::qobject  )  [inline, virtual]
 

Implements IInput.

Definition at line 148 of file input.h.

void InputStrList::selectText const QString s  )  [private, slot]
 

Definition at line 449 of file input.cpp.

References le, and selectText().

Referenced by InputStrList(), and selectText().

void InputStrList::setEnabled bool   )  [virtual]
 

Implements IInput.

Definition at line 455 of file input.cpp.

References add, brDir, brFile, del, lab, lb, le, setEnabled(), and upd.

Referenced by setEnabled().

void InputStrList::updateString  )  [private, slot]
 

Definition at line 438 of file input.cpp.

References changed(), lb, le, and strList.

Referenced by InputStrList().


Member Data Documentation

QPushButton* InputStrList::add [private]
 

Definition at line 164 of file input.h.

Referenced by InputStrList(), and setEnabled().

QPushButton* InputStrList::brDir [private]
 

Definition at line 168 of file input.h.

Referenced by InputStrList(), and setEnabled().

QPushButton* InputStrList::brFile [private]
 

Definition at line 167 of file input.h.

Referenced by InputStrList(), and setEnabled().

QPushButton* InputStrList::del [private]
 

Definition at line 165 of file input.h.

Referenced by InputStrList(), and setEnabled().

QLabel* InputStrList::lab [private]
 

Definition at line 162 of file input.h.

Referenced by InputStrList(), and setEnabled().

QListBox* InputStrList::lb [private]
 

Definition at line 169 of file input.h.

Referenced by addString(), browseDir(), browseFiles(), delString(), init(), InputStrList(), setEnabled(), and updateString().

QLineEdit* InputStrList::le [private]
 

Definition at line 163 of file input.h.

Referenced by addString(), browseDir(), browseFiles(), init(), InputStrList(), selectText(), setEnabled(), and updateString().

QStrList& InputStrList::strList [private]
 

Definition at line 170 of file input.h.

Referenced by addString(), browseDir(), browseFiles(), delString(), init(), InputStrList(), and updateString().

QPushButton* InputStrList::upd [private]
 

Definition at line 166 of file input.h.

Referenced by InputStrList(), and setEnabled().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:03 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003