libyui-qt-pkg
2.42.13
|
Public Member Functions | |
YQPkgLangListItem (YQPkgLangList *pkgSelList, const zypp::Locale &lang) | |
virtual | ~YQPkgLangListItem () |
zypp::Locale | zyppLang () const |
virtual void | init () |
overloaded | |
int | statusCol () const |
virtual ZyppStatus | status () const |
virtual void | setStatus (ZyppStatus newStatus, bool sendSignals=true) |
virtual bool | bySelection () const |
virtual void | cycleStatus () |
virtual bool | operator< (const QTreeWidgetItem &other) 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 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 | |
virtual void | applyChanges () |
![]() | |
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 | |
YQPkgLangList * | _langList |
zypp::Locale | _zyppLang |
![]() | |
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 136 of file YQPkgLangList.h.
YQPkgLangListItem::YQPkgLangListItem | ( | YQPkgLangList * | pkgSelList, |
const zypp::Locale & | lang | ||
) |
Constructor. Creates a YQPkgLangList item that corresponds to the package manager object that 'pkg' refers to.
Definition at line 205 of file YQPkgLangList.cc.
|
virtual |
Destructor
Definition at line 215 of file YQPkgLangList.cc.
|
protectedvirtual |
Propagate status changes in this list to other lists: Have the solver transact all languages.
Reimplemented from YQPkgObjListItem.
Reimplemented from YQPkgObjListItem.
Definition at line 222 of file YQPkgLangList.cc.
|
virtual |
Returns 'true' if this selectable's status is set by a selection (rather than by the user or by the dependency solver).
Reimplemented from YQPkgObjListItem.
Definition at line 293 of file YQPkgLangList.cc.
|
virtual |
Cycle the package status to the next valid value.
Reimplemented from YQPkgObjListItem.
Definition at line 300 of file YQPkgLangList.cc.
|
virtual |
Sorting function. Redefined here (bnc#428355) as the one from parent YQPkgObjList can't be used - it refers to zyppObj's which are NULL here as zypp::Locale is not zypp::ResObject anymore
Reimplemented from YQPkgObjListItem.
Definition at line 314 of file YQPkgLangList.cc.
|
virtual |
Set the (binary RPM) package status.
If 'sendSignals' is 'true' (default), the parent list will be requested to send update signals. List operations might want to use this for optimizations to send the signals only once after all changes are done.
Reimplemented from YQPkgObjListItem.
Definition at line 255 of file YQPkgLangList.cc.
|
virtual |
override this two as we don't have a real selectable and the status depends on the language
Reimplemented from YQPkgObjListItem.
Definition at line 246 of file YQPkgLangList.cc.
|
inline |
Returns the original object within the package manager backend.
Definition at line 155 of file YQPkgLangList.h.