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

Public Member Functions

 YQPkgPatchListItem (YQPkgPatchList *patchList, ZyppSel selectable, ZyppPatch zyppPatch)
 YQPkgPatchListItem (YQPkgPatchList *patchList, YQPkgPatchCategoryItem *parentCategory, ZyppSel selectable, ZyppPatch zyppPatch)
virtual ~YQPkgPatchListItem ()
ZyppPatch zyppPatch () const
virtual void cycleStatus ()
virtual QString toolTip (int column)
virtual bool operator< (const QTreeWidgetItem &other) const
int statusCol () const
int summaryCol () const
int categoryCol () const
YQPkgPatchCategory patchCategory () 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 ()
bool candidateIsNewer () const
bool installedIsNewer () const
bool isSatisfied () const
bool isBroken () const
void showNotifyTexts (ZyppStatus status)
bool showLicenseAgreement ()
int versionPoints () const
virtual void updateData ()
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

YQPkgPatchList_patchList
ZyppPatch _zyppPatch
YQPkgPatchCategory _patchCategory
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

◆ YQPkgPatchListItem() [1/2]

YQPkgPatchListItem::YQPkgPatchListItem ( YQPkgPatchList * patchList,
ZyppSel selectable,
ZyppPatch zyppPatch )

Constructor. Creates a YQPkgPatchList item that corresponds to zyppPatch.

◆ YQPkgPatchListItem() [2/2]

YQPkgPatchListItem::YQPkgPatchListItem ( YQPkgPatchList * patchList,
YQPkgPatchCategoryItem * parentCategory,
ZyppSel selectable,
ZyppPatch zyppPatch )

Constructor. Creates a YQPkgPatchList item that corresponds to zyppPatch.

◆ ~YQPkgPatchListItem()

YQPkgPatchListItem::~YQPkgPatchListItem ( )
virtual

Destructor

Member Function Documentation

◆ applyChanges()

void YQPkgPatchListItem::applyChanges ( )
protectedvirtual

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

Reimplemented from YQPkgObjListItem.

Reimplemented from YQPkgObjListItem.

◆ cycleStatus()

void YQPkgPatchListItem::cycleStatus ( )
virtual

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

Reimplemented from YQPkgObjListItem.

◆ operator<()

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

sorting function

Reimplemented from YQPkgObjListItem.

◆ patchCategory()

YQPkgPatchCategory YQPkgPatchListItem::patchCategory ( ) const
inline

Returns the category of this patch (security, recommended, ...).

◆ toolTip()

QString YQPkgPatchListItem::toolTip ( int column)
virtual

Returns a tool tip text for a specific column of this item. 'column' is -1 if the mouse pointer is in the tree indentation area.

Reimplemented from YQPkgObjList.

Reimplemented from YQPkgObjListItem.

◆ zyppPatch()

ZyppPatch YQPkgPatchListItem::zyppPatch ( ) const
inline

Returns the original zyppPatch object.


The documentation for this class was generated from the following files:
  • /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-qt-pkg/src/YQPkgPatchList.h
  • /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-qt-pkg/src/YQPkgPatchList.cc