digiKam
|
Public Member Functions | |
CoreDbTransaction () | |
CoreDbTransaction (CoreDbAccess *const access) | |
~CoreDbTransaction () | |
Convenience class: You can create a CoreDbTransaction object for a scope for which you want to declare a database commit. Equivalent to calling beginTransaction and commitTransaction on the album db.
Digikam::CoreDbTransaction::CoreDbTransaction | ( | ) |
Retrieve a CoreDbAccess object each time when constructing and destructing.
References Digikam::CoreDbAccess::backend(), and Digikam::BdEngineBackend::beginTransaction().
|
explicit |
Use an existing CoreDbAccess object, which must live as long as this object exists.
References Digikam::CoreDbAccess::backend(), and Digikam::BdEngineBackend::beginTransaction().
Digikam::CoreDbTransaction::~CoreDbTransaction | ( | ) |