mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
VersionSelectWidget refact
This commit is contained in:
@@ -4,7 +4,6 @@
|
||||
#include <QObject>
|
||||
#include <QMap>
|
||||
#include <QMutex>
|
||||
#include <widgets/versionselectwidget.h>
|
||||
#include "Core\tcpclient.h"
|
||||
#include "Core\dataparser.h"
|
||||
#include "Core\sendsystem.h"
|
||||
@@ -14,8 +13,9 @@
|
||||
#include "group.h"
|
||||
#include "computer.h"
|
||||
#include "classroom.h"
|
||||
#include "streamingversiondata.h"
|
||||
#include "Datas.h"
|
||||
#include "notifycontroller.h"
|
||||
#include "streamingversiondata.h"
|
||||
|
||||
class ConnectorToServer : public QObject
|
||||
{
|
||||
@@ -36,6 +36,7 @@ public:
|
||||
void StopConnectToServer();
|
||||
|
||||
void setLoginName(QString name);
|
||||
QString getLoginName();
|
||||
|
||||
public:
|
||||
//Send
|
||||
@@ -107,6 +108,12 @@ public slots:
|
||||
void slot_HashReady();
|
||||
void slot_Auth(ServerAuthorization * serverAuth);
|
||||
|
||||
void slot_SendDeleteVersion(StreamingVersionData *streaming);
|
||||
void slot_SendSwitchVersion(StreamingVersionData *selectVersion);
|
||||
void slot_SendCopyVersion(QString versionPair);
|
||||
|
||||
void slot_getVersion();
|
||||
|
||||
signals:
|
||||
void sigSetConnect(ServerSettings* serverSettings,QThread *thread);
|
||||
void sigStopConnect();
|
||||
@@ -136,6 +143,16 @@ signals:
|
||||
|
||||
void signal_AnswerDocsChanged();
|
||||
|
||||
void signal_SetVersion(StreamingVersionData* serverVersion);
|
||||
void signal_AnimationActivated(bool flag);
|
||||
|
||||
void signal_SendDeleteVersion(StreamingVersionData *streaming);
|
||||
void signal_SendSwitchVersion(StreamingVersionData *selectVersion);
|
||||
void signal_SendCopyVersion(QString versionPair);
|
||||
|
||||
void signal_showServerList(QList<StreamingVersionData*> *serverList);
|
||||
void signal_SendGetVersion();
|
||||
|
||||
private:
|
||||
void initialize();
|
||||
void bindConnection();
|
||||
@@ -148,8 +165,6 @@ private:
|
||||
DataParser *dataParser;
|
||||
SendSystem *sendSystem;
|
||||
RecognizeSystem *recognizeSystem;
|
||||
VersionSelectWidget *versionSelectWidget;
|
||||
VersionContainer *versionContainer;
|
||||
NotifyController *notifyController;
|
||||
|
||||
//Списочная модель БД СУО
|
||||
@@ -170,6 +185,8 @@ private:
|
||||
ServerAuthorization serverAuth;
|
||||
|
||||
bool fl_GetedOfflineMessages;
|
||||
|
||||
QString nameInstructorLoggedInLocal;
|
||||
};
|
||||
|
||||
#endif // CONNECTORTOSERVER_H
|
||||
|
||||
Reference in New Issue
Block a user