kmail
SimpleStringListEditor Class Reference
List of all members.Detailed Description
Definition at line 48 of file simplestringlisteditor.h.
Public Types | |
| enum | ButtonCode { None = 0x00, Add = 0x01, Remove = 0x02, Modify = 0x04, Up = 0x08, Down = 0x10, All = Add|Remove|Modify|Up|Down, Unsorted = Add|Remove|Modify } |
Signals | |
| void | aboutToAdd (QString &) |
| void | changed (void) |
Public Member Functions | |
| SimpleStringListEditor (QWidget *parent=0, const char *name=0, ButtonCode buttons=Unsorted, const QString &addLabel=QString::null, const QString &removeLabel=QString::null, const QString &modifyLabel=QString::null, const QString &addDialogLabel=QString::null) | |
| void | setStringList (const QStringList &strings) |
| void | appendStringList (const QStringList &strings) |
| QStringList | stringList () const |
| void | setButtonText (ButtonCode button, const QString &text) |
Protected Slots | |
| void | slotAdd () |
| void | slotRemove () |
| void | slotModify () |
| void | slotUp () |
| void | slotDown () |
| void | slotSelectionChanged () |
Protected Attributes | |
| QListBox * | mListBox |
| QPushButton * | mAddButton |
| QPushButton * | mRemoveButton |
| QPushButton * | mModifyButton |
| QPushButton * | mUpButton |
| QPushButton * | mDownButton |
| const QString | mAddDialogLabel |
Constructor & Destructor Documentation
|
||||||||||||||||||||||||||||||||
|
Constructor.
Populates the list with Definition at line 59 of file simplestringlisteditor.cpp. |
Member Function Documentation
|
|
Connected slots can alter the argument to be added or set the argument to QString::null to suppress adding.
|
|
|
Adds
Definition at line 157 of file simplestringlisteditor.cpp. |
|
||||||||||||
|
Sets the text of button
Definition at line 169 of file simplestringlisteditor.cpp. |
|
|
Sets the list of strings displayed to
Definition at line 152 of file simplestringlisteditor.cpp. |
|
|
Retrieves the current list of strings.
Definition at line 161 of file simplestringlisteditor.cpp. |
The documentation for this class was generated from the following files:

