KDevelop API Documentation

InputStrList Class Reference

#include <input.h>

Inheritance diagram for InputStrList:

Inheritance graph
[legend]
Collaboration diagram for InputStrList:

Collaboration graph
[legend]
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)
QObject * qobject ()

Private Slots

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

Private Attributes

QLabel * lab
QLineEdit * le
QPushButton * add
QPushButton * del
QPushButton * upd
QPushButton * brFile
QPushButton * brDir
QListBox * lb
QStrList & strList

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(), lab, lb, le, selectText(), strList, upd, update_xpm, and updateString().

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(), KFileDialog::getExistingDirectory(), lb, le, and strList.

Referenced by InputStrList().

void InputStrList::browseFiles (   )  [private, slot]
 

Definition at line 470 of file input.cpp.

References changed(), KFileDialog::getOpenFileNames(), 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.

Referenced by InputStrList().

void InputStrList::setEnabled (  bool   )  [virtual]
 

Implements IInput.

Definition at line 455 of file input.cpp.

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

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.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:43:41 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003