OSB_GUI::ToGroup Class Reference

Inheritance diagram for OSB_GUI::ToGroup:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Abstract base for groups of tariff objects.

The position of a group with a list view is stable, i.e. it does not change when the sorting of the list view changes.

Definition at line 164 of file tolists.h.

Public Member Functions

Protected Member Functions


Constructor & Destructor Documentation

OSB_GUI::ToGroup::ToGroup ( QListView parent,
int  key,
const QString &  label 
)

Constructor with parent, sort key and label.

OSB_GUI::ToGroup::ToGroup ( QListViewItem parent,
int  key,
const QString &  label 
)

Constructor with parent, sort key and label.

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

Constructor with parent.


Member Function Documentation

virtual bool OSB_GUI::ToGroup::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:

Implements OSB_GUI::ToListItem.

Reimplemented in OSB_GUI::CpList, and OSB_GUI::E164List.

virtual void OSB_GUI::ToGroup::newObject (  )  [pure virtual]

Create a new tariff object.

Implemented in OSB_GUI::CpList, OSB_GUI::E164List, OSB_GUI::TzList, OSB_GUI::RsList, OSB_GUI::ScList, OSB_GUI::ScsList, OSB_GUI::TcList, OSB_GUI::TcsList, OSB_GUI::TfList, OSB_GUI::RfList, OSB_GUI::DcList, OSB_GUI::TpList, OSB_GUI::TpsList, and OSB_GUI::TsList.

virtual void OSB_GUI::ToGroup::populate (  )  [pure virtual]

Show the tariff objects.

This member is called from setOpen().

Implemented in OSB_GUI::CpList, OSB_GUI::E164List, OSB_GUI::TzList, OSB_GUI::RsList, OSB_GUI::ScList, OSB_GUI::ScsList, OSB_GUI::TcList, OSB_GUI::TcsList, OSB_GUI::TfList, OSB_GUI::RfList, OSB_GUI::DcList, OSB_GUI::TpList, OSB_GUI::TpsList, and OSB_GUI::TsList.

virtual void OSB_GUI::ToGroup::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::ToGroup::setupMenu ( ToMenu toMenu  )  [virtual]

Configure the tariff object menu.

Parameters:
toMenu Tariff object menu to configure.
Removes all entries from toMenu and adds ToMenu::cmdNewObject.

Implements OSB_GUI::ToListItem.

Reimplemented in OSB_GUI::CpList, and OSB_GUI::E164List.


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