18#ifndef YQPkgServiceList_h
19#define YQPkgServiceList_h
22#include <zypp/Product.h>
23#include <yui/qt/QY2ListView.h>
33typedef std::string ZyppService;
75 void addService( ZyppService service,
const zypp::RepoManager &mgr );
81 int nameCol()
const {
return _nameCol; }
174 int nameCol()
const {
return _serviceList->nameCol(); }
176 virtual bool operator< (
const QTreeWidgetItem & other )
const;
183 ZyppService _zyppService;
184 std::string _zyppServiceName;
Definition YQPkgServiceList.h:137
virtual ~YQPkgServiceListItem()
Definition YQPkgServiceList.cc:225
static ZyppProduct singleProduct(ZyppService service)
Definition YQPkgServiceList.cc:231
YQPkgServiceListItem(YQPkgServiceList *parentList, ZyppService service, const zypp::RepoManager &mgr)
Definition YQPkgServiceList.cc:183
std::string zyppServiceName() const
Definition YQPkgServiceList.h:158
const YQPkgServiceList * serviceList() const
Definition YQPkgServiceList.h:163
ZyppService zyppService() const
Definition YQPkgServiceList.h:153
A widget to display a list of libzypp services.
Definition YQPkgServiceList.h:40
YQPkgServiceList(QWidget *parent)
Definition YQPkgServiceList.cc:54
void fillList()
Definition YQPkgServiceList.cc:87
void filterIfVisible()
Definition YQPkgServiceList.cc:115
void addService(ZyppService service, const zypp::RepoManager &mgr)
Definition YQPkgServiceList.cc:170
YQPkgServiceListItem * selection() const
Definition YQPkgServiceList.cc:177
virtual ~YQPkgServiceList()
Definition YQPkgServiceList.cc:81
void filterNearMatch(ZyppSel selectable, ZyppPkg pkg)
void filterMatch(ZyppSel selectable, ZyppPkg pkg)
void filter()
Definition YQPkgServiceList.cc:122