OSB_GUI::ToGroupItem Class Reference

Inheritance diagram for OSB_GUI::ToGroupItem:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

List view item for tariff objects with versions.

Definition at line 287 of file tolists.h.

Public Member Functions

Protected Member Functions


Constructor & Destructor Documentation

OSB_GUI::ToGroupItem::ToGroupItem ( QListViewItem parent  )  [explicit]

Constructor with parent.


Member Function Documentation

virtual bool OSB_GUI::ToGroupItem::commandEvent ( ToMenuCmd  cmd  )  [virtual]

Execute command from tariff object menu.

Parameters:
cmd Command to execute.
Returns:
true if the command can be executed, else false.
The default implementation handles the following commands:

Reimplemented from OSB_GUI::ToItem.

Reimplemented in OSB_GUI::TcsItem, and OSB_GUI::TsItem.

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

Compare with other listview items.

Returns:
ToItem::compare().

Reimplemented from OSB_GUI::GroupItem.

virtual void OSB_GUI::ToGroupItem::newVersion (  )  [pure virtual]

Create a new version of the tariff object.

Implemented in OSB_GUI::ScsItem, OSB_GUI::TcsItem, OSB_GUI::TfItem, OSB_GUI::TpsItem, and OSB_GUI::TsItem.

virtual void OSB_GUI::ToGroupItem::populate (  )  [protected, pure virtual]

Show the tariff objects.

This member is called from setOpen().

Implemented in OSB_GUI::ScsItem, OSB_GUI::TcsItem, OSB_GUI::TfItem, OSB_GUI::TpsItem, and OSB_GUI::TsItem.

virtual void OSB_GUI::ToGroupItem::setOpen ( bool  open  )  [protected, virtual]

Open or close the item.

Deletes all children of the item and calls populate() if open is true.

virtual bool OSB_GUI::ToGroupItem::setupMenu ( ToMenu toMenu  )  [virtual]

Configure the tariff object menu.

Parameters:
toMenu Tariff object menu to configure.
Removes all entries from toMenu and adds to following commands:

Reimplemented from OSB_GUI::ToItem.

Reimplemented in OSB_GUI::TcsItem, and OSB_GUI::TsItem.


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