Wrapper over QApplication. More...

Inheritance diagram for SafeQApplication:

Detailed Description

Wrapper over QApplication.

Prevents an app crash in case of an internal error. Disabled for debugging, because it makes getting the stack trace harder.

Public Member Functions

 SafeQApplication (int &argc, char **argv)
 
void inform (const QString &str)
 
bool notify (QObject *receiver, QEvent *event) override
 
bool event (QEvent *ev) override
 
void fileOpened (const QString &opened)
 

Static Public Member Functions

static void DebugOutput (QtMsgType type, const QMessageLogContext &context, const QString &msg)
 

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