Перед внедрением списочной модели БД в GUI

This commit is contained in:
krivoshein
2024-12-10 10:27:00 +03:00
parent e6da40c4e7
commit 4556c07fc9
96 changed files with 1044 additions and 444 deletions

View File

@@ -6,6 +6,9 @@
#include "Core\dataparser.h"
#include "Core\sendsystem.h"
#include "Core\recognizesystem.h"
#include "instructor.h"
#include "trainee.h"
#include "group.h"
class ConnectorToServer : public QObject
{
@@ -16,12 +19,16 @@ public:
bool authorizationInstructorLocal(QString login, QString password);
bool deAuthorizationInstructorLocal(QString login);
bool queryGetListInstructors();
bool sendQueryToDB(TypeQueryToDB typeQuery);
QList<Instructor> getListInstructors();
QList<Trainee> getListTrainees();
QList<Group> getListGroups();
public slots:
void slot_AnswerQueryToDB(QList<Instructor>* listInstructors);
void slot_AnswerQueryToDB(QList<Instructor>* listInstructors,
QList<Trainee>* listTrainees,
QList<Group>* listGroups);
signals:
void sigSetConnect(ServerSettings* serverSettings,QThread *thread);
@@ -53,6 +60,8 @@ private:
RecognizeSystem *recognizeSystem;
QList<Instructor> listInstructors;
QList<Trainee> listTrainees;
QList<Group> listGroups;
};
#endif // CONNECTORTOSERVER_H