22 #ifndef YQPkgServiceList_h 23 #define YQPkgServiceList_h 26 #include <zypp/Product.h> 27 #include <yui/qt/QY2ListView.h> 37 typedef std::string ZyppService;
79 void addService( ZyppService service,
const zypp::RepoManager &mgr );
85 int nameCol()
const {
return _nameCol; }
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
void filter()
Definition: YQPkgServiceList.cc:123
ZyppService zyppService() const
Definition: YQPkgServiceList.h:157
virtual ~YQPkgServiceList()
Definition: YQPkgServiceList.cc:82
std::string zyppServiceName() const
Definition: YQPkgServiceList.h:162
const YQPkgServiceList * serviceList() const
Definition: YQPkgServiceList.h:167
virtual ~YQPkgServiceListItem()
Definition: YQPkgServiceList.cc:226
void filterIfVisible()
Definition: YQPkgServiceList.cc:116
void filterNearMatch(ZyppSel selectable, ZyppPkg pkg)
YQPkgServiceList(QWidget *parent)
Definition: YQPkgServiceList.cc:55
A widget to display a list of libzypp services.
Definition: YQPkgServiceList.h:43
static ZyppProduct singleProduct(ZyppService service)
Definition: YQPkgServiceList.cc:232
void fillList()
Definition: YQPkgServiceList.cc:88
void addService(ZyppService service, const zypp::RepoManager &mgr)
Definition: YQPkgServiceList.cc:171
Definition: YQPkgServiceList.h:140
YQPkgServiceListItem * selection() const
Definition: YQPkgServiceList.cc:178
Definition: YQPkgServiceList.h:32
YQPkgServiceListItem(YQPkgServiceList *parentList, ZyppService service, const zypp::RepoManager &mgr)
Definition: YQPkgServiceList.cc:184
void filterMatch(ZyppSel selectable, ZyppPkg pkg)