◆ DbEngineErrorHandler()
Digikam::DbEngineErrorHandler::DbEngineErrorHandler |
( |
| ) |
|
|
explicit |
◆ ~DbEngineErrorHandler()
Digikam::DbEngineErrorHandler::~DbEngineErrorHandler |
( |
| ) |
|
|
override |
◆ connectionError
virtual void Digikam::DbEngineErrorHandler::connectionError |
( |
DbEngineErrorAnswer * |
answer, |
|
|
const QSqlError & |
error, |
|
|
const QString & |
query |
|
) |
| |
|
pure virtualslot |
In the situation of a connection error, all threads will be waiting with their queries and this method is called. This method can display an error dialog and try to repair the connection. It must then call either connectionErrorContinueQueries() or connectionErrorAbortQueries(). The method is guaranteed to be invoked in the UI thread.
◆ consultUserForError
virtual void Digikam::DbEngineErrorHandler::consultUserForError |
( |
DbEngineErrorAnswer * |
answer, |
|
|
const QSqlError & |
error, |
|
|
const QString & |
query |
|
) |
| |
|
pure virtualslot |
In the situation of an error requiring user intervention or information, all threads will be waiting with their queries and this method is called. This method can display an error dialog. It must then call either connectionErrorContinueQueries() or connectionErrorAbortQueries(). The method is guaranteed to be invoked in the UI thread.
The documentation for this class was generated from the following files: