![]() |
Mixxx
|
#include <errordialoghandler.h>

Signals | |
| void | showErrorDialog (ErrorDialogProperties *props) |
| void | stdButtonClicked (QString key, QMessageBox::StandardButton whichStdButton) |
Public Member Functions | |
| ~ErrorDialogHandler () | |
| ErrorDialogProperties * | newDialogProperties () |
| bool | requestErrorDialog (DialogType type, QString message) |
| bool | requestErrorDialog (ErrorDialogProperties *props) |
| bool | checkError () |
Static Public Member Functions | |
| static ErrorDialogHandler * | instance () |
Singleton class because we only need one Handler to manage all error dialogs
Definition at line 97 of file errordialoghandler.h.
| ErrorDialogHandler::~ErrorDialogHandler | ( | ) |
Definition at line 74 of file errordialoghandler.cpp.
| bool ErrorDialogHandler::checkError | ( | ) |
Allows a means for main() to skip exec() if there was a critical or fatal error dialog displayed on app initialization
Definition at line 208 of file errordialoghandler.cpp.
| static ErrorDialogHandler* ErrorDialogHandler::instance | ( | ) | [inline, static] |
| ErrorDialogProperties * ErrorDialogHandler::newDialogProperties | ( | ) |
Call this to get a new instance of ErrorDialogProperties to populate with data
Definition at line 80 of file errordialoghandler.cpp.

| bool ErrorDialogHandler::requestErrorDialog | ( | ErrorDialogProperties * | props | ) |
| bool ErrorDialogHandler::requestErrorDialog | ( | DialogType | type, |
| QString | message | ||
| ) |
A qMessageHandler or any thread calls either of these to emit a signal to display the requested message box They return false if a dialog with the same key (or title if no key) is already displayed
Definition at line 85 of file errordialoghandler.cpp.


| void ErrorDialogHandler::showErrorDialog | ( | ErrorDialogProperties * | props | ) | [signal] |

| void ErrorDialogHandler::stdButtonClicked | ( | QString | key, |
| QMessageBox::StandardButton | whichStdButton | ||
| ) | [signal] |