|
Krita Source Code Documentation
|
#include "kis_assert.h"#include <QString>#include <QMessageBox>#include <QThread>#include <QProcessEnvironment>#include <QCoreApplication>#include <QApplication>#include <klocalizedstring.h>#include <KisUsageLogger.h>#include <string>#include "config-safe-asserts.h"Go to the source code of this file.
Functions | |
| void | kis_assert_common (const char *assertion, const char *file, int line, bool abort, bool isIgnorable) |
| void | kis_assert_exception (const char *assertion, const char *file, int line) |
| void | kis_assert_recoverable (const char *assertion, const char *file, int line) |
| void | kis_assert_x_exception (const char *assertion, const char *where, const char *what, const char *file, int line) |
| void | kis_safe_assert_recoverable (const char *assertion, const char *file, int line) |
| void kis_assert_common | ( | const char * | assertion, |
| const char * | file, | ||
| int | line, | ||
| bool | abort, | ||
| bool | isIgnorable ) |
TODO: Add automatic saving of the documents
Requirements: 1) Should save all open KisDocument objects 2) Should not overwrite original document since the saving process may fail. 3) Should not overwrite any autosaved documents since the saving process may fail. 4) Double-fault tolerance! Assert during emergency saving should not lead to an infinite loop.
Definition at line 34 of file kis_assert.cpp.
References button(), and KisUsageLogger::log().
| void kis_assert_exception | ( | const char * | assertion, |
| const char * | file, | ||
| int | line ) |
Definition at line 108 of file kis_assert.cpp.
References kis_assert_common().
| void kis_assert_recoverable | ( | const char * | assertion, |
| const char * | file, | ||
| int | line ) |
Definition at line 98 of file kis_assert.cpp.
References kis_assert_common().
| void kis_assert_x_exception | ( | const char * | assertion, |
| const char * | where, | ||
| const char * | what, | ||
| const char * | file, | ||
| int | line ) |
Definition at line 113 of file kis_assert.cpp.
References kis_assert_common().
| void kis_safe_assert_recoverable | ( | const char * | assertion, |
| const char * | file, | ||
| int | line ) |
Definition at line 103 of file kis_assert.cpp.
References kis_assert_common().