Salome HOME
53a1f2cbf3ff4a3e0780c4d50a6be080a8f78dae
[modules/gui.git] / src / SUITApp / SUITApp_Application.h
1 #ifndef SUITAPP_APPLICATION_H
2 #define SUITAPP_APPLICATION_H
3
4 #include <qapplication.h>
5
6 class SUIT_ExceptionHandler;
7
8 class SUITApp_Application : public QApplication
9 {
10   Q_OBJECT
11
12 public:
13   SUITApp_Application( int& argc, char** argv, SUIT_ExceptionHandler* = 0 );
14   SUITApp_Application( int& argc, char** argv, Type type, SUIT_ExceptionHandler* = 0 );
15
16   virtual bool notify( QObject* receiver, QEvent* e );
17
18         SUIT_ExceptionHandler* handler() const;
19         void                   setHandler( SUIT_ExceptionHandler* );
20
21 private:
22   SUIT_ExceptionHandler* myExceptHandler;
23 };
24
25 #endif