Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

YQPkgYouPatchListItem Class Reference

#include <YQPkgYouPatchList.h>

Inheritance diagram for YQPkgYouPatchListItem:

YQPkgObjListItem QY2ListViewItem List of all members.

Public Member Functions

 YQPkgYouPatchListItem (YQPkgYouPatchList *youPatchList, PMYouPatchPtr youPatch)
virtual ~YQPkgYouPatchListItem ()
PMYouPatchPtr pmYouPatch ()
const PMYouPatchPtr constPMYouPatch () const
virtual void setStatus (PMSelectable::UI_Status newStatus)
virtual void cycleStatus ()
virtual QString toolTip (int column)
virtual int compare (QListViewItem *other, int col, bool ascending) const
int statusCol () const
int summaryCol () const
int kindCol () const

Protected Attributes

YQPkgYouPatchList_youPatchList
PMYouPatchPtr _pmYouPatch

Constructor & Destructor Documentation

YQPkgYouPatchListItem::YQPkgYouPatchListItem YQPkgYouPatchList youPatchList,
PMYouPatchPtr  youPatch
 

Constructor. Creates a YQPkgYouPatchList item that corresponds to the package manager object that 'pkg' refers to.

YQPkgYouPatchListItem::~YQPkgYouPatchListItem  )  [virtual]
 

Destructor


Member Function Documentation

int YQPkgYouPatchListItem::compare QListViewItem *  other,
int  col,
bool  ascending
const [virtual]
 

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.

const PMYouPatchPtr YQPkgYouPatchListItem::constPMYouPatch  )  const [inline]
 

Returns the original object within the package manager backend.

void YQPkgYouPatchListItem::cycleStatus  )  [virtual]
 

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

Reimplemented from YQPkgObjListItem.

int YQPkgYouPatchListItem::kindCol  )  const [inline]
 

PMYouPatchPtr YQPkgYouPatchListItem::pmYouPatch  )  [inline]
 

Returns the original object within the package manager backend.

void YQPkgYouPatchListItem::setStatus PMSelectable::UI_Status  newStatus  )  [virtual]
 

Set the patch status.

Reimplemented from YQPkgObjListItem: Emit updatePackages signals after changing status.

Reimplemented from YQPkgObjListItem.

int YQPkgYouPatchListItem::statusCol  )  const [inline]
 

Reimplemented from YQPkgObjListItem.

int YQPkgYouPatchListItem::summaryCol  )  const [inline]
 

Reimplemented from YQPkgObjListItem.

QString YQPkgYouPatchListItem::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.


Member Data Documentation

PMYouPatchPtr YQPkgYouPatchListItem::_pmYouPatch [protected]
 

YQPkgYouPatchList* YQPkgYouPatchListItem::_youPatchList [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Sep 14 10:59:03 2005 for yast2-qt by  doxygen 1.4.4