libyui-qt-pkg  2.45.6
 All Classes Functions Variables Enumerations
YQPkgRepoList Class Reference

Display a list of zypp::Selection objects. More...

#include <YQPkgRepoList.h>

Inheritance diagram for YQPkgRepoList:
Collaboration diagram for YQPkgRepoList:

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
 
YQPkgRepoListItemselection () 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.
 

Detailed Description

Display a list of zypp::Selection objects.

Definition at line 58 of file YQPkgRepoList.h.

Member Function Documentation

void YQPkgRepoList::filter ( )
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 136 of file YQPkgRepoList.cc.

Here is the call graph for this function:

void YQPkgRepoList::filterStart ( )
signal

Emitted when the filtering starts.

Use this to clear package lists etc. prior to adding new entries.


The documentation for this class was generated from the following files: