OSB_GUI::ToCfgItem Class Reference

Inheritance diagram for OSB_GUI::ToCfgItem:

Inheritance graph
[legend]
Collaboration diagram for OSB_GUI::ToCfgItem:

Collaboration graph
[legend]
List of all members.

Detailed Description

Listview item for tariff objects with status.

Definition at line 353 of file tolists.h.

Protected Member Functions

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

OSB_GUI::ToCfgItem::ToCfgItem ( QListViewItem parent  )  [explicit, protected]

Constructor with parent.

Derived classes should call set() in their constructor.


Member Function Documentation

virtual void OSB_GUI::ToCfgItem::changeStatus (  )  [protected, pure virtual]

Change the configuration status.

Implemented in OSB_GUI::RsItem, OSB_GUI::RfItem, and OSB_GUI::DcItem.

virtual bool OSB_GUI::ToCfgItem::commandEvent ( ToMenuCmd  cmd  )  [protected, virtual]

Evaluate and execute command from TO menu.

Reimplemented from OSB_GUI::ToItem.

int OSB_GUI::ToCfgItem::compare ( QListViewItem i,
int  col,
bool  asc 
) const [private, virtual]

Compare with other listview items.

Compares by objId() if the other item is also a ToCfgItem, otherwise calls QListViewItem::compare().

Reimplemented from OSB_GUI::ToItem.

const QPixmap* OSB_GUI::ToCfgItem::pixmap ( int  col  )  const [private]

Get pixmap for the configuration status.

Returns 0 if col is not the column for the configuration status.

void OSB_GUI::ToCfgItem::set ( const std::string &  name,
const OSB_LIB::ToCfgBase to 
) [protected]

Set the tariff object and its name.

virtual bool OSB_GUI::ToCfgItem::setupMenu ( ToMenu toMenu  )  [protected, virtual]

Setup the tariff object menu.

Reimplemented from OSB_GUI::ToItem.

OSB_LIB::CfgStatus OSB_GUI::ToCfgItem::status (  )  const [protected]

Configuration status of the tariff object.


Member Data Documentation

OSB_LIB::CfgStatus OSB_GUI::ToCfgItem::status_ [private]

Configuration status of the tariff object.

Definition at line 394 of file tolists.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:21:57 2006 for OSB Library by  doxygen 1.4.7