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

Public Member Functions

 YQPkgServiceListItem (YQPkgServiceList *parentList, ZyppService service, const zypp::RepoManager &mgr)
 
virtual ~YQPkgServiceListItem ()
 
ZyppService zyppService () const
 
std::string zyppServiceName () const
 
const YQPkgServiceListserviceList () const
 
int nameCol () const
 
virtual bool operator< (const QTreeWidgetItem &other) const
 

Static Public Member Functions

static ZyppProduct singleProduct (ZyppService service)
 

Protected Attributes

YQPkgServiceList_serviceList
 
ZyppService _zyppService
 
std::string _zyppServiceName
 

Constructor & Destructor Documentation

◆ YQPkgServiceListItem()

YQPkgServiceListItem::YQPkgServiceListItem ( YQPkgServiceList * parentList,
ZyppService service,
const zypp::RepoManager & mgr )

Constructor

◆ ~YQPkgServiceListItem()

YQPkgServiceListItem::~YQPkgServiceListItem ( )
virtual

Destructor

Member Function Documentation

◆ serviceList()

const YQPkgServiceList * YQPkgServiceListItem::serviceList ( ) const
inline

Returns the parent list

◆ singleProduct()

ZyppProduct YQPkgServiceListItem::singleProduct ( ZyppService service)
static

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

◆ zyppService()

ZyppService YQPkgServiceListItem::zyppService ( ) const
inline

Returns the ZYPP service this item corresponds to (its alias)

◆ zyppServiceName()

std::string YQPkgServiceListItem::zyppServiceName ( ) const
inline

Returns the ZYPP service name this item corresponds to


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