refactoring

This commit is contained in:
semenov
2024-08-30 14:51:01 +03:00
parent 6a71f421fd
commit f333afe2b4
45 changed files with 592 additions and 410 deletions

View File

@@ -18,17 +18,17 @@ class RecognizeSystem : public QObject
public:
explicit RecognizeSystem(QObject *parent = 0);
~RecognizeSystem();
void Initialize(UpdateController* updateController,DataParser *dataParser);
void Recognize(QTcpSocket *socket);
void initialize(UpdateController* updateController,DataParser *dataParser);
void recognize(QTcpSocket *socket);
signals:
void UpdateBytesAvailable(qint64 size,quint64 sended);
void LoadComplete();
void onNeedUpdate(bool flag,qint64 size,quint64 fileCount);
void onSendDebugLog(QString message);
void SockedDisabled();
void SaveLoginData(ServerAuthorization *serverAuth);
void SocketWaitForReadyRead(int waitTime);
void sigUpdateBytesAvailable(qint64 size,quint64 sended);
void sigLoadComplete();
void sigNeedUpdate(bool flag,qint64 size,quint64 fileCount);
void sigSendDebugLog(QString message);
void sigSocketDisabled();
void sigSaveLoginData(ServerAuthorization *serverAuth);
void sigSocketWaitForReadyRead(int waitTime);
private:
UpdateController *updateController;
@@ -42,7 +42,7 @@ private:
qint64 fileSize;
int countSend;
void XMLParser(QByteArray array);
void xmlParser(QByteArray array);
};