OSB_GUI::AdminCtrl Class Reference

Inheritance diagram for OSB_GUI::AdminCtrl:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Generator of an administration widget.

This class is responsible to create an administration widget. The administration console adds the contollers to its list of available windows.
Every instance of the class has its own type. This is an arbitrary design decision that does not require coordination between the various kinds of administration windows.

Note:
A concrete implementation must have QListBoxItem as direct or indirect base.
Because the concrete Qt listbox items do not use virtual inheritance it is useless to derive AdminCtrl from QListBoxItem. Instead the member item() provides access to it.

Definition at line 187 of file adminwidget.h.

Public Member Functions

Private Member Functions

Private Attributes

Static Private Attributes


Constructor & Destructor Documentation

OSB_GUI::AdminCtrl::AdminCtrl (  ) 

Constructor: sets the type.

virtual OSB_GUI::AdminCtrl::~AdminCtrl (  )  [virtual]

Empty virtual destructor.

OSB_GUI::AdminCtrl::AdminCtrl ( const AdminCtrl  )  [private]

Prevent copying: not implemented.


Member Function Documentation

virtual AdminWidget* OSB_GUI::AdminCtrl::creWidget ( QWorkspace *  parent,
Qt::WFlags  flags 
) [pure virtual]

Create the administration widget.

Parameters:
parent The parent of the administration widget.
flags Window flags that should be used when constructing the widget (see note below).
Returns:
The administration widget, parent takes its ownership.
Note:
The parent of the widget is a workspace. The flags used to create the widget should contain WDestructiveClose.

Implemented in OSB_GUI::Asn1BrowserCtrl, OSB_GUI::InvMgmtCtrl, OSB_GUI::PrivAdminCtrl, OSB_GUI::RatingCfgCtrl, OSB_GUI::RecCountsCtrl, and OSB_GUI::StreamAdminCtrl.

virtual QListBoxItem* OSB_GUI::AdminCtrl::item (  )  [pure virtual]

Get the listbox item.

The returned pointer must not be 0.

See class description for the motivation of this member.

Implemented in OSB_GUI::Asn1BrowserCtrl, OSB_GUI::InvMgmtCtrl, OSB_GUI::PrivAdminCtrl, OSB_GUI::RatingCfgCtrl, OSB_GUI::RecCountsCtrl, and OSB_GUI::StreamAdminCtrl.

virtual void OSB_GUI::AdminCtrl::languageChange (  )  [pure virtual]

Change the language.

Implemented in OSB_GUI::Asn1BrowserCtrl, OSB_GUI::InvMgmtCtrl, OSB_GUI::PrivAdminCtrl, OSB_GUI::RatingCfgCtrl, OSB_GUI::RecCountsCtrl, and OSB_GUI::StreamAdminCtrl.

AdminCtrl& OSB_GUI::AdminCtrl::operator= ( const AdminCtrl  )  [private]

Prevent assignment: not implemented.

AdminType OSB_GUI::AdminCtrl::type (  )  const

Get the type of the generated administration widget.


Member Data Documentation

long OSB_GUI::AdminCtrl::nextType_ [static, private]

The next type identifier that will be used if an object of the class is created.

Definition at line 192 of file adminwidget.h.

AdminType OSB_GUI::AdminCtrl::type_ [private]

The type of the generated administration widget.

Definition at line 242 of file adminwidget.h.


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