QtApplicationHandler.h
Go to the documentation of this file.
1 // ****************************************************************************
2 // Filename: QtApplicationHandler.h
3 // Author: Florian Hecht
4 // Date: 2008
5 // ****************************************************************************
6 
7 
8 #ifndef _QT_APPLICATION_HANDLER_H_
9 #define _QT_APPLICATION_HANDLER_H_
10 
11 
12 // ****************************************************************************
13 // Includes
14 // ****************************************************************************
15 
16 #include <qobject.h>
18 
19 
20 // ****************************************************************************
21 // Forward declarations
22 // ****************************************************************************
23 
24 class QApplication;
25 
26 
27 
28 // ****************************************************************************
29 // CQtApplicationHandler
30 // ****************************************************************************
31 
33 {
34  Q_OBJECT
35 
36 public:
37  CQtApplicationHandler(int argc = 0, char **argv = 0);
39 
41  void Reset();
42 
44  {
46  }
47 
48 public slots:
49  void Exit() {m_bExit = true; }
50 
51 private:
52  bool m_bExit;
53 
55  QApplication *m_pApplication;
56 };
57 
58 
59 
60 #endif /* _QT_APPLICATION_HANDLER_H_ */
static CQtApplicationHandler * m_pQtApplicationHandler
static CQtApplicationHandler * GetApplicationHandler()
CQtApplicationHandler(int argc=0, char **argv=0)


asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Mon Dec 2 2019 03:47:28