62 QSqlDatabase &Database_;
67 static QMutex LockedMutex_;
68 static QSet<QString> LockedBases_;
UTIL_API ~DBLock()
Destructor.
DBLock(const DBLock &)=delete
DBLock & operator=(const DBLock &)=delete
Provides database transaction lock.
static UTIL_API void DumpError(const QSqlError &error)
Dumps the error to the qWarning() stream.
UTIL_API void Good()
Notifies the lock about successful higher-level operations.
UTIL_API void Init()
Initializes the transaction.