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

Public Member Functions

 YQPkgProductListItem (YQPkgProductList *productList, ZyppSel selectable, ZyppProduct zyppProduct)
 
virtual ~YQPkgProductListItem ()
 
ZyppProduct zyppProduct () const
 
int statusCol () const
 
int summaryCol () const
 
int versionCol () const
 
int vendorCol () const
 
- Public Member Functions inherited from YQPkgObjListItem
 YQPkgObjListItem (YQPkgObjList *pkgObjList, ZyppSel selectable, ZyppObj zyppObj=0)
 
 YQPkgObjListItem (YQPkgObjList *pkgObjList)
 
virtual ~YQPkgObjListItem ()
 
ZyppSel selectable () const
 
ZyppObj zyppObj () const
 
bool editable () const
 
void setEditable (bool editable=true)
 
virtual ZyppStatus status () const
 
virtual bool bySelection () const
 
virtual void setStatus (ZyppStatus newStatus, bool sendSignals=true)
 
virtual void setStatusIcon ()
 
virtual void updateStatus ()
 
virtual void cycleStatus ()
 
bool candidateIsNewer () const
 
bool installedIsNewer () const
 
bool isSatisfied () const
 
bool isBroken () const
 
void showNotifyTexts (ZyppStatus status)
 
bool showLicenseAgreement ()
 
virtual bool operator< (const QTreeWidgetItem &other) const
 
int versionPoints () const
 
virtual void updateData ()
 
virtual QString toolTip (int column)
 
bool isExcluded () const
 
void setExcluded (bool exclude=true)
 
bool debugIsBroken () const
 
bool debugIsSatisfied () const
 
void setDebugIsBroken (bool val=true)
 
void setDebugIsSatisfied (bool val=true)
 
void toggleDebugIsBroken ()
 
void toggleDebugIsSatisfied ()
 
int statusCol () const
 
int nameCol () const
 
int summaryCol () const
 
int sizeCol () const
 
int versionCol () const
 
int instVersionCol () const
 
int brokenIconCol () const
 
int satisfiedIconCol () const
 
void setText (int column, const QString &text)
 

Protected Member Functions

virtual void applyChanges ()
 
- Protected Member Functions inherited from YQPkgObjListItem
 YQPkgObjListItem (YQPkgObjList *pkgObjList, QY2ListViewItem *parent, ZyppSel selectable, ZyppObj zyppObj=0)
 
void init ()
 
virtual void applyChanges ()
 
void solveResolvableCollections ()
 
void setText (int column, const string text)
 
void setText (int column, const zypp::Edition &edition)
 

Protected Attributes

YQPkgProductList_productList
 
ZyppProduct _zyppProduct
 
- Protected Attributes inherited from YQPkgObjListItem
YQPkgObjList_pkgObjList
 
ZyppSel _selectable
 
ZyppObj _zyppObj
 
bool _editable:1
 
bool _candidateIsNewer:1
 
bool _installedIsNewer:1
 
bool _debugIsBroken:1
 
bool _debugIsSatisfied:1
 
bool _excluded:1
 

Additional Inherited Members

- Static Public Member Functions inherited from YQPkgObjListItem
static bool showLicenseAgreement (ZyppSel sel)
 

Constructor & Destructor Documentation

◆ YQPkgProductListItem()

YQPkgProductListItem::YQPkgProductListItem ( YQPkgProductList productList,
ZyppSel  selectable,
ZyppProduct  zyppProduct 
)

Constructor. Creates a YQPkgProductList item that corresponds to zyppProduct.

◆ ~YQPkgProductListItem()

YQPkgProductListItem::~YQPkgProductListItem ( )
virtual

Destructor

Member Function Documentation

◆ applyChanges()

void YQPkgProductListItem::applyChanges ( )
protectedvirtual

Propagate status changes in this list to other lists: Have the solver transact all products, patterns, etc.

Reimplemented from YQPkgObjListItem.

Reimplemented from YQPkgObjListItem.

◆ zyppProduct()

ZyppProduct YQPkgProductListItem::zyppProduct ( ) const
inline

Returns the original zyppProduct object.


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