41 #ifndef YQPkgLangList_h 42 #define YQPkgLangList_h 44 #include <YQPkgObjList.h> 145 const zypp::Locale & lang );
155 zypp::Locale
zyppLang()
const {
return _zyppLang; }
162 int statusCol()
const {
return _langList->statusCol(); }
168 virtual ZyppStatus status()
const;
169 virtual void setStatus( ZyppStatus newStatus,
bool sendSignals =
true );
175 virtual bool bySelection()
const;
180 virtual void cycleStatus();
187 virtual bool operator< (
const QTreeWidgetItem & other )
const;
197 virtual void applyChanges();
203 zypp::Locale _zyppLang;
207 #endif // ifndef YQPkgLangList_h Abstract base class to display a list of zypp::ResObjects.
void filterIfVisible()
Same as filter(), but only if this widget is currently visible.
void filter()
Filter according to the view's rules and current selection.
void fillList()
Fill the language list.
virtual void updateActions(YQPkgObjListItem *item=0)
update from base class to not access selectables
void filterMatch(ZyppSel selectable, ZyppPkg pkg)
Emitted during filtering for each pkg that matches the filter.
YQPkgLangList(QWidget *parent)
Constructor.
void filterFinished()
Emitted when filtering is finished.
YQPkgLangListItem * selection() const
Returns the currently selected item or 0 if there is none.
void addLangItem(const zypp::Locale &lang)
Add a selection to the list.
Display a list of zypp::Selection objects.
void filterStart()
Emitted when the filtering starts.
virtual ~YQPkgLangList()
Destructor.
zypp::Locale zyppLang() const
Returns the original object within the package manager backend.