#include <YQPkgSelList.h>
Inheritance diagram for YQPkgSelList:
Public Slots | |
void | filter () |
void | filterIfVisible () |
void | addPkgSelItem (PMSelectionPtr sel) |
void | sendUpdatePackages () |
void | applyChanges () |
Signals | |
void | updatePackages () |
void | filterStart () |
void | filterMatch (PMPackagePtr pkg) |
void | filterFinished () |
Public Member Functions | |
YQPkgSelList (QWidget *parent) | |
virtual | ~YQPkgSelList () |
YQPkgSelListItem * | selection () const |
Protected Slots | |
void | fillList () |
|
Constructor |
|
Destructor |
|
Add a selection to the list. Connect a filter's filterMatch() signal to this slot. Remember to connect filterStart() to clear() (inherited from QListView). |
|
Activate current selections in the selection manager and emit an updatePackages() signal. |
|
Fill the selection list. |
|
Filter according to the view's rules and current selection. Emits those signals: filterStart() filterMatch() for each pkg that matches the filter filterFinished() |
|
Emitted when filtering is finished. |
|
Same as filter(), but only if this widget is currently visible. |
|
Emitted during filtering for each pkg that matches the filter. |
|
Emitted when the filtering starts. Use this to clear package lists etc. prior to adding new entries. |
|
Returns the currently selected item or 0 if there is none. |
|
Emit an updatePackages() signal. |
|
Emitted when it's time to update displayed package information, e.g., package states. |