OSB_GUI::TsItem Class Reference

Inheritance diagram for OSB_GUI::TsItem:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Tariff system list item.

Definition at line 59 of file tsitems.h.

Public Member Functions

Private Types

Private Member Functions

Private Attributes


Member Typedef Documentation

typedef OSB_LIB::Id<OSB_LIB::TariffSystem> OSB_GUI::TsItem::ObjId [private]

Definition at line 60 of file tsitems.h.


Constructor & Destructor Documentation

OSB_GUI::TsItem::TsItem ( QListViewItem parent,
const OSB_LIB::TariffSystem ts 
)


Member Function Documentation

void OSB_GUI::TsItem::add ( const OSB_LIB::TsVersion tsVs  )  [private]

bool OSB_GUI::TsItem::commandEvent ( ToMenuCmd  cmd  )  [private, 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::ToGroupItem.

void OSB_GUI::TsItem::copyVersion (  )  [private]

void OSB_GUI::TsItem::delObject (  )  [private, virtual]

Delete the tariff object.

Implements OSB_GUI::ToItem.

void OSB_GUI::TsItem::editObject (  )  [private, virtual]

Edit the tariff object.

Implements OSB_GUI::ToItem.

void OSB_GUI::TsItem::newVersion (  )  [private, virtual]

Create a new version of the tariff object.

Implements OSB_GUI::ToGroupItem.

long OSB_GUI::TsItem::objId (  )  const [private, virtual]

Return the id of the tariff object as long.

Implements OSB_GUI::ToItem.

void OSB_GUI::TsItem::populate (  )  [private, virtual]

Show the tariff objects.

This member is called from setOpen().

Implements OSB_GUI::ToGroupItem.

bool OSB_GUI::TsItem::setupMenu ( ToMenu toMenu  )  [private, 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::ToGroupItem.

void OSB_GUI::TsItem::showObject (  )  const [private, virtual]

Show the tariff object.

Implements OSB_GUI::ToItem.


Member Data Documentation

ObjId OSB_GUI::TsItem::objId_ [private]

Definition at line 81 of file tsitems.h.


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