mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
refact0
This commit is contained in:
@@ -30,7 +30,7 @@ void SendSystem::sendDisable()
|
||||
stream << data;
|
||||
socket->waitForBytesWritten();
|
||||
}
|
||||
|
||||
/*
|
||||
void SendSystem::sendXMLmsgGUItoServer(QByteArray array)
|
||||
{
|
||||
qDebug() << "SendSystem" << QThread::currentThreadId();
|
||||
@@ -41,6 +41,7 @@ void SendSystem::sendXMLmsgGUItoServer(QByteArray array)
|
||||
stream << array;
|
||||
socket->waitForBytesWritten(6000);
|
||||
}
|
||||
*/
|
||||
|
||||
void SendSystem::sendFileBlock(QString path)
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ class SendSystem :public QObject
|
||||
public:
|
||||
explicit SendSystem(QObject* parent = nullptr);
|
||||
void setSocket(QTcpSocket *socket);
|
||||
void sendXMLmsgGUItoServer(QByteArray array);
|
||||
//void sendXMLmsgGUItoServer(QByteArray array);
|
||||
void sendDisable();
|
||||
void sendFileBlock(QString path);
|
||||
void sendFolderBlock(QString path);
|
||||
|
||||
Reference in New Issue
Block a user