libyui-qt-pkg
2.42.5
|
Public Member Functions | |
YQPkgListItem (YQPkgList *pkgList, ZyppSel selectable, ZyppPkg zyppPkg) | |
virtual | ~YQPkgListItem () |
YQPkgList * | pkgList () |
ZyppPkg | zyppPkg () const |
bool | installSourceRpm () const |
void | setInstallSourceRpm (bool installSourceRpm) |
void | toggleSourceRpmStatus () |
bool | hasSourceRpm () const |
virtual bool | operator< (const QTreeWidgetItem &other) const |
virtual void | updateData () |
virtual QString | toolTip (int column) |
bool | isDimmed () const |
void | setDimmed (bool d=true) |
int | srpmStatusCol () const |
![]() | |
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 () |
int | versionPoints () const |
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 | setSourceRpmIcon () |
![]() | |
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 | |
YQPkgList * | _pkgList |
ZyppPkg | _zyppPkg |
bool | _dimmed |
![]() | |
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 bool | showLicenseAgreement (ZyppSel sel) |
Definition at line 278 of file YQPkgList.h.
YQPkgListItem::YQPkgListItem | ( | YQPkgList * | pkgList, |
ZyppSel | selectable, | ||
ZyppPkg | zyppPkg | ||
) |
Constructor. Creates a YQPkgList item that corresponds to the package manager object that 'pkg' refers to.
Definition at line 755 of file YQPkgList.cc.
|
virtual |
Destructor
Definition at line 772 of file YQPkgList.cc.
bool YQPkgListItem::hasSourceRpm | ( | ) | const |
Returns whether or not a source RPM is available for this package.
Definition at line 787 of file YQPkgList.cc.
bool YQPkgListItem::installSourceRpm | ( | ) | const |
Returns the source RPM package status: Should the source RPM be installed?
Definition at line 801 of file YQPkgList.cc.
|
inline |
Returns true if this package is to be displayed dimmed, i.e. with grey text foreground rather than the normal black.
Definition at line 351 of file YQPkgList.h.
|
virtual |
sorting function
Reimplemented from YQPkgObjListItem.
Definition at line 946 of file YQPkgList.cc.
|
inline |
Returns the parent package list.
Definition at line 298 of file YQPkgList.h.
|
inline |
Set the 'dimmed' flag.
Definition at line 356 of file YQPkgList.h.
void YQPkgListItem::setInstallSourceRpm | ( | bool | installSourceRpm | ) |
Set the source RPM status
Definition at line 846 of file YQPkgList.cc.
|
protected |
Set the suitable icon for the source RPM status.
Definition at line 818 of file YQPkgList.cc.
void YQPkgListItem::toggleSourceRpmStatus | ( | ) |
Cycle the source package status to the next valid value.
Definition at line 861 of file YQPkgList.cc.
|
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.
Definition at line 868 of file YQPkgList.cc.
|
virtual |
Update this item's data completely. Triggered by QY2ListView::updateAllItemData().
Reimplemented from YQPkgObjList.
Reimplemented from YQPkgObjListItem.
Definition at line 779 of file YQPkgList.cc.
|
inline |
Returns the original object within the package manager backend.
Definition at line 303 of file YQPkgList.h.