#include <YQPkgLangList.h>
Inheritance diagram for YQPkgLangList:
Public Slots | |
void | filter () |
void | filterIfVisible () |
void | addLangItem (PMLanguagePtr lang) |
void | sendUpdatePackages () |
Signals | |
void | updatePackages () |
void | filterStart () |
void | filterMatch (PMPackagePtr pkg) |
void | filterFinished () |
Public Member Functions | |
YQPkgLangList (QWidget *parent) | |
virtual | ~YQPkgLangList () |
YQPkgLangListItem * | 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). |
|
Fill the language 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. |