Definition at line 400 of file tolists.h.
OSB_GUI::ToCfgTsItem::ToCfgTsItem | ( | QListViewItem * | parent | ) | [explicit, protected] |
Constructor with parent.
Derived classes should call set() in their constructor.
virtual void OSB_GUI::ToCfgTsItem::changeStatus | ( | ) | [protected, pure virtual] |
Change the configuration status.
Implemented in OSB_GUI::CpItem, OSB_GUI::E164Item, OSB_GUI::ScsVsItem, OSB_GUI::TcsVsItem, OSB_GUI::TfVsItem, OSB_GUI::TpsVsItem, and OSB_GUI::TsVsItem.
virtual bool OSB_GUI::ToCfgTsItem::commandEvent | ( | ToMenuCmd | cmd | ) | [protected, virtual] |
Execute command from tariff object menu.
cmd | Command to execute. |
Implements OSB_GUI::ToListItem.
Reimplemented in OSB_GUI::CpItem.
int OSB_GUI::ToCfgTsItem::compare | ( | QListViewItem * | i, | |
int | col, | |||
bool | asc | |||
) | const [private] |
Compare with other listview items.
Compares by objId() or releaseTs() if the other item is also a ToCfgTsItem, otherwise calls QListViewItem::compare().
virtual void OSB_GUI::ToCfgTsItem::delObject | ( | ) | [protected, pure virtual] |
Delete the tariff version object.
Implemented in OSB_GUI::CpItem, OSB_GUI::E164Item, OSB_GUI::ScsVsItem, OSB_GUI::TcsVsItem, OSB_GUI::TfVsItem, OSB_GUI::TpsVsItem, and OSB_GUI::TsVsItem.
virtual void OSB_GUI::ToCfgTsItem::editObject | ( | ) | [protected, pure virtual] |
Edit the tariff version object.
Implemented in OSB_GUI::CpItem, OSB_GUI::E164Item, OSB_GUI::ScsVsItem, OSB_GUI::TcsVsItem, OSB_GUI::TfVsItem, OSB_GUI::TpsVsItem, and OSB_GUI::TsVsItem.
virtual long OSB_GUI::ToCfgTsItem::objId | ( | ) | const [protected, pure virtual] |
Get numeric object identification.
This is either the object id or the version number.
Implemented in OSB_GUI::CpItem, OSB_GUI::E164Item, and OSB_GUI::ToVsItem.
const QPixmap* OSB_GUI::ToCfgTsItem::pixmap | ( | int | col | ) | const [private] |
Get pixmap for the configuration status.
Returns 0 if col is not the column for the configuration status.
QDateTime OSB_GUI::ToCfgTsItem::releaseTs | ( | ) | const [protected] |
Get the release date.
void OSB_GUI::ToCfgTsItem::set | ( | const std::string & | name, | |
const OSB_LIB::ToCfgTsBase & | to | |||
) | [protected] |
Set or update the data.
name | Name of the tariff object or version. | |
to | The tariff object with (changed) data. |
virtual bool OSB_GUI::ToCfgTsItem::setupMenu | ( | ToMenu & | toMenu | ) | [protected, virtual] |
Configure the tariff object menu.
toMenu | Tariff object menu to configure. |
Implements OSB_GUI::ToListItem.
Reimplemented in OSB_GUI::CpItem.
virtual void OSB_GUI::ToCfgTsItem::showObject | ( | ) | const [protected, pure virtual] |
Show the tariff version object.
Implemented in OSB_GUI::CpItem, OSB_GUI::E164Item, OSB_GUI::ScsVsItem, OSB_GUI::TcsVsItem, OSB_GUI::TfVsItem, OSB_GUI::TpsVsItem, and OSB_GUI::TsVsItem.
OSB_LIB::CfgStatus OSB_GUI::ToCfgTsItem::status | ( | ) | const [protected] |
Get configuration status.
QDateTime OSB_GUI::ToCfgTsItem::releaseTs_ [private] |