libyui-qt-pkg  2.42.13
 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 ()
 
void filterIfVisible ()
 
void addRepo (ZyppRepo repo)
 

Signals

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

Public Member Functions

 YQPkgRepoList (QWidget *parent)
 
virtual ~YQPkgRepoList ()
 
int nameCol () const
 
int urlCol () const
 
YQPkgRepoListItemselection () const
 

Static Public Member Functions

static int countEnabledRepositories ()
 

Protected Slots

void fillList ()
 

Detailed Description

Display a list of zypp::Selection objects.

Definition at line 58 of file YQPkgRepoList.h.

Constructor & Destructor Documentation

YQPkgRepoList::YQPkgRepoList ( QWidget *  parent)

Constructor

Definition at line 63 of file YQPkgRepoList.cc.

Here is the call graph for this function:

YQPkgRepoList::~YQPkgRepoList ( )
virtual

Destructor

Definition at line 97 of file YQPkgRepoList.cc.

Member Function Documentation

void YQPkgRepoList::addRepo ( ZyppRepo  repo)
slot

Add a repository to the list.

Definition at line 184 of file YQPkgRepoList.cc.

int YQPkgRepoList::countEnabledRepositories ( )
static

Returns the number of enabled repositories.

Definition at line 121 of file YQPkgRepoList.cc.

void YQPkgRepoList::fillList ( )
protectedslot

Fill the list.

Definition at line 104 of file YQPkgRepoList.cc.

Here is the call graph for this function:

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::filterFinished ( )
signal

Emitted when filtering is finished.

void YQPkgRepoList::filterIfVisible ( )
slot

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

Definition at line 128 of file YQPkgRepoList.cc.

Here is the call graph for this function:

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

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

void YQPkgRepoList::filterStart ( )
signal

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

YQPkgRepoListItem * YQPkgRepoList::selection ( ) const

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

Definition at line 191 of file YQPkgRepoList.cc.


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