mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
feat: loading base version
This commit is contained in:
@@ -4,12 +4,17 @@
|
||||
#include <QObject>
|
||||
#include <QTcpSocket>
|
||||
#include <QDataStream>
|
||||
#include <mainwindow.h>
|
||||
|
||||
class MainWindow;
|
||||
class DataParser;
|
||||
|
||||
class SendSystem :public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SendSystem(QObject* parent = nullptr);
|
||||
void initialize(MainWindow *mainWindow,DataParser *dataParser);
|
||||
void setSocket(QTcpSocket *socket);
|
||||
void sendClientAutorization();
|
||||
void sendDisable();
|
||||
@@ -17,14 +22,19 @@ public:
|
||||
void sendFolderBlock(QString path);
|
||||
void sendQTConnect();
|
||||
void sendXMLAnswer(QByteArray array);
|
||||
~SendSystem();
|
||||
void sendFinish();
|
||||
|
||||
~SendSystem();
|
||||
|
||||
signals:
|
||||
void sigSend();
|
||||
QByteArray sigGetXmlAnswer(QString);
|
||||
|
||||
public slots:
|
||||
void xmlAnswer(QString message);
|
||||
private:
|
||||
QTcpSocket *socket;
|
||||
|
||||
};
|
||||
|
||||
#endif // SENDSYSTEM_H
|
||||
|
||||
Reference in New Issue
Block a user