Definition at line 353 of file tolists.h.
OSB_GUI::ToCfgItem::ToCfgItem | ( | QListViewItem * | parent | ) | [explicit, protected] |
Constructor with parent.
Derived classes should call set() in their constructor.
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] |
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] |
OSB_LIB::CfgStatus OSB_GUI::ToCfgItem::status | ( | ) | const [protected] |
Configuration status of the tariff object.