libyui-qt-pkg
Loading...
Searching...
No Matches
YQPkgRepoList Class Reference

Display a list of libzypp repositories. 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 libzypp repositories.

Constructor & Destructor Documentation

◆ YQPkgRepoList()

YQPkgRepoList::YQPkgRepoList ( QWidget * parent)

Constructor

◆ ~YQPkgRepoList()

YQPkgRepoList::~YQPkgRepoList ( )
virtual

Destructor

Member Function Documentation

◆ addRepo

void YQPkgRepoList::addRepo ( ZyppRepo repo)
slot

Add a repository to the list.

◆ countEnabledRepositories()

int YQPkgRepoList::countEnabledRepositories ( )
static

Returns the number of enabled repositories.

◆ fillList

void YQPkgRepoList::fillList ( )
protectedslot

Fill the list.

◆ filter

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

◆ filterFinished

void YQPkgRepoList::filterFinished ( )
signal

Emitted when filtering is finished.

◆ filterIfVisible

void YQPkgRepoList::filterIfVisible ( )
slot

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

◆ filterMatch

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

◆ filterNearMatch

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

◆ filterStart

void YQPkgRepoList::filterStart ( )
signal

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

◆ selection()

YQPkgRepoListItem * YQPkgRepoList::selection ( ) const

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


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