OSB_GUI::CpItem Class Reference

Inheritance diagram for OSB_GUI::CpItem:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

List view item for a connection point.

Definition at line 109 of file distitems.h.

Public Member Functions

Private Types

Private Member Functions

Processing of tariff object menu commands:

Private Attributes

Static Private Attributes


Member Typedef Documentation

typedef OSB_LIB::Id<OSB_LIB::ConnectionPt> OSB_GUI::CpItem::CpId [private]

Short-hand for a CP object id.

Definition at line 112 of file distitems.h.


Constructor & Destructor Documentation

OSB_GUI::CpItem::CpItem ( QListViewItem parent,
const OSB_LIB::ConnectionPt cp,
bool  hasChildren 
)

Constructor with parent and connection point.

Parameters:
parent Parent listview item.
cp Connection point of the item.
hasChildren Flag if cp has children or not.


Member Function Documentation

CpItem* OSB_GUI::CpItem::add ( const OSB_LIB::ConnectionPt cp,
bool  hasChildren 
) [private]

Add a connection point.

Parameters:
cp Connection point to add.
hasChildren Flag if cp has children or not.
Returns:
The newly created listview item. It is 0 if `this' item is currently not open.

void OSB_GUI::CpItem::addChild (  )  [private]

Add a child connection point.

void OSB_GUI::CpItem::changeStatus (  )  [private, virtual]

Change the configuration status.

Implements OSB_GUI::ToCfgTsItem.

bool OSB_GUI::CpItem::commandEvent ( ToMenuCmd  cmd  )  [private, virtual]

Execute command from tariff object menu.

Reimplemented from OSB_GUI::ToCfgTsItem.

CpId OSB_GUI::CpItem::cpId (  )  const

Object id of the connection point.

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

Delete the connection point.

Implements OSB_GUI::ToCfgTsItem.

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

Edit the connection point.

Implements OSB_GUI::ToCfgTsItem.

void OSB_GUI::CpItem::gotoCp (  )  [private]

Goto a connection point.

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

Convert CP object id to long.

Implements OSB_GUI::ToCfgTsItem.

void OSB_GUI::CpItem::selectCp ( const OSB_LIB::ConnectionPt cp  )  [private]

Select a connection point.

void OSB_GUI::CpItem::setOpen ( bool  open  )  [private]

Show or hide children connection points.

bool OSB_GUI::CpItem::setupMenu ( ToMenu toMenu  )  [private, virtual]

Configure the tariff object menu.

Reimplemented from OSB_GUI::ToCfgTsItem.

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

Show details of the connection point.

Implements OSB_GUI::ToCfgTsItem.


Member Data Documentation

const int OSB_GUI::CpItem::cmdAddChild_ [static, private]

Add child command id.

Definition at line 114 of file distitems.h.

CpId OSB_GUI::CpItem::objId_ [private]

The object id of the connection point.

Definition at line 173 of file distitems.h.


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