Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
QmitkSingleApplication.h
Go to the documentation of this file.
1
/*===================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#ifndef QMITKSINGLEAPPLICATION_H
18
#define QMITKSINGLEAPPLICATION_H
19
20
#include <
MitkAppUtilExports.h
>
21
22
#include <qtsingleapplication.h>
23
24
#include "
QmitkSafeNotify.h
"
25
26
class
MITKAPPUTIL_EXPORT
QmitkSingleApplication
:
public
QtSingleApplication
27
{
28
public
:
29
QmitkSingleApplication
(
int
&argc,
char
**argv,
bool
safeMode =
true
);
30
38
bool
notify(QObject *receiver, QEvent *event)
override
;
39
40
void
setSafeMode(
bool
safeMode);
41
42
bool
getSafeMode()
const
;
43
44
private
:
45
bool
m_SafeMode;
46
};
47
48
#endif // QMITKSINGLEAPPLICATION_H
MITKAPPUTIL_EXPORT
#define MITKAPPUTIL_EXPORT
Definition:
MitkAppUtilExports.h:15
MitkAppUtilExports.h
QmitkSingleApplication
Definition:
QmitkSingleApplication.h:26
QmitkSafeNotify.h
git
MITK
Modules
AppUtil
include
QmitkSingleApplication.h
Generated on Fri Feb 3 2017 20:52:14 for Medical Imaging Interaction Toolkit by
1.8.9.1