digiKam
Digikam::DbEngineAccess Class Reference

Static Public Member Functions

static bool checkReadyForUse (QString &error)
 

Detailed Description

The DbEngineAccess class provides access to the database: Create an instance of this class on the stack to retrieve a pointer to the database.

Member Function Documentation

◆ checkReadyForUse()

bool Digikam::DbEngineAccess::checkReadyForUse ( QString &  error)
static

Checks the availability of drivers. Must be used in children class. Return true if low level drivers are ready to use, else false with an error string of the problem.

References Digikam::DbEngineParameters::MySQLDatabaseType(), Digikam::DbEngineParameters::parametersFromConfig(), and Digikam::DbEngineParameters::SQLiteDatabaseType().

Referenced by Digikam::SimilarityDbAccess::checkReadyForUse(), Digikam::ThumbsDbAccess::checkReadyForUse(), Digikam::FaceDbAccess::checkReadyForUse(), and Digikam::CoreDbAccess::checkReadyForUse().


The documentation for this class was generated from the following files: