Version: 6.3.1
Public Member Functions | Private Attributes

SUITApp_Application Class Reference

#include <SUITApp_Application.h>

Inheritance diagram for SUITApp_Application:
Inheritance graph

Public Member Functions

 SUITApp_Application (int &argc, char **argv, SUIT_ExceptionHandler *=0)
 SUITApp_Application (int &argc, char **argv, Type type, SUIT_ExceptionHandler *=0)
virtual bool notify (QObject *receiver, QEvent *e)
SUIT_ExceptionHandlerhandler () const
void setHandler (SUIT_ExceptionHandler *)

Private Attributes

SUIT_ExceptionHandlermyExceptHandler

Constructor & Destructor Documentation

SUITApp_Application::SUITApp_Application ( int &  argc,
char **  argv,
SUIT_ExceptionHandler hand = 0 
)

Constructor

References Qtx.dir().

SUITApp_Application::SUITApp_Application ( int &  argc,
char **  argv,
Type  type,
SUIT_ExceptionHandler hand = 0 
)

Constructor


Member Function Documentation

bool SUITApp_Application::notify ( QObject receiver,
QEvent e 
) [virtual]

Sends event to receiver

Returns:
the value that is returned from the receiver's event handler
Parameters:
e- event
receiver- receiver

References SUIT_ExceptionHandler.handle(), and myExceptHandler.

SUIT_ExceptionHandler * SUITApp_Application::handler ( ) const
Returns:
exception handler

References myExceptHandler.

void SUITApp_Application::setHandler ( SUIT_ExceptionHandler hand)

Changes exception handler

Parameters:
hand- new handler

References myExceptHandler.


Field Documentation

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS