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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
QmitkSafeApplication.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 QMITKSAFEAPPLICATION_H
18
#define QMITKSAFEAPPLICATION_H
19
20
#include <
MitkAppUtilExports.h
>
21
22
#include <QApplication>
23
#include <QMessageBox>
24
25
class
MITKAPPUTIL_EXPORT
QmitkSafeApplication
:
public
QApplication
26
{
27
public
:
28
QmitkSafeApplication
(
int
&argc,
char
**argv);
29
37
bool
notify(QObject *receiver, QEvent *event)
override
;
38
39
void
setSafeMode(
bool
safeMode);
40
41
bool
getSafeMode()
const
;
42
43
private
:
44
bool
m_SafeMode;
45
};
46
47
#endif // QMITKSAFEAPPLICATION_H
QmitkSafeApplication
Definition:
QmitkSafeApplication.h:25
MITKAPPUTIL_EXPORT
#define MITKAPPUTIL_EXPORT
Definition:
MitkAppUtilExports.h:15
MitkAppUtilExports.h
git
MITK
Modules
AppUtil
include
QmitkSafeApplication.h
Generated on Fri Feb 3 2017 20:52:14 for Medical Imaging Interaction Toolkit by
1.8.9.1