feat: add information

This commit is contained in:
semenov
2025-09-25 11:47:42 +03:00
parent 722889789e
commit edc278dcd1
9 changed files with 115 additions and 112 deletions

View File

@@ -315,12 +315,6 @@ void SendSystem::updateFiles(QList<FileData> fileSendList, QList<FileData> delet
sendPacketType(PacketType::TYPE_FINISH);
}
void SendSystem::socketWrite(QByteArray array)
{
socket->write(array);
socket->waitForBytesWritten(100);
}
void SendSystem::socketClose()
{
socket->close();

View File

@@ -43,7 +43,6 @@ public:
public slots:
void socketWrite(QByteArray array);
void socketClose();
void sendVersion();

View File

@@ -49,7 +49,6 @@ void ClientHandler::initialize(int descriptor,ServerLMSWidget *serverWidget,
connect(this,&ClientHandler::sigSendNotify,sendSystem,&SendSystem::sendNotify,Qt::AutoConnection);
connect(this,&ClientHandler::sigSendFileBlockWithRename,sendSystem,&SendSystem::sendFileBlockWithRename,Qt::AutoConnection);
connect(this,&ClientHandler::sigSendVersion,sendSystem,&SendSystem::sendVersion,Qt::AutoConnection);
connect(this,&ClientHandler::sigSocketWrite,sendSystem,&SendSystem::socketWrite,Qt::AutoConnection);
connect(this,&ClientHandler::sigSocketClose,sendSystem,&SendSystem::socketClose,Qt::AutoConnection);
connect(this,&ClientHandler::sigSocketFlush,sendSystem,&SendSystem::socketFlush,Qt::AutoConnection);
connect(this,&ClientHandler::sigSendPacketType,sendSystem,&SendSystem::sendPacketType,Qt::AutoConnection);

View File

@@ -63,7 +63,6 @@ signals:
void sigRecognize(ClientHandler *handler);
void sigSendNotify(QString notify);
void sigSendFileBlockWithRename (QString path,QString newName);
void sigSocketWrite(QByteArray array);
void sigSocketClose();
bool sigSocketFlush();
void sigSendVersion();