Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkSafeApplication Class Reference

#include <QmitkSafeApplication.h>

Inheritance diagram for QmitkSafeApplication:
Collaboration diagram for QmitkSafeApplication:

Public Member Functions

 QmitkSafeApplication (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 21 of file QmitkSafeApplication.h.

Constructor & Destructor Documentation

◆ QmitkSafeApplication()

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

Member Function Documentation

◆ getSafeMode()

bool QmitkSafeApplication::getSafeMode ( ) const

◆ notify()

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

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

Parameters
receiver
event
Returns

◆ setSafeMode()

void QmitkSafeApplication::setSafeMode ( bool  safeMode)

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