41 #ifndef YQPkgRepoList_h
42 #define YQPkgRepoList_h
45 #include "QY2ListView.h"
46 #include <zypp/Repository.h>
47 #include <zypp/Product.h>
52 typedef zypp::Repository ZyppRepo;
106 int nameCol()
const {
return _nameCol; }
107 int urlCol()
const {
return _urlCol; }
198 int nameCol()
const {
return _repoList->nameCol(); }
199 int urlCol()
const {
return _repoList->urlCol(); }
201 virtual bool operator< (
const QTreeWidgetItem & other )
const;
211 #endif // ifndef YQPkgRepoList_h
static int countEnabledRepositories()
YQPkgRepoList(QWidget *parent)
void filterNearMatch(ZyppSel selectable, ZyppPkg pkg)
const YQPkgRepoList * repoList() const
YQPkgRepoListItem * selection() const
YQPkgRepoListItem(YQPkgRepoList *parentList, ZyppRepo repo)
void filterMatch(ZyppSel selectable, ZyppPkg pkg)
virtual ~YQPkgRepoListItem()
static ZyppProduct singleProduct(ZyppRepo repo)
Display a list of zypp::Selection objects.
ZyppRepo zyppRepo() const
void addRepo(ZyppRepo repo)