libyui-qt-pkg  2.42.5
 All Classes Functions Variables Enumerations
YQPkgSelListItem Class Reference
Inheritance diagram for YQPkgSelListItem:
Collaboration diagram for YQPkgSelListItem:

Public Member Functions

 YQPkgSelListItem (YQPkgSelList *pkgSelList, ZyppSel selectable, ZyppSelection zyppSelection)
 
virtual ~YQPkgSelListItem ()
 
ZyppSelection zyppSelection () const
 
virtual int compare (QTreeWidgetItem *other, int col, bool ascending) const
 
int statusCol () const
 
int summaryCol () 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 ()
 
void solveResolvableCollections ()
 
void setText (int column, const string text)
 
void setText (int column, const zypp::Edition &edition)
 

Protected Attributes

YQPkgSelList_pkgSelList
 
ZyppSelection _zyppSelection
 
- 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)
 

Detailed Description

Definition at line 137 of file YQPkgSelList.h.

Constructor & Destructor Documentation

YQPkgSelListItem::YQPkgSelListItem ( YQPkgSelList pkgSelList,
ZyppSel  selectable,
ZyppSelection  zyppSelection 
)

Constructor

Definition at line 202 of file YQPkgSelList.cc.

Here is the call graph for this function:

YQPkgSelListItem::~YQPkgSelListItem ( )
virtual

Destructor

Definition at line 224 of file YQPkgSelList.cc.

Member Function Documentation

void YQPkgSelListItem::applyChanges ( )
protectedvirtual

Propagate status changes in this list to other lists: Have the solver transact all selections.

Reimplemented from YQPkgObjListItem.

Reimplemented from YQPkgObjListItem.

Definition at line 231 of file YQPkgSelList.cc.

Here is the call graph for this function:

int YQPkgSelListItem::compare ( QTreeWidgetItem *  otherListViewItem,
int  col,
bool  ascending 
) const
virtual

Comparison function used for sorting the list. Returns: -1 if this < other 0 if this == other +1 if this > other

Reimplemented from QListViewItem: Sort by zypp::Selection::order() only.

Comparison function used for sorting the list. Returns: -1 if this < other 0 if this == other +1 if this > other

Definition at line 245 of file YQPkgSelList.cc.

Here is the call graph for this function:

ZyppSelection YQPkgSelListItem::zyppSelection ( ) const
inline

Returns the original object within the package manager backend.

Definition at line 156 of file YQPkgSelList.h.


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