Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
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 (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#ifndef QmitkSafeApplication_h
14
#define QmitkSafeApplication_h
15
16
#include <
MitkAppUtilExports.h
>
17
18
#include <QApplication>
19
#include <QMessageBox>
20
21
class
MITKAPPUTIL_EXPORT
QmitkSafeApplication
:
public
QApplication
22
{
23
public
:
24
QmitkSafeApplication
(
int
&argc,
char
**argv,
bool
safeMode =
true
);
25
33
bool
notify(QObject *receiver, QEvent *event)
override
;
34
35
void
setSafeMode(
bool
safeMode);
36
37
bool
getSafeMode()
const
;
38
39
private
:
40
bool
m_SafeMode;
41
};
42
43
#endif
MITKAPPUTIL_EXPORT
#define MITKAPPUTIL_EXPORT
Definition:
MitkAppUtilExports.h:15
MitkAppUtilExports.h
QmitkSafeApplication
Definition:
QmitkSafeApplication.h:21
src
MITK
Modules
AppUtil
include
QmitkSafeApplication.h
Generated on Mon Jun 17 2024 12:43:31 for Medical Imaging Interaction Toolkit by
1.8.17