41 #ifndef YQPkgSelList_h 42 #define YQPkgSelList_h 44 #include <YQPkgObjList.h> 69 YQPkgSelList( QWidget * parent,
bool autoFill =
true,
bool autoFilter =
true );
146 ZyppSelection zyppSelection );
168 virtual int compare( QTreeWidgetItem * other,
170 bool ascending )
const;
174 int statusCol()
const {
return _pkgSelList->statusCol(); }
175 int summaryCol()
const {
return _pkgSelList->summaryCol(); }
186 virtual void applyChanges();
192 ZyppSelection _zyppSelection;
196 #endif // ifndef YQPkgSelList_h Abstract base class to display a list of zypp::ResObjects.
void fillList()
Fill the selection list.
Display a list of zypp::Selection objects.
void addPkgSelItem(ZyppSel selectable, ZyppSelection selection)
Add a selection to the list.
void filterMatch(ZyppSel selectable, ZyppPkg pkg)
Emitted during filtering for each pkg that matches the filter.
void filterStart()
Emitted when the filtering starts.
void filter()
Filter according to the view's rules and current selection.
void filterIfVisible()
Same as filter(), but only if this widget is currently visible.
virtual ~YQPkgSelList()
Destructor.
void filterFinished()
Emitted when filtering is finished.
ZyppSelection zyppSelection() const
Returns the original object within the package manager backend.
YQPkgSelListItem * selection() const
Returns the currently selected item or 0 if there is none.
YQPkgSelList(QWidget *parent, bool autoFill=true, bool autoFilter=true)
Constructor.