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

Public Member Functions

 YQPkgPatternListItem (YQPkgPatternList *patternList, ZyppSel selectable, ZyppPattern zyppPattern)
 
 YQPkgPatternListItem (YQPkgPatternList *patternList, YQPkgPatternCategoryItem *parentCategory, ZyppSel selectable, ZyppPattern zyppPattern)
 
virtual ~YQPkgPatternListItem ()
 
ZyppPattern zyppPattern () const
 
virtual void cycleStatus ()
 
virtual bool operator< (const QTreeWidgetItem &other) const
 
int statusCol () const
 
int summaryCol () const
 
int totalPackages () const
 
int installedPackages () const
 
void setTotalPackages (int v)
 
void setInstalledPackages (int v)
 
void resetToolTip ()
 
- 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 ()
 
bool candidateIsNewer () const
 
bool installedIsNewer () const
 
bool isSatisfied () const
 
bool isBroken () const
 
void showNotifyTexts (ZyppStatus status)
 
bool showLicenseAgreement ()
 
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

void init ()
 
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

YQPkgPatternList_patternList
 
ZyppPattern _zyppPattern
 
int _total
 
int _installed
 
- 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 174 of file YQPkgPatternList.h.

Constructor & Destructor Documentation

YQPkgPatternListItem::YQPkgPatternListItem ( YQPkgPatternList patternList,
ZyppSel  selectable,
ZyppPattern  zyppPattern 
)

Constructor for root items

Definition at line 437 of file YQPkgPatternList.cc.

Here is the call graph for this function:

YQPkgPatternListItem::YQPkgPatternListItem ( YQPkgPatternList patternList,
YQPkgPatternCategoryItem parentCategory,
ZyppSel  selectable,
ZyppPattern  zyppPattern 
)

Constructor for items that belong to a category

Definition at line 449 of file YQPkgPatternList.cc.

Here is the call graph for this function:

YQPkgPatternListItem::~YQPkgPatternListItem ( )
virtual

Destructor

Definition at line 491 of file YQPkgPatternList.cc.

Member Function Documentation

void YQPkgPatternListItem::applyChanges ( )
protectedvirtual

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

Reimplemented from YQPkgObjListItem.

Reimplemented from YQPkgObjListItem.

Definition at line 563 of file YQPkgPatternList.cc.

Here is the call graph for this function:

void YQPkgPatternListItem::cycleStatus ( )
virtual

Cycle the package status to the next valid value. Reimplemented from YQPkgObjList.

Reimplemented from YQPkgObjListItem.

Definition at line 498 of file YQPkgPatternList.cc.

Here is the call graph for this function:

void YQPkgPatternListItem::init ( )
protected

Initialize things common to all constructors.

Definition at line 464 of file YQPkgPatternList.cc.

Here is the call graph for this function:

bool YQPkgPatternListItem::operator< ( const QTreeWidgetItem &  other) const
virtual

sorting function

Reimplemented from YQPkgObjListItem.

Definition at line 569 of file YQPkgPatternList.cc.

Here is the call graph for this function:

void YQPkgPatternListItem::resetToolTip ( )

resets the tooltip with the current available information

Definition at line 549 of file YQPkgPatternList.cc.

Here is the call graph for this function:

ZyppPattern YQPkgPatternListItem::zyppPattern ( ) const
inline

Returns the original object within the package manager backend.

Definition at line 201 of file YQPkgPatternList.h.


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