Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkSingleApplication Class Reference

#include <QmitkSingleApplication.h>

Inheritance diagram for QmitkSingleApplication:
Collaboration diagram for QmitkSingleApplication:

Public Member Functions

 QmitkSingleApplication (int &argc, char **argv, bool safeMode=true)
 
bool notify (QObject *receiver, QEvent *event) override
 
void setSafeMode (bool safeMode)
 
bool getSafeMode () const
 

Detailed Description

Definition at line 26 of file QmitkSingleApplication.h.

Constructor & Destructor Documentation

QmitkSingleApplication::QmitkSingleApplication ( int &  argc,
char **  argv,
bool  safeMode = true 
)

Definition at line 21 of file QmitkSingleApplication.cpp.

Member Function Documentation

bool QmitkSingleApplication::getSafeMode ( ) const

Definition at line 41 of file QmitkSingleApplication.cpp.

bool QmitkSingleApplication::notify ( QObject *  receiver,
QEvent *  event 
)
override

Reimplement notify to catch unhandled exceptions and open an error message.

Parameters
receiver
event
Returns

Definition at line 26 of file QmitkSingleApplication.cpp.

void QmitkSingleApplication::setSafeMode ( bool  safeMode)

Definition at line 36 of file QmitkSingleApplication.cpp.


The documentation for this class was generated from the following files: