libyui-qt-pkg
Loading...
Searching...
No Matches
YQPkgRepoListItem Class Reference
Inheritance diagram for YQPkgRepoListItem:
Collaboration diagram for YQPkgRepoListItem:

Public Member Functions

 YQPkgRepoListItem (YQPkgRepoList *parentList, ZyppRepo repo)
 
virtual ~YQPkgRepoListItem ()
 
ZyppRepo zyppRepo () const
 
const YQPkgRepoListrepoList () const
 
int nameCol () const
 
int urlCol () const
 
virtual bool operator< (const QTreeWidgetItem &other) const
 

Static Public Member Functions

static ZyppProduct singleProduct (ZyppRepo repo)
 

Protected Attributes

YQPkgRepoList_repoList
 
ZyppRepo _zyppRepo
 

Constructor & Destructor Documentation

◆ YQPkgRepoListItem()

YQPkgRepoListItem::YQPkgRepoListItem ( YQPkgRepoList parentList,
ZyppRepo  repo 
)

Constructor

◆ ~YQPkgRepoListItem()

YQPkgRepoListItem::~YQPkgRepoListItem ( )
virtual

Destructor

Member Function Documentation

◆ repoList()

const YQPkgRepoList * YQPkgRepoListItem::repoList ( ) const
inline

Returns the parent list

◆ singleProduct()

ZyppProduct YQPkgRepoListItem::singleProduct ( ZyppRepo  repo)
static

Returns the product on a source if it has one single product or 0 if there are no or multiple products.

◆ zyppRepo()

ZyppRepo YQPkgRepoListItem::zyppRepo ( ) const
inline

Returns the ZYPP repository this item corresponds to


The documentation for this class was generated from the following files: