CMS 3D CMS Logo

IgQtAppWindowService Class Reference

#include <Iguana/Studio/interface/IgQtAppWindowService.h>

Inheritance diagram for IgQtAppWindowService:

IgStateElement

List of all members.

Public Member Functions

 IgQtAppWindowService (IgState *state, QWidget *mainWindow)
virtual QWidget * mainWindow (void)
 ~IgQtAppWindowService (void)

Private Member Functions

 IG_DECLARE_STATE_ELEMENT (IgQtAppWindowService)
 IgQtAppWindowService (const IgQtAppWindowService &)
IgQtAppWindowServiceoperator= (const IgQtAppWindowService &)

Private Attributes

QWidget * m_mainWindow
IgStatem_state


Detailed Description

Definition at line 19 of file IgQtAppWindowService.h.


Constructor & Destructor Documentation

IgQtAppWindowService::IgQtAppWindowService ( IgState state,
QWidget *  mainWindow 
)

Definition at line 19 of file IgQtAppWindowService.cc.

References ASSERT, and IgState::put().

00020     : m_state (state),
00021       m_mainWindow (mainWindow)
00022 {
00023     ASSERT (state);
00024     ASSERT (mainWindow);
00025     state->put (s_key, this);
00026 }

IgQtAppWindowService::~IgQtAppWindowService ( void   ) 

Definition at line 28 of file IgQtAppWindowService.cc.

References ASSERT, IgState::detach(), m_mainWindow, and m_state.

00029 {
00030     ASSERT (m_state);
00031     ASSERT (m_mainWindow);
00032     m_state->detach (s_key);
00033 }

IgQtAppWindowService::IgQtAppWindowService ( const IgQtAppWindowService  )  [private]


Member Function Documentation

IgQtAppWindowService::IG_DECLARE_STATE_ELEMENT ( IgQtAppWindowService   )  [private]

QWidget * IgQtAppWindowService::mainWindow ( void   )  [virtual]

Definition at line 36 of file IgQtAppWindowService.cc.

References m_mainWindow.

00037 { return m_mainWindow; }

IgQtAppWindowService& IgQtAppWindowService::operator= ( const IgQtAppWindowService  )  [private]


Member Data Documentation

QWidget* IgQtAppWindowService::m_mainWindow [private]

Definition at line 30 of file IgQtAppWindowService.h.

Referenced by mainWindow(), and ~IgQtAppWindowService().

IgState* IgQtAppWindowService::m_state [private]

Definition at line 29 of file IgQtAppWindowService.h.

Referenced by ~IgQtAppWindowService().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:25:26 2009 for CMSSW by  doxygen 1.5.4