31 lines
662 B
Plaintext
31 lines
662 B
Plaintext
// Stub file for BUILD_GRANTLEE=OFF
|
|
// Generated database implementation for ProjectDataManagement service
|
|
#include "pdm_db_impl.h"
|
|
|
|
namespace ProjectDataManagement {
|
|
|
|
Db::Db() = default;
|
|
Db::~Db() = default;
|
|
|
|
bool Db::isOpen() const {
|
|
return m_database.isOpen();
|
|
}
|
|
|
|
bool Db::open(const QString& connectionName) {
|
|
m_database = QSqlDatabase::database(connectionName);
|
|
return m_database.open();
|
|
}
|
|
|
|
void Db::close() {
|
|
m_database.close();
|
|
}
|
|
|
|
DbImpl::DbImpl() = default;
|
|
DbImpl::~DbImpl() = default;
|
|
|
|
bool DbImpl::executeQuery(const QString& query) {
|
|
Q_UNUSED(query);
|
|
return true; // Stub implementation
|
|
}
|
|
|
|
} // namespace ProjectDataManagement |