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;
Definition: YQPkgServiceList.h:141
virtual ~YQPkgServiceListItem()
Definition: YQPkgServiceList.cc:226
const YQPkgServiceList * serviceList() const
Definition: YQPkgServiceList.h:167
static ZyppProduct singleProduct(ZyppService service)
Definition: YQPkgServiceList.cc:232
YQPkgServiceListItem(YQPkgServiceList *parentList, ZyppService service, const zypp::RepoManager &mgr)
Definition: YQPkgServiceList.cc:184
std::string zyppServiceName() const
Definition: YQPkgServiceList.h:162
ZyppService zyppService() const
Definition: YQPkgServiceList.h:157
A widget to display a list of libzypp services.
Definition: YQPkgServiceList.h:44
YQPkgServiceList(QWidget *parent)
Definition: YQPkgServiceList.cc:55
void fillList()
Definition: YQPkgServiceList.cc:88
void filterIfVisible()
Definition: YQPkgServiceList.cc:116
void addService(ZyppService service, const zypp::RepoManager &mgr)
Definition: YQPkgServiceList.cc:171
YQPkgServiceListItem * selection() const
Definition: YQPkgServiceList.cc:178
virtual ~YQPkgServiceList()
Definition: YQPkgServiceList.cc:82
void filterNearMatch(ZyppSel selectable, ZyppPkg pkg)
void filterMatch(ZyppSel selectable, ZyppPkg pkg)
void filter()
Definition: YQPkgServiceList.cc:123