Medical Imaging Interaction Toolkit  2024.06.00
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 22 of file QmitkSingleApplication.h.

Constructor & Destructor Documentation

◆ QmitkSingleApplication()

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

Member Function Documentation

◆ getSafeMode()

bool QmitkSingleApplication::getSafeMode ( ) const

◆ notify()

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

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

Parameters
receiver
event
Returns

◆ setSafeMode()

void QmitkSingleApplication::setSafeMode ( bool  safeMode)

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