22 #ifndef YQPkgServiceList_h 23 #define YQPkgServiceList_h 27 #include "QY2ListView.h" 28 #include <zypp/Product.h> 37 typedef std::string ZyppService;
74 void filterIfVisible();
79 void addService( ZyppService service,
const zypp::RepoManager &mgr );
85 int nameCol()
const {
return _nameCol; }
105 void filterMatch( ZyppSel selectable,
112 void filterNearMatch( ZyppSel selectable,
118 void filterFinished();
173 static ZyppProduct singleProduct( ZyppService service );
178 int nameCol()
const {
return _serviceList->nameCol(); }
180 virtual bool operator< (
const QTreeWidgetItem & other )
const;
187 ZyppService _zyppService;
188 std::string _zyppServiceName;
192 #endif // ifndef YQPkgServiceList_h std::string zyppServiceName() const
Returns the ZYPP service name this item corresponds to.
A widget to display a list of libzypp services.
ZyppService zyppService() const
Returns the ZYPP service this item corresponds to (its alias)
const YQPkgServiceList * serviceList() const
Returns the parent list.