This commit is contained in:
2026-02-10 16:28:28 +03:00
parent 2cce331a67
commit ed7de8af4e
35 changed files with 418 additions and 358 deletions

View File

@@ -8,6 +8,8 @@ ProviderDBLMS::ProviderDBLMS(QObject *parent) :
QObject(parent),
dbLMS(nullptr)
{
qDebug() << "ProviderDBLMS init thread ID " << QThread::currentThreadId();
dbLMS = new InterfaceDataBaseLMS();
connect(dbLMS, &InterfaceDataBaseLMS::signal_ErrorPostgreSQL, this, &ProviderDBLMS::signal_ErrorPostgreSQL);
}
@@ -139,7 +141,7 @@ bool ProviderDBLMS::DBisConnected()
DataBaseSettings ProviderDBLMS::getDBSettings()
{
return dbLMS->getDataBaseSettings();
return InterfaceDataBaseLMS::getDataBaseSettings();
}
bool ProviderDBLMS::setUserPasswordPostgres(QString userName, QString password)

View File

@@ -104,7 +104,7 @@ private:
public:
bool DBisConnected();
DataBaseSettings getDBSettings();
static DataBaseSettings getDBSettings();
//PostgreSQL
static bool checkDriverQPSQLavailable();