libyui-qt-pkg
2.45.15.2
|
A widget to display a list of libzypp services. More...
#include <YQPkgServiceList.h>
Public Slots | |
void | filter () |
Filter according to the view's rules and current selection. More... | |
void | filterIfVisible () |
Same as filter(), but only if this widget is currently visible. | |
void | addService (ZyppService service, const zypp::RepoManager &mgr) |
Add a service to the list. | |
Signals | |
void | filterStart () |
Emitted when the filtering starts. More... | |
void | filterMatch (ZyppSel selectable, ZyppPkg pkg) |
Emitted during filtering for each pkg that matches the filter and the candidate package comes from the respective repository. | |
void | filterNearMatch (ZyppSel selectable, ZyppPkg pkg) |
Emitted during filtering for each pkg that matches the filter and the candidate package does not come from the respective repository. | |
void | filterFinished () |
Emitted when filtering is finished. | |
Public Member Functions | |
YQPkgServiceList (QWidget *parent) | |
Constructor. | |
virtual | ~YQPkgServiceList () |
Destructor. | |
int | nameCol () const |
YQPkgServiceListItem * | selection () const |
Returns the currently selected item or 0 if there is none. | |
Protected Slots | |
void | fillList () |
Fill the list. | |
A widget to display a list of libzypp services.
Definition at line 43 of file YQPkgServiceList.h.
|
slot |
Filter according to the view's rules and current selection.
Emits those signals: filterStart() filterMatch() for each pkg that matches the filter filterFinished()
Definition at line 117 of file YQPkgServiceList.cc.
|
signal |
Emitted when the filtering starts.
Use this to clear package lists etc. prior to adding new entries.