#include <YQPkgList.h>
Inheritance diagram for YQPkgListItem:

Public Member Functions | |
| YQPkgListItem (YQPkgList *pkgList, PMPackagePtr pmPkg) | |
| virtual | ~YQPkgListItem () |
| YQPkgList * | pkgList () |
| PMPackagePtr | pmPkg () |
| const PMPackagePtr | constPMPkg () const |
| bool | installSourceRpm () const |
| void | setInstallSourceRpm (bool installSourceRpm) |
| void | toggleSourceRpmStatus () |
| bool | hasSourceRpm () const |
| virtual int | compare (QListViewItem *other, int col, bool ascending) const |
| virtual void | updateData () |
| virtual QString | toolTip (int column) |
| int | srpmStatusCol () const |
Protected Member Functions | |
| void | setSourceRpmIcon () |
| virtual void | paintCell (QPainter *painter, const QColorGroup &colorGroup, int column, int width, int alignment) |
Protected Attributes | |
| YQPkgList * | _pkgList |
| PMPackagePtr | _pmPkg |
|
||||||||||||
|
Constructor. Creates a YQPkgList item that corresponds to the package manager object that 'pkg' refers to. |
|
|
Destructor |
|
||||||||||||||||
|
Comparison function used for sorting the list. Returns: -1 if this < other 0 if this == other +1 if this > other Reimplemented from QListViewItem Reimplemented from YQPkgObjListItem. |
|
|
Returns the original object within the package manager backend. |
|
|
Returns whether or not a source RPM is available for this package. |
|
|
Returns the source RPM package status: Should the source RPM be installed? |
|
||||||||||||||||||||||||
|
Paint method. Reimplemented from QListViewItem so different colors can be used. Reimplemented from QListViewItem. Reimplemented from QY2ListViewItem. |
|
|
Returns the parent package list. |
|
|
Returns the original object within the package manager backend. |
|
|
Set the source RPM status |
|
|
Set the suitable icon for the source RPM status. |
|
|
|
|
|
Cycle the source package status to the next valid value. |
|
|
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. |
|
|
Update this item's data completely. Triggered by QY2ListView::updateAllItemData(). Reimplemented from YQPkgObjList. Reimplemented from YQPkgObjListItem. |
|
|
|
|
|
|
1.4.4