digiKam
|
Public Member Functions | |
DbEngineConfigSettingsLoader (const QString &filepath, int xmlVersion) | |
bool | readConfig (const QString &filepath, int xmlVersion) |
DbEngineConfigSettings | readDatabase (QDomElement &databaseElement) |
void | readDBActions (QDomElement &sqlStatementElements, DbEngineConfigSettings &configElement) |
Public Attributes | |
QMap< QString, DbEngineConfigSettings > | databaseConfigs |
QString | errorMessage |
bool | isValid |
|
explicit |
References errorMessage, isValid, and readConfig().
bool Digikam::DbEngineConfigSettingsLoader::readConfig | ( | const QString & | filepath, |
int | xmlVersion | ||
) |
References databaseConfigs, Digikam::DbEngineConfigSettings::databaseID, errorMessage, and readDatabase().
Referenced by DbEngineConfigSettingsLoader().
DbEngineConfigSettings Digikam::DbEngineConfigSettingsLoader::readDatabase | ( | QDomElement & | databaseElement | ) |
References Digikam::DbEngineConfigSettings::connectOptions, Digikam::DbEngineConfigSettings::databaseID, Digikam::DbEngineConfigSettings::databaseName, Digikam::DbEngineConfigSettings::hostName, Digikam::DbEngineConfigSettings::password, Digikam::DbEngineConfigSettings::port, readDBActions(), and Digikam::DbEngineConfigSettings::userName.
Referenced by readConfig().
void Digikam::DbEngineConfigSettingsLoader::readDBActions | ( | QDomElement & | sqlStatementElements, |
DbEngineConfigSettings & | configElement | ||
) |
QMap<QString, DbEngineConfigSettings> Digikam::DbEngineConfigSettingsLoader::databaseConfigs |
Referenced by readConfig().
QString Digikam::DbEngineConfigSettingsLoader::errorMessage |
Referenced by DbEngineConfigSettingsLoader(), and readConfig().
bool Digikam::DbEngineConfigSettingsLoader::isValid |
Referenced by DbEngineConfigSettingsLoader().