Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

YQPkgRpmGroupTagsFilterView Class Reference

RPM group tags filter view: Display the RPM group tags tree and emit signals if any group tag is selected so a package list can be filled or updated. More...

#include <YQPkgRpmGroupTagsFilterView.h>

List of all members.

Public Slots

void filter ()
void filterIfVisible ()
void selectSomething ()

Signals

void filterStart ()
void filterMatch (PMPackagePtr pkg)
void filterFinished ()

Public Member Functions

 YQPkgRpmGroupTagsFilterView (QWidget *parent)
virtual ~YQPkgRpmGroupTagsFilterView ()
YQPkgRpmGroupTagselection () const

Protected Member Functions

void cloneTree (YStringTreeItem *parentRpmGroup, YQPkgRpmGroupTag *parentClone=0)
bool check (PMPackagePtr pkg)


Detailed Description

RPM group tags filter view: Display the RPM group tags tree and emit signals if any group tag is selected so a package list can be filled or updated.


Constructor & Destructor Documentation

YQPkgRpmGroupTagsFilterView::YQPkgRpmGroupTagsFilterView QWidget *  parent  ) 
 

Constructor

YQPkgRpmGroupTagsFilterView::~YQPkgRpmGroupTagsFilterView  )  [virtual]
 

Destructor


Member Function Documentation

bool YQPkgRpmGroupTagsFilterView::check PMPackagePtr  pkg  )  [protected]
 

Check if 'pkg' matches 'selectedRpmGroup'. Returns true if there is a match, false otherwise or if 'pkg' is 0.

void YQPkgRpmGroupTagsFilterView::cloneTree YStringTreeItem parentRpmGroup,
YQPkgRpmGroupTag parentClone = 0
[protected]
 

Recursively clone the RPM group tag tree for the QListView widget: Make a deep copy of the tree starting at 'parentRpmGroup' and 'parentClone'.

void YQPkgRpmGroupTagsFilterView::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()

void YQPkgRpmGroupTagsFilterView::filterFinished  )  [signal]
 

Emitted when filtering is finished.

void YQPkgRpmGroupTagsFilterView::filterIfVisible  )  [slot]
 

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

void YQPkgRpmGroupTagsFilterView::filterMatch PMPackagePtr  pkg  )  [signal]
 

Emitted during filtering for each pkg that matches the filter.

void YQPkgRpmGroupTagsFilterView::filterStart  )  [signal]
 

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

YQPkgRpmGroupTag * YQPkgRpmGroupTagsFilterView::selection  )  const
 

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

void YQPkgRpmGroupTagsFilterView::selectSomething  )  [slot]
 

Select a list entry ( if there is any ). Usually this will be the first list entry, but don't rely on that - this might change without notice. Emits signal selectionChanged().


The documentation for this class was generated from the following files:
Generated on Wed Nov 12 06:11:17 2008 for yast2-qt by  doxygen 1.3.9.1