1 2 3 4 5
void AkonadiServer::createDatabase() { DbConfig::configuredDatabase()->apply(db); db.setDatabaseName(DbConfig::configuredDatabase()->databaseName()); }