libyui-qt-pkg
2.45.27
|
Display a list of libzypp repositories. More...
#include <YQPkgRepoList.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 | addRepo (ZyppRepo repo) |
Add a repository 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 | |
YQPkgRepoList (QWidget *parent) | |
Constructor. | |
virtual | ~YQPkgRepoList () |
Destructor. | |
int | nameCol () const |
int | urlCol () const |
YQPkgRepoListItem * | selection () const |
Returns the currently selected item or 0 if there is none. | |
Static Public Member Functions | |
static int | countEnabledRepositories () |
Returns the number of enabled repositories. | |
Protected Slots | |
void | fillList () |
Fill the list. | |
Display a list of libzypp repositories.
Definition at line 58 of file YQPkgRepoList.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 138 of file YQPkgRepoList.cc.
|
signal |
Emitted when the filtering starts.
Use this to clear package lists etc. prior to adding new entries.