digiKam
|
Public Member Functions | |
CoreDbSchemaUpdater (CoreDB *const albumDB, CoreDbBackend *const backend, const DbEngineParameters ¶meters) | |
const QString | getLastErrorMessage () |
void | setCoreDbAccess (CoreDbAccess *const dbAccess) |
void | setObserver (InitializationObserver *const observer) |
bool | update () |
bool | updateUniqueHash () |
virtual | ~CoreDbSchemaUpdater () |
Static Public Member Functions | |
static int | filterSettingsVersion () |
static bool | isUniqueHashUpToDate () |
static int | schemaVersion () |
static int | uniqueHashVersion () |
|
explicit |
|
virtual |
|
static |
const QString Digikam::CoreDbSchemaUpdater::getLastErrorMessage | ( | ) |
Referenced by Digikam::CoreDbAccess::checkReadyForUse().
|
static |
References uniqueHashVersion().
Referenced by Digikam::SetupDatabase::SetupDatabase(), and updateUniqueHash().
|
static |
void Digikam::CoreDbSchemaUpdater::setCoreDbAccess | ( | CoreDbAccess *const | dbAccess | ) |
Referenced by Digikam::CoreDbAccess::checkReadyForUse(), and Digikam::ScanController::run().
void Digikam::CoreDbSchemaUpdater::setObserver | ( | InitializationObserver *const | observer | ) |
Referenced by Digikam::CoreDbAccess::checkReadyForUse(), and Digikam::ScanController::run().
|
static |
Referenced by isUniqueHashUpToDate(), and updateUniqueHash().
bool Digikam::CoreDbSchemaUpdater::update | ( | ) |
References Digikam::InitializationObserver::UpdateSuccess.
Referenced by Digikam::CoreDbCopyManager::copyDatabases(), and Digikam::CoreDbBackend::initSchema().
bool Digikam::CoreDbSchemaUpdater::updateUniqueHash | ( | ) |
References Digikam::CollectionScanner::completeScan(), Digikam::CoreDbAccess::db(), isUniqueHashUpToDate(), Digikam::CollectionScanner::setNeedFileCount(), Digikam::CollectionScanner::setObserver(), Digikam::CoreDB::setUniqueHashVersion(), Digikam::CollectionScanner::setUpdateHashHint(), and uniqueHashVersion().
Referenced by Digikam::ScanController::run().