#include <YQMultiSelectionBox.h>
Public Member Functions | |
| YQMultiSelectionBoxItem (YQMultiSelectionBox *parent, QListView *listView, const QString &text) | |
| virtual | ~YQMultiSelectionBoxItem () |
Protected Member Functions | |
| void | stateChange (bool newState) |
| virtual QString | key (int column, bool ascending) const |
Protected Attributes | |
| int | _serial |
| YQMultiSelectionBox * | _multiSelectionBox |
Static Protected Attributes | |
| static int | _item_count = 0 |
|
||||||||||||||||
|
Constructor. |
|
|
Destructor. |
|
||||||||||||
|
Returns the sort key for any column. Reimplemented from QListViewItem. This method is the true reason for this class - a pure QListViewItem is too dumb to retain insertion order even if sorting is explicitly disabled: It gets sorted in reverse insertion order. :-( |
|
|
Called when the on/off state changes. Triggers a 'valueChanged' event in the associated YQMultiSelectionBox. Reimplemented from QChecklistItem. |
|
|
The next serial number to use |
|
|
|
|
|
|
1.4.4