mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Корректное переподключение к серверу
This commit is contained in:
@@ -32,6 +32,7 @@ public:
|
||||
bool sendQueryTasksXML(QString type);
|
||||
|
||||
void SetConnectToServer();
|
||||
void StopConnectToServer();
|
||||
|
||||
public:
|
||||
QByteArray getListTaskFimArray();
|
||||
@@ -66,11 +67,8 @@ public:
|
||||
|
||||
ServerSettings getServerSettings();
|
||||
bool getIsConnected();
|
||||
public slots:
|
||||
/*void slot_AnswerQueryToDB(QList<Instructor>* listInstructors,
|
||||
QList<Trainee>* listTrainees,
|
||||
QList<Group>* listGroups);*/
|
||||
|
||||
public slots:
|
||||
void slot_AnswerQueryToDB_ListInstructors(QList<Instructor> listInstructors);
|
||||
void slot_AnswerQueryToDB_ListGroups(QList<Group> listGroups);
|
||||
void slot_AnswerQueryToDB_ListTrainees(QList<Trainee> listTrainees);
|
||||
@@ -87,6 +85,7 @@ public slots:
|
||||
|
||||
signals:
|
||||
void sigSetConnect(ServerSettings* serverSettings,QThread *thread);
|
||||
void sigStopConnect();
|
||||
void sigInitializeClient(RecognizeSystem *recognizeSystem,
|
||||
SendSystem *sendSystem,
|
||||
QThread *thread);
|
||||
@@ -116,6 +115,9 @@ private:
|
||||
void bindConnection();
|
||||
void createObjects();
|
||||
|
||||
//Очистка списочной модели БД СУО
|
||||
void clearListModelDB();
|
||||
|
||||
private:
|
||||
QWidget* parentWidget;
|
||||
QThread *connectionThread;
|
||||
|
||||
Reference in New Issue
Block a user