mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
допилил ownerWidget в DataBaseLMS
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
#include "providerdblms.h"
|
||||
|
||||
#include <QThread>
|
||||
#include <QMessageBox>
|
||||
|
||||
ProviderDBLMS::ProviderDBLMS(QWidget *parentWidget, QObject *parent) :
|
||||
QObject(parent),
|
||||
dbLMS(nullptr)
|
||||
dbLMS(nullptr),
|
||||
parentWidget(parentWidget)
|
||||
{
|
||||
dbLMS = new InterfaceDataBaseLMS(/*parentWidget*/nullptr);
|
||||
dbLMS = new InterfaceDataBaseLMS(parentWidget);
|
||||
//ConnectionToDB();
|
||||
}
|
||||
|
||||
|
||||
@@ -81,6 +81,7 @@ public:
|
||||
private:
|
||||
InterfaceDataBaseLMS* dbLMS;
|
||||
QMutex mtxAccess;
|
||||
QWidget *parentWidget;
|
||||
};
|
||||
|
||||
#endif // PROVIDERDBLMS_H
|
||||
|
||||
@@ -67,7 +67,7 @@ public slots:
|
||||
void slot_LanguageChanged(QString language);
|
||||
void slotUpdateListClients();
|
||||
void slot_BlockAutorization(bool block);
|
||||
void addToLog(QString message);
|
||||
void addToLog(QString message);
|
||||
public:
|
||||
void removeClient(int socketId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user