libyui-qt-pkg  2.45.15.2
YQPkgServiceList Class Reference

A widget to display a list of libzypp services. More...

#include <YQPkgServiceList.h>

Inheritance diagram for YQPkgServiceList:
Collaboration diagram for YQPkgServiceList:

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
 
YQPkgServiceListItemselection () const
 Returns the currently selected item or 0 if there is none.
 

Protected Slots

void fillList ()
 Fill the list.
 

Detailed Description

A widget to display a list of libzypp services.

Definition at line 43 of file YQPkgServiceList.h.

Member Function Documentation

◆ filter

void YQPkgServiceList::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 117 of file YQPkgServiceList.cc.

Here is the call graph for this function:

◆ filterStart

void YQPkgServiceList::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: