libyui-qt-pkg
 
Loading...
Searching...
No Matches
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 ()
 
void filterIfVisible ()
 
void addService (ZyppService service, const zypp::RepoManager &mgr)
 

Signals

void filterStart ()
 
void filterMatch (ZyppSel selectable, ZyppPkg pkg)
 
void filterNearMatch (ZyppSel selectable, ZyppPkg pkg)
 
void filterFinished ()
 

Public Member Functions

 YQPkgServiceList (QWidget *parent)
 
virtual ~YQPkgServiceList ()
 
int nameCol () const
 
YQPkgServiceListItemselection () const
 

Protected Slots

void fillList ()
 

Detailed Description

A widget to display a list of libzypp services.

Constructor & Destructor Documentation

◆ YQPkgServiceList()

YQPkgServiceList::YQPkgServiceList ( QWidget * parent)

Constructor

◆ ~YQPkgServiceList()

YQPkgServiceList::~YQPkgServiceList ( )
virtual

Destructor

Member Function Documentation

◆ addService

void YQPkgServiceList::addService ( ZyppService service,
const zypp::RepoManager & mgr )
slot

Add a service to the list.

◆ fillList

void YQPkgServiceList::fillList ( )
protectedslot

Fill the list.

◆ 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()

◆ filterFinished

void YQPkgServiceList::filterFinished ( )
signal

Emitted when filtering is finished.

◆ filterIfVisible

void YQPkgServiceList::filterIfVisible ( )
slot

Same as filter(), but only if this widget is currently visible.

◆ filterMatch

void YQPkgServiceList::filterMatch ( ZyppSel selectable,
ZyppPkg pkg )
signal

Emitted during filtering for each pkg that matches the filter and the candidate package comes from the respective repository

◆ filterNearMatch

void YQPkgServiceList::filterNearMatch ( ZyppSel selectable,
ZyppPkg pkg )
signal

Emitted during filtering for each pkg that matches the filter and the candidate package does not come from the respective repository

◆ filterStart

void YQPkgServiceList::filterStart ( )
signal

Emitted when the filtering starts. Use this to clear package lists etc. prior to adding new entries.

◆ selection()

YQPkgServiceListItem * YQPkgServiceList::selection ( ) const

Returns the currently selected item or 0 if there is none.


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