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

NCPkgTableTag Class Reference

#include <NCPkgTable.h>

Inheritance diagram for NCPkgTableTag:

NCTableCol List of all members.

Public Member Functions

 NCPkgTableTag (PMObjectPtr pkgPtr, PMSelectable::UI_Status stat=PMSelectable::S_NoInst)
virtual ~NCPkgTableTag ()
virtual void DrawAt (NCursesWindow &w, const wrect at, NCTableStyle &tableStyle, NCTableLine::STATE linestate, unsigned colidx) const
void setStatus (PMSelectable::UI_Status stat)
PMSelectable::UI_Status getStatus () const
PMObjectPtr getDataPointer () const

Private Member Functions

string statusToStr (PMSelectable::UI_Status stat) const

Private Attributes

PMSelectable::UI_Status status
PMObjectPtr dataPointer

Detailed Description

This class is used for the first column of the package table which contains the status information of the package (installed, not installed, to be deleted and so on).


Constructor & Destructor Documentation

NCPkgTableTag::NCPkgTableTag PMObjectPtr  pkgPtr,
PMSelectable::UI_Status  stat = PMSelectable::S_NoInst
 

virtual NCPkgTableTag::~NCPkgTableTag  )  [inline, virtual]
 


Member Function Documentation

void NCPkgTableTag::DrawAt NCursesWindow w,
const wrect  at,
NCTableStyle tableStyle,
NCTableLine::STATE  linestate,
unsigned  colidx
const [virtual]
 

Reimplemented from NCTableCol.

PMObjectPtr NCPkgTableTag::getDataPointer  )  const [inline]
 

PMSelectable::UI_Status NCPkgTableTag::getStatus  )  const [inline]
 

void NCPkgTableTag::setStatus PMSelectable::UI_Status  stat  )  [inline]
 

string NCPkgTableTag::statusToStr PMSelectable::UI_Status  stat  )  const [private]
 


Member Data Documentation

PMObjectPtr NCPkgTableTag::dataPointer [private]
 

PMSelectable::UI_Status NCPkgTableTag::status [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 12 04:52:33 2008 for yast2-ncurses by  doxygen 1.3.9.1