Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
x
y
z
+
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
x
y
z
Variables
Enumerations
Enumerator
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
+
Enumerator
e
t
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
p
q
r
s
t
u
v
w
y
Variables
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
+
Enumerator
e
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
IVT
src
gui
Qt
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>
17
#include "
Interfaces/ApplicationHandlerInterface.h
"
18
19
20
// ****************************************************************************
21
// Forward declarations
22
// ****************************************************************************
23
24
class
QApplication;
25
26
27
28
// ****************************************************************************
29
// CQtApplicationHandler
30
// ****************************************************************************
31
32
class
CQtApplicationHandler
:
public
QObject,
public
CApplicationHandlerInterface
33
{
34
Q_OBJECT
35
36
public
:
37
CQtApplicationHandler
(
int
argc = 0,
char
**argv = 0);
38
~CQtApplicationHandler
();
39
40
bool
ProcessEventsAndGetExit
();
41
void
Reset
();
42
43
static
CQtApplicationHandler
*
GetApplicationHandler
()
44
{
45
return
m_pQtApplicationHandler
;
46
}
47
48
public
slots:
49
void
Exit
() {
m_bExit
=
true
; }
50
51
private
:
52
bool
m_bExit
;
53
54
static
CQtApplicationHandler
*
m_pQtApplicationHandler
;
55
QApplication *
m_pApplication
;
56
};
57
58
59
60
#endif
/* _QT_APPLICATION_HANDLER_H_ */
CQtApplicationHandler::m_pQtApplicationHandler
static CQtApplicationHandler * m_pQtApplicationHandler
Definition:
QtApplicationHandler.h:54
CQtApplicationHandler::GetApplicationHandler
static CQtApplicationHandler * GetApplicationHandler()
Definition:
QtApplicationHandler.h:43
CQtApplicationHandler::~CQtApplicationHandler
~CQtApplicationHandler()
Definition:
QtApplicationHandler.cpp:44
CQtApplicationHandler::m_bExit
bool m_bExit
Definition:
QtApplicationHandler.h:52
CQtApplicationHandler::m_pApplication
QApplication * m_pApplication
Definition:
QtApplicationHandler.h:55
CApplicationHandlerInterface
Definition:
ApplicationHandlerInterface.h:51
CQtApplicationHandler::Exit
void Exit()
Definition:
QtApplicationHandler.h:49
CQtApplicationHandler::CQtApplicationHandler
CQtApplicationHandler(int argc=0, char **argv=0)
Definition:
QtApplicationHandler.cpp:18
CQtApplicationHandler
Definition:
QtApplicationHandler.h:32
ApplicationHandlerInterface.h
CQtApplicationHandler::ProcessEventsAndGetExit
bool ProcessEventsAndGetExit()
Definition:
QtApplicationHandler.cpp:52
CQtApplicationHandler::Reset
void Reset()
Definition:
QtApplicationHandler.cpp:69
asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Mon Feb 28 2022 21:44:00