diff --git a/Core/UpdateController.h b/Core/UpdateController.h index 6727642..0650638 100644 --- a/Core/UpdateController.h +++ b/Core/UpdateController.h @@ -22,17 +22,15 @@ class UpdateController : public QObject { - Q_OBJECT public: explicit UpdateController(QObject *parent = 0); + ~UpdateController(); void initialize(VersionContainer *versionContainer,DataParserOutput *dataParser, SendSystem *sendSystem); void calculateCommonHash(); void calculateStreamingHash(); - ~UpdateController(); - void updateFilesOnServer(QList *fileSendList); void checkCanUpdate(); diff --git a/Core/dataparser.cpp b/Core/dataparser.cpp index 617d3f8..f49f2e2 100644 --- a/Core/dataparser.cpp +++ b/Core/dataparser.cpp @@ -134,9 +134,7 @@ void DataParser::xmlParser(const QByteArray& array) if (value == "UNCHANGEABLE") { - //emit sigNotify(tr("Нельзя выгружать в базовую версию")); - //postProcessSystem->showUpdateList(); - //emit recognizeSystem->sigShowUpdateList(); + //версию нельзя изменять } if (value == "CHANGEABLE") diff --git a/Core/dataparser.h b/Core/dataparser.h index 179cfa0..c979db6 100644 --- a/Core/dataparser.h +++ b/Core/dataparser.h @@ -19,14 +19,10 @@ class DataParser : public QObject public: explicit DataParser(QObject *parent = 0); ~DataParser() = default; + void initialize(PostProcessorSystem *postProcessSystem); ServerSettings* getClientSettings(); void xmlParser(const QByteArray& array); - -signals: - void sigNotify(QString notify); - void sigUpdateFilesOnServer(QList *fileSendList); - private: PostProcessorSystem *postProcessSystem; }; diff --git a/Core/postprocessorsystem.cpp b/Core/postprocessorsystem.cpp index 6c60a2a..e4efdcf 100644 --- a/Core/postprocessorsystem.cpp +++ b/Core/postprocessorsystem.cpp @@ -49,11 +49,6 @@ void PostProcessorSystem::startCompare() emit sigStartCompare(serverStreamingHash,*localStreamingHash); } -void PostProcessorSystem::showUpdateList() -{ - emit sigShowUpdateList(); -} - void PostProcessorSystem::compareFiles() { updateController->updateFilesOnServer(hashComparer->getFilesForUpdate()); diff --git a/Core/postprocessorsystem.h b/Core/postprocessorsystem.h index 7afa220..aeeef9c 100644 --- a/Core/postprocessorsystem.h +++ b/Core/postprocessorsystem.h @@ -19,19 +19,15 @@ public: void socketDisable(); void serverBlocked(); void startCompare(); - void showUpdateList(); void compareFiles(); void checkAccessType(const QString& type); void saveLoginData(ServerAuthorization *auth); void setServerVersion(StreamingVersionData *serverVersion); - void showServerDataList(QList *versionList); - void calculateCommonHash(); signals: void sigSocketDisabled(); void sigServerBlocked(); void sigStartCompare(QList *serverStreamingHash, QList localStreamingHash); - void sigShowUpdateList(); void sigCallUpdateList(); void sigSaveLoginData(ServerAuthorization *serverAuth); diff --git a/Core/recognizesystem.cpp b/Core/recognizesystem.cpp index 1e51379..ce4b6a4 100644 --- a/Core/recognizesystem.cpp +++ b/Core/recognizesystem.cpp @@ -9,11 +9,9 @@ RecognizeSystem::RecognizeSystem(QObject *parent): packetType = PacketType::TYPE_NONE; filePath.clear(); fileSize = 0; - message.clear(); sizeReceiveData = 0; tmpBlock.clear(); countSend = 0; - folderList = new QList; } void RecognizeSystem::initialize(DataParser *dataParser, VersionContainer *versionContainer,PostProcessorSystem *postProcessorSystem) diff --git a/Core/recognizesystem.h b/Core/recognizesystem.h index 9d4b362..32fc24b 100644 --- a/Core/recognizesystem.h +++ b/Core/recognizesystem.h @@ -13,37 +13,29 @@ #include #include -class ServerAuthorization; - class RecognizeSystem : public QObject { - Q_OBJECT public: explicit RecognizeSystem(QObject *parent = 0); ~RecognizeSystem(){}; void initialize(DataParser *dataParser, VersionContainer* versionContainer,PostProcessorSystem *postProcessorSystem); - void recognize(QTcpSocket *socket); - void showServerDataList(QList *showServerDataList); signals: void sigUpdateBytesAvailable(); void sigLoadComplete(); void sigNeedUpdate(bool flag,qint64 size,quint64 fileCount,quint64 fileDelete); void sigSendDebugLog(QString message); - void sigSocketWaitForReadyRead(int waitTime); void sigAnimationActivated(bool flag); void sigCheckUpdate(); void sigdRecalculateHashOnServerState(); private: - QList *folderList; VersionContainer *versionContainer; DataParser *dataParser; PostProcessorSystem *postProcessorSystem; PacketType packetType; - QString message; QString filePath; QByteArray tmpBlock; diff --git a/Core/screenchecker.cpp b/Core/screenchecker.cpp index 92aaddf..1a45986 100644 --- a/Core/screenchecker.cpp +++ b/Core/screenchecker.cpp @@ -121,11 +121,6 @@ void ScreenChecker::updateDisplayData() dataParserOutput->addRunData(*displaysIndexList); } -QString ScreenChecker::getScreenCount() const -{ - return QString::number(screenCount); -} - void ScreenChecker::initialize(DataParserOutput *dataParserOutput, QHBoxLayout *layout) { this->layout = layout; diff --git a/Core/screenchecker.h b/Core/screenchecker.h index a665870..86003a6 100644 --- a/Core/screenchecker.h +++ b/Core/screenchecker.h @@ -16,7 +16,6 @@ #include -class DataParser; class ScreenChecker : public QObject { Q_OBJECT @@ -26,11 +25,8 @@ public: void initialize(DataParserOutput *dataParserOutput, QHBoxLayout *layout); ~ScreenChecker(); void check(); - QString getScreenCount() const; - private: - QWidget *mainWidget; DataParserOutput *dataParserOutput; QHBoxLayout *layout; qint64 screenCount; diff --git a/Core/sendsystem.cpp b/Core/sendsystem.cpp index 7d4a98c..3ccd81e 100644 --- a/Core/sendsystem.cpp +++ b/Core/sendsystem.cpp @@ -167,35 +167,6 @@ void SendSystem::sendFinish() socket->waitForReadyRead(100); } -void SendSystem::sendChangeVersion(StreamingVersionData* streamingVersion) -{ - QDataStream stream(socket); - stream.setVersion(QDataStream::Qt_DefaultCompiledVersion); - stream << PacketType::CHANGE_DATA_VERSION; - stream << streamingVersion->getViewName(); - - socket->waitForReadyRead(100); -} - -void SendSystem::sendDeleteVersion(StreamingVersionData *streamingVersion) -{ - QDataStream stream(socket); - stream.setVersion(QDataStream::Qt_DefaultCompiledVersion); - stream << PacketType::DELETE_DATA_VERSION; - stream << streamingVersion->getViewName(); - - socket->waitForReadyRead(100); -} - -void SendSystem::sendCopyVersion(const QString& versionName) -{ - QDataStream stream(socket); - stream.setVersion(QDataStream::Qt_DefaultCompiledVersion); - stream << PacketType::COPY_VERSION; - - stream << versionName; -} - void SendSystem::sendPacketType(PacketType packetType) { QDataStream stream(socket); diff --git a/Core/sendsystem.h b/Core/sendsystem.h index ec1908e..0df0814 100644 --- a/Core/sendsystem.h +++ b/Core/sendsystem.h @@ -16,19 +16,14 @@ public: explicit SendSystem(QObject* parent = nullptr); void setSocket(QTcpSocket *socket); void sendClientAutorization(); - void sendDisable(); void sendFileBlock(const QString& path); void sendFolderBlock(const QString& path); void sendFileBlockWithVersion(const QString& localPath,const QString& serverPath); void sendQTConnect(); void sendXMLAnswer(const QByteArray& array); void sendFinish(); - void sendChangeVersion(StreamingVersionData *streamingVersion); - void sendDeleteVersion(StreamingVersionData *streamingVersion); - void sendCopyVersion(const QString& versionName); void sendCheckHash(); void sendPacketType(PacketType packetType); - ~SendSystem(){}; signals: void sigSend(); diff --git a/Core/tcpclient.cpp b/Core/tcpclient.cpp index 8b3a7e2..be41030 100644 --- a/Core/tcpclient.cpp +++ b/Core/tcpclient.cpp @@ -14,9 +14,6 @@ void TCPClient::initialize(RecognizeSystem *recognize,SendSystem *sendSystem) this->recognizeSystem = recognize; this->sendSystem = sendSystem; isConnected = false; - - connect(recognize,&RecognizeSystem::sigSocketWaitForReadyRead,this,&TCPClient::waitRead,Qt::DirectConnection); - emit sigSendDebugLog(Tools::getTime() + " Client started"); } @@ -59,17 +56,6 @@ void TCPClient::setDisconnect() emit sigSendDebugLog("Server disabled"); } - -void TCPClient:: waitRead(int time) -{ - socket->waitForReadyRead(time); -} - -QTcpSocket *TCPClient::getSocket() -{ - return socket; -} - void TCPClient::slotConnectNotify() { if(socket->state() != QTcpSocket::ConnectedState) diff --git a/Core/tcpclient.h b/Core/tcpclient.h index af2897b..ea94837 100644 --- a/Core/tcpclient.h +++ b/Core/tcpclient.h @@ -14,23 +14,14 @@ #include #include - -class UpdateController; -class RecognizeSystem; -class ServerSettings; - class TCPClient : public QObject { Q_OBJECT - public: explicit TCPClient(QObject *parent = 0); void initialize(RecognizeSystem *recognize,SendSystem *sendSystem); void setConnect(ServerSettings *serverSettings); - - void waitRead(int time); - QTcpSocket* getSocket(); ~TCPClient(){}; bool getIsConnected() const; diff --git a/Core/versioncontainer.cpp b/Core/versioncontainer.cpp index 2ea9b79..d619e4f 100644 --- a/Core/versioncontainer.cpp +++ b/Core/versioncontainer.cpp @@ -11,11 +11,6 @@ VersionContainer::~VersionContainer() } -QString VersionContainer::getServerVersion() const -{ - return serverVersionData->getViewName(); -} - QString VersionContainer::getLocalVersion() const { return localVersionData->getViewName(); diff --git a/Core/versioncontainer.h b/Core/versioncontainer.h index d546a0d..5007554 100644 --- a/Core/versioncontainer.h +++ b/Core/versioncontainer.h @@ -10,8 +10,6 @@ class VersionContainer : public QObject public: explicit VersionContainer(QObject *parent = nullptr); ~VersionContainer(); - - QString getServerVersion() const; QString getLocalVersion() const; StreamingVersionData *getLocalVersionData() const; diff --git a/StaticData/authData.xml b/StaticData/authData.xml index 4032548..9429aff 100644 --- a/StaticData/authData.xml +++ b/StaticData/authData.xml @@ -1,2 +1,2 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/StaticData/clientHash.xml b/StaticData/clientHash.xml index a0b0689..7ed7332 100644 --- a/StaticData/clientHash.xml +++ b/StaticData/clientHash.xml @@ -217,9 +217,8 @@ - - + @@ -233,26 +232,26 @@ - - - + + + - - + + - - + + @@ -260,16 +259,16 @@ - - + + - - - + + + @@ -277,16 +276,16 @@ - - + + - - + + @@ -294,33 +293,33 @@ - - + + - - - + + + - - + + - - + + @@ -328,16 +327,16 @@ - - + + - - + + @@ -345,16 +344,16 @@ - - + + - - + + @@ -362,16 +361,16 @@ - - + + - - + + @@ -379,16 +378,16 @@ - - + + - - + + @@ -396,16 +395,16 @@ - - + + - - - + + + @@ -413,16 +412,16 @@ - - + + - - + + @@ -430,16 +429,16 @@ - - + + - - + + @@ -447,16 +446,16 @@ - - + + - - + + @@ -464,15 +463,17 @@ - - + + - + + + @@ -487,9 +488,7 @@ - - - + @@ -497,16 +496,16 @@ - - + + - - + + @@ -514,16 +513,16 @@ - - + + - - + + @@ -531,16 +530,16 @@ - - + + - - + + @@ -548,16 +547,16 @@ - - + + - - + + @@ -565,33 +564,33 @@ - - + + - - - + + + - - + + - - + + @@ -599,16 +598,16 @@ - - + + - - + + @@ -616,16 +615,16 @@ - - + + - - + + @@ -633,16 +632,16 @@ - - + + - - + + @@ -650,16 +649,16 @@ - - + + - - + + @@ -667,16 +666,16 @@ - - + + - - + + @@ -684,16 +683,16 @@ - - + + - - + + @@ -701,16 +700,16 @@ - - + + - - + + @@ -718,16 +717,16 @@ - - + + - - + + @@ -735,15 +734,17 @@ - - + + - + + + @@ -758,9 +759,7 @@ - - - + @@ -768,16 +767,16 @@ - - + + - - + + @@ -785,16 +784,16 @@ - - + + - - + + @@ -802,16 +801,16 @@ - - + + - - + + @@ -819,16 +818,16 @@ - - + + - - + + @@ -836,16 +835,16 @@ - - + + - - + + @@ -853,16 +852,16 @@ - - + + - - + + @@ -870,16 +869,16 @@ - - + + - - + + @@ -887,16 +886,16 @@ - - + + - - + + @@ -904,16 +903,16 @@ - - + + - - + + @@ -921,16 +920,16 @@ - - + + - - + + @@ -938,16 +937,16 @@ - - + + + - - + @@ -955,16 +954,16 @@ - - + + - - + + @@ -972,16 +971,16 @@ - - + + - - + + @@ -989,16 +988,16 @@ - - + + - - + + @@ -1006,15 +1005,17 @@ - - + + - + + + @@ -1029,9 +1030,7 @@ - - - + @@ -1039,16 +1038,16 @@ - - + + - - + + @@ -1056,16 +1055,16 @@ - - + + - - + + @@ -1073,16 +1072,16 @@ - - + + - - + + @@ -1090,16 +1089,16 @@ - - + + - - + + @@ -1107,16 +1106,16 @@ - - + + - - + + @@ -1124,16 +1123,16 @@ - - + + - - + + @@ -1141,15 +1140,17 @@ - - + + - + + + @@ -1164,9 +1165,7 @@ - - - + @@ -1174,16 +1173,16 @@ - - + + - - + + @@ -1191,16 +1190,16 @@ - - + + - - + + @@ -1208,16 +1207,16 @@ - - + + - - + + @@ -1225,16 +1224,16 @@ - - + + - - + + @@ -1242,16 +1241,16 @@ - - + + - - + + @@ -1259,16 +1258,16 @@ - - + + - - + + @@ -1276,15 +1275,17 @@ - - + + - + + + @@ -1299,9 +1300,7 @@ - - - + @@ -1309,16 +1308,16 @@ - - + + - - + + @@ -1326,16 +1325,16 @@ - - + + - - + + @@ -1343,16 +1342,16 @@ - - + + - - + + @@ -1360,16 +1359,16 @@ - - + + - - + + @@ -1377,16 +1376,16 @@ - - + + - - + + @@ -1394,16 +1393,16 @@ - - + + - - + + @@ -1411,16 +1410,16 @@ - - + + - - + + @@ -1428,16 +1427,16 @@ - - + + - - + + @@ -1445,16 +1444,16 @@ - - + + - - + + @@ -1462,16 +1461,16 @@ - - + + - - + + @@ -1479,16 +1478,16 @@ - - + + - - + + @@ -1496,16 +1495,16 @@ - - + + - - + + @@ -1513,16 +1512,16 @@ - - + + - - + + @@ -1530,16 +1529,16 @@ - - + + - - + + @@ -1547,15 +1546,17 @@ - - + + - + + + @@ -1570,9 +1571,7 @@ - - - + @@ -1580,16 +1579,16 @@ - - + + - - + + @@ -1597,16 +1596,16 @@ - - + + - - + + @@ -1614,16 +1613,16 @@ - - + + - - + + @@ -1631,14 +1630,15 @@ - - + + + @@ -1673,8 +1673,7 @@ - - + @@ -1682,32 +1681,33 @@ - - + + - - - - - - - + - - - - - - - - - + + + + + + + + + + + + + + + + @@ -1715,16 +1715,16 @@ - - + + - - + + @@ -1732,16 +1732,16 @@ - - + + - - + + @@ -1749,16 +1749,16 @@ - - + + - - + + @@ -1766,16 +1766,16 @@ - - + + - - + + @@ -1783,16 +1783,16 @@ - - + + - - + + @@ -1800,16 +1800,16 @@ - - + + - - + + @@ -1817,15 +1817,17 @@ - - + + - + + + @@ -1840,9 +1842,7 @@ - - - + @@ -1850,16 +1850,16 @@ - - + + - - + + @@ -1867,16 +1867,16 @@ - - + + - - + + @@ -1884,16 +1884,16 @@ - - + + - - + + @@ -1901,16 +1901,16 @@ - - + + - - + + @@ -1918,16 +1918,16 @@ - - + + - - + + @@ -1935,16 +1935,16 @@ - - + + - - + + @@ -1952,16 +1952,16 @@ - - + + - - + + @@ -1969,16 +1969,16 @@ - - + + - - + + @@ -1986,16 +1986,16 @@ - - + + - - + + @@ -2003,16 +2003,16 @@ - - + + - - + + @@ -2020,16 +2020,16 @@ - - + + - - + + @@ -2037,16 +2037,16 @@ - - + + - - + + @@ -2054,16 +2054,16 @@ - - + + - - + + @@ -2071,16 +2071,16 @@ - - + + - - + + @@ -2088,15 +2088,17 @@ - - + + - + + + @@ -2111,9 +2113,7 @@ - - - + @@ -2121,16 +2121,16 @@ - - + + - - + + @@ -2138,16 +2138,16 @@ - - + + - - + + @@ -2155,16 +2155,16 @@ - - + + - - + + @@ -2172,16 +2172,16 @@ - - + + - - + + @@ -2189,16 +2189,16 @@ - - + + - - + + @@ -2206,16 +2206,16 @@ - - + + - - + + @@ -2223,15 +2223,17 @@ - - + + - + + + @@ -2246,9 +2248,7 @@ - - - + @@ -2256,16 +2256,16 @@ - - + + - - + + @@ -2273,16 +2273,16 @@ - - + + - - + + @@ -2290,16 +2290,16 @@ - - + + - - + + @@ -2307,16 +2307,16 @@ - - + + - - + + @@ -2324,16 +2324,16 @@ - - + + - - + + @@ -2341,16 +2341,16 @@ - - + + - - + + @@ -2358,15 +2358,17 @@ - - + + - + + + @@ -2381,9 +2383,7 @@ - - - + @@ -2391,16 +2391,16 @@ - - + + - - + + @@ -2408,16 +2408,16 @@ - - + + - - + + @@ -2425,16 +2425,16 @@ - - + + - - + + @@ -2442,16 +2442,16 @@ - - + + - - + + @@ -2459,16 +2459,16 @@ - - + + - - + + @@ -2476,16 +2476,16 @@ - - + + - - + + @@ -2493,16 +2493,16 @@ - - + + - - + + @@ -2510,16 +2510,16 @@ - - + + - - + + @@ -2527,16 +2527,16 @@ - - + + - - + + @@ -2544,16 +2544,16 @@ - - + + - - + + @@ -2561,16 +2561,16 @@ - - + + - - + + @@ -2578,16 +2578,16 @@ - - + + - - + + @@ -2595,16 +2595,16 @@ - - + + - - + + @@ -2612,16 +2612,16 @@ - - + + - - + + @@ -2629,15 +2629,17 @@ - - + + - + + + @@ -2652,9 +2654,7 @@ - - - + @@ -2662,16 +2662,16 @@ - - + + - - + + @@ -2679,16 +2679,16 @@ - - + + - - + + @@ -2696,16 +2696,16 @@ - - + + - - + + @@ -2713,16 +2713,16 @@ - - + + - - + + @@ -2730,16 +2730,16 @@ - - + + - - + + @@ -2747,16 +2747,16 @@ - - + + - - + + @@ -2764,16 +2764,16 @@ - - + + - - + + @@ -2781,16 +2781,16 @@ - - + + - - + + @@ -2798,16 +2798,16 @@ - - + + - - + + @@ -2815,16 +2815,16 @@ - - + + - - + + @@ -2832,16 +2832,16 @@ - - + + - - + + @@ -2849,16 +2849,16 @@ - - + + - - + + @@ -2866,16 +2866,16 @@ - - + + - - + + @@ -2883,16 +2883,16 @@ - - + + - - + + @@ -2900,15 +2900,17 @@ - - + + - + + + @@ -2923,9 +2925,7 @@ - - - + @@ -2933,16 +2933,16 @@ - - + + - - + + @@ -2950,16 +2950,16 @@ - - + + - - + + @@ -2967,16 +2967,16 @@ - - + + - - + + @@ -2984,16 +2984,16 @@ - - + + - - + + @@ -3001,16 +3001,16 @@ - - + + - - + + @@ -3018,16 +3018,16 @@ - - + + - - + + @@ -3035,16 +3035,16 @@ - - + + - - + + @@ -3052,16 +3052,16 @@ - - + + - - + + @@ -3069,16 +3069,16 @@ - - + + - - + + @@ -3086,24 +3086,25 @@ - - + + + - + - + @@ -3111,8 +3112,7 @@ - - + @@ -3120,16 +3120,16 @@ - - + + - - + + @@ -3137,16 +3137,16 @@ - - + + - - + + @@ -3154,16 +3154,16 @@ - - + + - - + + @@ -3171,15 +3171,17 @@ - - + + - + + + @@ -3194,9 +3196,7 @@ - - - + @@ -3204,16 +3204,16 @@ - - + + - - + + @@ -3221,16 +3221,16 @@ - - + + - - + + @@ -3238,16 +3238,16 @@ - - + + - - + + @@ -3255,16 +3255,16 @@ - - + + - - + + @@ -3272,16 +3272,16 @@ - - + + - - + + @@ -3289,16 +3289,16 @@ - - + + - - + + @@ -3306,15 +3306,17 @@ - - + + - + + + @@ -3329,9 +3331,7 @@ - - - + @@ -3339,16 +3339,16 @@ - - + + - - + + @@ -3356,16 +3356,16 @@ - - + + - - + + @@ -3373,16 +3373,16 @@ - - + + - - + + @@ -3390,16 +3390,16 @@ - - + + - - + + @@ -3407,16 +3407,16 @@ - - + + - - + + @@ -3424,16 +3424,16 @@ - - + + - - + + @@ -3441,15 +3441,17 @@ - - + + - + + + @@ -3464,9 +3466,7 @@ - - - + @@ -3474,16 +3474,16 @@ - - + + - - + + @@ -3491,16 +3491,16 @@ - - + + - - + + @@ -3508,16 +3508,16 @@ - - + + - - + + @@ -3525,16 +3525,16 @@ - - + + - - + + @@ -3542,16 +3542,16 @@ - - + + - - + + @@ -3559,16 +3559,16 @@ - - + + - - + + @@ -3576,16 +3576,16 @@ - - + + - - + + @@ -3593,16 +3593,16 @@ - - + + - - + + @@ -3610,16 +3610,16 @@ - - + + - - + + @@ -3627,16 +3627,16 @@ - - + + - - + + @@ -3644,16 +3644,16 @@ - - + + - - + + @@ -3661,16 +3661,16 @@ - - + + - - + + @@ -3678,16 +3678,16 @@ - - + + - - + + @@ -3695,16 +3695,16 @@ - - + + - - + + @@ -3712,15 +3712,17 @@ - - + + - + + + @@ -3735,9 +3737,7 @@ - - - + @@ -3745,16 +3745,16 @@ - - + + - - + + @@ -3762,16 +3762,16 @@ - - + + - - + + @@ -3779,16 +3779,16 @@ - - + + - - + + @@ -3796,16 +3796,16 @@ - - + + - - + + @@ -3813,16 +3813,16 @@ - - + + - - + + @@ -3830,16 +3830,16 @@ - - + + - - + + @@ -3847,15 +3847,17 @@ - - + + - + + + @@ -3870,9 +3872,7 @@ - - - + @@ -3880,16 +3880,16 @@ - - + + - - + + @@ -3897,16 +3897,16 @@ - - + + - - + + @@ -3914,16 +3914,16 @@ - - + + - - + + @@ -3931,16 +3931,16 @@ - - + + - - + + @@ -3948,16 +3948,16 @@ - - + + - - + + @@ -3965,16 +3965,16 @@ - - + + - - + + @@ -3982,15 +3982,17 @@ - - + + - + + + @@ -4005,9 +4007,7 @@ - - - + @@ -4015,16 +4015,16 @@ - - + + - - + + @@ -4032,16 +4032,16 @@ - - + + - - + + @@ -4049,16 +4049,16 @@ - - + + - - + + @@ -4066,16 +4066,16 @@ - - + + - - + + @@ -4083,16 +4083,16 @@ - - + + - - + + @@ -4100,16 +4100,16 @@ - - + + - - + + @@ -4117,16 +4117,16 @@ - - + + - - + + @@ -4134,16 +4134,16 @@ - - + + - - + + @@ -4151,16 +4151,16 @@ - - + + - - + + @@ -4168,16 +4168,16 @@ - - + + - - + + @@ -4185,16 +4185,16 @@ - - + + - - + + @@ -4202,16 +4202,16 @@ - - + + - - + + @@ -4219,16 +4219,16 @@ - - + + - - + + @@ -4236,16 +4236,16 @@ - - + + - - + + @@ -4253,15 +4253,17 @@ - - + + - + + + @@ -4276,9 +4278,7 @@ - - - + @@ -4286,16 +4286,16 @@ - - + + - - + + @@ -4303,16 +4303,16 @@ - - + + - - + + @@ -4320,16 +4320,16 @@ - - + + - - + + @@ -4337,16 +4337,16 @@ - - + + - - + + @@ -4354,16 +4354,16 @@ - - + + - - + + @@ -4371,16 +4371,16 @@ - - + + - - + + @@ -4388,15 +4388,17 @@ - - + + - + + + @@ -4411,9 +4413,7 @@ - - - + @@ -4421,16 +4421,16 @@ - - + + - - + + @@ -4438,16 +4438,16 @@ - - + + - - + + @@ -4455,16 +4455,16 @@ - - + + - - + + @@ -4472,16 +4472,16 @@ - - + + - - + + @@ -4489,16 +4489,16 @@ - - + + - - + + @@ -4506,16 +4506,16 @@ - - + + - - + + @@ -4523,15 +4523,17 @@ - - + + - + + + @@ -4546,7 +4548,6 @@ - @@ -5994,7 +5995,7 @@ - + diff --git a/StaticData/serverHash.xml b/StaticData/serverHash.xml index 0380585..7b30c78 100644 --- a/StaticData/serverHash.xml +++ b/StaticData/serverHash.xml @@ -208,7 +208,7 @@ - + @@ -8845,6 +8845,7 @@ + diff --git a/StaticData/settings.xml b/StaticData/settings.xml index c5a18c4..f6d1540 100644 --- a/StaticData/settings.xml +++ b/StaticData/settings.xml @@ -1,5 +1,5 @@ - - + + diff --git a/StaticData/streamingHash.xml b/StaticData/streamingHash.xml index 1fc7421..70c7402 100644 --- a/StaticData/streamingHash.xml +++ b/StaticData/streamingHash.xml @@ -15,9 +15,8 @@ - - + @@ -31,26 +30,26 @@ - - - + + + - - + + - - + + @@ -58,16 +57,16 @@ - - + + - - - + + + @@ -75,16 +74,16 @@ - - + + - - + + @@ -92,33 +91,33 @@ - - + + - - - + + + - - + + - - + + @@ -126,16 +125,16 @@ - - + + - - + + @@ -143,16 +142,16 @@ - - + + - - + + @@ -160,16 +159,16 @@ - - + + - - + + @@ -177,16 +176,16 @@ - - + + - - + + @@ -194,16 +193,16 @@ - - + + - - - + + + @@ -211,16 +210,16 @@ - - + + - - + + @@ -228,16 +227,16 @@ - - + + - - + + @@ -245,16 +244,16 @@ - - + + - - + + @@ -262,15 +261,17 @@ - - + + - + + + @@ -285,9 +286,7 @@ - - - + @@ -295,16 +294,16 @@ - - + + - - + + @@ -312,16 +311,16 @@ - - + + - - + + @@ -329,16 +328,16 @@ - - + + - - + + @@ -346,16 +345,16 @@ - - + + - - + + @@ -363,33 +362,33 @@ - - + + - - - + + + - - + + - - + + @@ -397,16 +396,16 @@ - - + + - - + + @@ -414,16 +413,16 @@ - - + + - - + + @@ -431,16 +430,16 @@ - - + + - - + + @@ -448,16 +447,16 @@ - - + + - - + + @@ -465,16 +464,16 @@ - - + + - - + + @@ -482,16 +481,16 @@ - - + + - - + + @@ -499,16 +498,16 @@ - - + + - - + + @@ -516,16 +515,16 @@ - - + + - - + + @@ -533,15 +532,17 @@ - - + + - + + + @@ -556,9 +557,7 @@ - - - + @@ -566,16 +565,16 @@ - - + + - - + + @@ -583,16 +582,16 @@ - - + + - - + + @@ -600,16 +599,16 @@ - - + + - - + + @@ -617,16 +616,16 @@ - - + + - - + + @@ -634,16 +633,16 @@ - - + + - - + + @@ -651,16 +650,16 @@ - - + + - - + + @@ -668,16 +667,16 @@ - - + + - - + + @@ -685,16 +684,16 @@ - - + + - - + + @@ -702,16 +701,16 @@ - - + + - - + + @@ -719,16 +718,16 @@ - - + + - - + + @@ -736,16 +735,16 @@ - - + + + - - + @@ -753,16 +752,16 @@ - - + + - - + + @@ -770,16 +769,16 @@ - - + + - - + + @@ -787,16 +786,16 @@ - - + + - - + + @@ -804,15 +803,17 @@ - - + + - + + + @@ -827,9 +828,7 @@ - - - + @@ -837,16 +836,16 @@ - - + + - - + + @@ -854,16 +853,16 @@ - - + + - - + + @@ -871,16 +870,16 @@ - - + + - - + + @@ -888,16 +887,16 @@ - - + + - - + + @@ -905,16 +904,16 @@ - - + + - - + + @@ -922,16 +921,16 @@ - - + + - - + + @@ -939,15 +938,17 @@ - - + + - + + + @@ -962,9 +963,7 @@ - - - + @@ -972,16 +971,16 @@ - - + + - - + + @@ -989,16 +988,16 @@ - - + + - - + + @@ -1006,16 +1005,16 @@ - - + + - - + + @@ -1023,16 +1022,16 @@ - - + + - - + + @@ -1040,16 +1039,16 @@ - - + + - - + + @@ -1057,16 +1056,16 @@ - - + + - - + + @@ -1074,15 +1073,17 @@ - - + + - + + + @@ -1097,9 +1098,7 @@ - - - + @@ -1107,16 +1106,16 @@ - - + + - - + + @@ -1124,16 +1123,16 @@ - - + + - - + + @@ -1141,16 +1140,16 @@ - - + + - - + + @@ -1158,16 +1157,16 @@ - - + + - - + + @@ -1175,16 +1174,16 @@ - - + + - - + + @@ -1192,16 +1191,16 @@ - - + + - - + + @@ -1209,16 +1208,16 @@ - - + + - - + + @@ -1226,16 +1225,16 @@ - - + + - - + + @@ -1243,16 +1242,16 @@ - - + + - - + + @@ -1260,16 +1259,16 @@ - - + + - - + + @@ -1277,16 +1276,16 @@ - - + + - - + + @@ -1294,16 +1293,16 @@ - - + + - - + + @@ -1311,16 +1310,16 @@ - - + + - - + + @@ -1328,16 +1327,16 @@ - - + + - - + + @@ -1345,15 +1344,17 @@ - - + + - + + + @@ -1368,9 +1369,7 @@ - - - + @@ -1378,16 +1377,16 @@ - - + + - - + + @@ -1395,16 +1394,16 @@ - - + + - - + + @@ -1412,16 +1411,16 @@ - - + + - - + + @@ -1429,14 +1428,15 @@ - - + + + @@ -1471,8 +1471,7 @@ - - + @@ -1480,32 +1479,33 @@ - - + + - - - - - - - + - - - - - - - - - + + + + + + + + + + + + + + + + @@ -1513,16 +1513,16 @@ - - + + - - + + @@ -1530,16 +1530,16 @@ - - + + - - + + @@ -1547,16 +1547,16 @@ - - + + - - + + @@ -1564,16 +1564,16 @@ - - + + - - + + @@ -1581,16 +1581,16 @@ - - + + - - + + @@ -1598,16 +1598,16 @@ - - + + - - + + @@ -1615,15 +1615,17 @@ - - + + - + + + @@ -1638,9 +1640,7 @@ - - - + @@ -1648,16 +1648,16 @@ - - + + - - + + @@ -1665,16 +1665,16 @@ - - + + - - + + @@ -1682,16 +1682,16 @@ - - + + - - + + @@ -1699,16 +1699,16 @@ - - + + - - + + @@ -1716,16 +1716,16 @@ - - + + - - + + @@ -1733,16 +1733,16 @@ - - + + - - + + @@ -1750,16 +1750,16 @@ - - + + - - + + @@ -1767,16 +1767,16 @@ - - + + - - + + @@ -1784,16 +1784,16 @@ - - + + - - + + @@ -1801,16 +1801,16 @@ - - + + - - + + @@ -1818,16 +1818,16 @@ - - + + - - + + @@ -1835,16 +1835,16 @@ - - + + - - + + @@ -1852,16 +1852,16 @@ - - + + - - + + @@ -1869,16 +1869,16 @@ - - + + - - + + @@ -1886,15 +1886,17 @@ - - + + - + + + @@ -1909,9 +1911,7 @@ - - - + @@ -1919,16 +1919,16 @@ - - + + - - + + @@ -1936,16 +1936,16 @@ - - + + - - + + @@ -1953,16 +1953,16 @@ - - + + - - + + @@ -1970,16 +1970,16 @@ - - + + - - + + @@ -1987,16 +1987,16 @@ - - + + - - + + @@ -2004,16 +2004,16 @@ - - + + - - + + @@ -2021,15 +2021,17 @@ - - + + - + + + @@ -2044,9 +2046,7 @@ - - - + @@ -2054,16 +2054,16 @@ - - + + - - + + @@ -2071,16 +2071,16 @@ - - + + - - + + @@ -2088,16 +2088,16 @@ - - + + - - + + @@ -2105,16 +2105,16 @@ - - + + - - + + @@ -2122,16 +2122,16 @@ - - + + - - + + @@ -2139,16 +2139,16 @@ - - + + - - + + @@ -2156,15 +2156,17 @@ - - + + - + + + @@ -2179,9 +2181,7 @@ - - - + @@ -2189,16 +2189,16 @@ - - + + - - + + @@ -2206,16 +2206,16 @@ - - + + - - + + @@ -2223,16 +2223,16 @@ - - + + - - + + @@ -2240,16 +2240,16 @@ - - + + - - + + @@ -2257,16 +2257,16 @@ - - + + - - + + @@ -2274,16 +2274,16 @@ - - + + - - + + @@ -2291,16 +2291,16 @@ - - + + - - + + @@ -2308,16 +2308,16 @@ - - + + - - + + @@ -2325,16 +2325,16 @@ - - + + - - + + @@ -2342,16 +2342,16 @@ - - + + - - + + @@ -2359,16 +2359,16 @@ - - + + - - + + @@ -2376,16 +2376,16 @@ - - + + - - + + @@ -2393,16 +2393,16 @@ - - + + - - + + @@ -2410,16 +2410,16 @@ - - + + - - + + @@ -2427,15 +2427,17 @@ - - + + - + + + @@ -2450,9 +2452,7 @@ - - - + @@ -2460,16 +2460,16 @@ - - + + - - + + @@ -2477,16 +2477,16 @@ - - + + - - + + @@ -2494,16 +2494,16 @@ - - + + - - + + @@ -2511,16 +2511,16 @@ - - + + - - + + @@ -2528,16 +2528,16 @@ - - + + - - + + @@ -2545,16 +2545,16 @@ - - + + - - + + @@ -2562,16 +2562,16 @@ - - + + - - + + @@ -2579,16 +2579,16 @@ - - + + - - + + @@ -2596,16 +2596,16 @@ - - + + - - + + @@ -2613,16 +2613,16 @@ - - + + - - + + @@ -2630,16 +2630,16 @@ - - + + - - + + @@ -2647,16 +2647,16 @@ - - + + - - + + @@ -2664,16 +2664,16 @@ - - + + - - + + @@ -2681,16 +2681,16 @@ - - + + - - + + @@ -2698,15 +2698,17 @@ - - + + - + + + @@ -2721,9 +2723,7 @@ - - - + @@ -2731,16 +2731,16 @@ - - + + - - + + @@ -2748,16 +2748,16 @@ - - + + - - + + @@ -2765,16 +2765,16 @@ - - + + - - + + @@ -2782,16 +2782,16 @@ - - + + - - + + @@ -2799,16 +2799,16 @@ - - + + - - + + @@ -2816,16 +2816,16 @@ - - + + - - + + @@ -2833,16 +2833,16 @@ - - + + - - + + @@ -2850,16 +2850,16 @@ - - + + - - + + @@ -2867,16 +2867,16 @@ - - + + - - + + @@ -2884,24 +2884,25 @@ - - + + + - + - + @@ -2909,8 +2910,7 @@ - - + @@ -2918,16 +2918,16 @@ - - + + - - + + @@ -2935,16 +2935,16 @@ - - + + - - + + @@ -2952,16 +2952,16 @@ - - + + - - + + @@ -2969,15 +2969,17 @@ - - + + - + + + @@ -2992,9 +2994,7 @@ - - - + @@ -3002,16 +3002,16 @@ - - + + - - + + @@ -3019,16 +3019,16 @@ - - + + - - + + @@ -3036,16 +3036,16 @@ - - + + - - + + @@ -3053,16 +3053,16 @@ - - + + - - + + @@ -3070,16 +3070,16 @@ - - + + - - + + @@ -3087,16 +3087,16 @@ - - + + - - + + @@ -3104,15 +3104,17 @@ - - + + - + + + @@ -3127,9 +3129,7 @@ - - - + @@ -3137,16 +3137,16 @@ - - + + - - + + @@ -3154,16 +3154,16 @@ - - + + - - + + @@ -3171,16 +3171,16 @@ - - + + - - + + @@ -3188,16 +3188,16 @@ - - + + - - + + @@ -3205,16 +3205,16 @@ - - + + - - + + @@ -3222,16 +3222,16 @@ - - + + - - + + @@ -3239,15 +3239,17 @@ - - + + - + + + @@ -3262,9 +3264,7 @@ - - - + @@ -3272,16 +3272,16 @@ - - + + - - + + @@ -3289,16 +3289,16 @@ - - + + - - + + @@ -3306,16 +3306,16 @@ - - + + - - + + @@ -3323,16 +3323,16 @@ - - + + - - + + @@ -3340,16 +3340,16 @@ - - + + - - + + @@ -3357,16 +3357,16 @@ - - + + - - + + @@ -3374,16 +3374,16 @@ - - + + - - + + @@ -3391,16 +3391,16 @@ - - + + - - + + @@ -3408,16 +3408,16 @@ - - + + - - + + @@ -3425,16 +3425,16 @@ - - + + - - + + @@ -3442,16 +3442,16 @@ - - + + - - + + @@ -3459,16 +3459,16 @@ - - + + - - + + @@ -3476,16 +3476,16 @@ - - + + - - + + @@ -3493,16 +3493,16 @@ - - + + - - + + @@ -3510,15 +3510,17 @@ - - + + - + + + @@ -3533,9 +3535,7 @@ - - - + @@ -3543,16 +3543,16 @@ - - + + - - + + @@ -3560,16 +3560,16 @@ - - + + - - + + @@ -3577,16 +3577,16 @@ - - + + - - + + @@ -3594,16 +3594,16 @@ - - + + - - + + @@ -3611,16 +3611,16 @@ - - + + - - + + @@ -3628,16 +3628,16 @@ - - + + - - + + @@ -3645,15 +3645,17 @@ - - + + - + + + @@ -3668,9 +3670,7 @@ - - - + @@ -3678,16 +3678,16 @@ - - + + - - + + @@ -3695,16 +3695,16 @@ - - + + - - + + @@ -3712,16 +3712,16 @@ - - + + - - + + @@ -3729,16 +3729,16 @@ - - + + - - + + @@ -3746,16 +3746,16 @@ - - + + - - + + @@ -3763,16 +3763,16 @@ - - + + - - + + @@ -3780,15 +3780,17 @@ - - + + - + + + @@ -3803,9 +3805,7 @@ - - - + @@ -3813,16 +3813,16 @@ - - + + - - + + @@ -3830,16 +3830,16 @@ - - + + - - + + @@ -3847,16 +3847,16 @@ - - + + - - + + @@ -3864,16 +3864,16 @@ - - + + - - + + @@ -3881,16 +3881,16 @@ - - + + - - + + @@ -3898,16 +3898,16 @@ - - + + - - + + @@ -3915,16 +3915,16 @@ - - + + - - + + @@ -3932,16 +3932,16 @@ - - + + - - + + @@ -3949,16 +3949,16 @@ - - + + - - + + @@ -3966,16 +3966,16 @@ - - + + - - + + @@ -3983,16 +3983,16 @@ - - + + - - + + @@ -4000,16 +4000,16 @@ - - + + - - + + @@ -4017,16 +4017,16 @@ - - + + - - + + @@ -4034,16 +4034,16 @@ - - + + - - + + @@ -4051,15 +4051,17 @@ - - + + - + + + @@ -4074,9 +4076,7 @@ - - - + @@ -4084,16 +4084,16 @@ - - + + - - + + @@ -4101,16 +4101,16 @@ - - + + - - + + @@ -4118,16 +4118,16 @@ - - + + - - + + @@ -4135,16 +4135,16 @@ - - + + - - + + @@ -4152,16 +4152,16 @@ - - + + - - + + @@ -4169,16 +4169,16 @@ - - + + - - + + @@ -4186,15 +4186,17 @@ - - + + - + + + @@ -4209,9 +4211,7 @@ - - - + @@ -4219,16 +4219,16 @@ - - + + - - + + @@ -4236,16 +4236,16 @@ - - + + - - + + @@ -4253,16 +4253,16 @@ - - + + - - + + @@ -4270,16 +4270,16 @@ - - + + - - + + @@ -4287,16 +4287,16 @@ - - + + - - + + @@ -4304,16 +4304,16 @@ - - + + - - + + @@ -4321,15 +4321,17 @@ - - + + - + + + @@ -4344,7 +4346,6 @@ - @@ -5792,7 +5793,7 @@ - + diff --git a/StaticData/temp.xml b/StaticData/temp.xml index d67ab92..021a729 100644 --- a/StaticData/temp.xml +++ b/StaticData/temp.xml @@ -1,2 +1,2 @@ - + diff --git a/coremanager.cpp b/coremanager.cpp index 0838348..d10b627 100644 --- a/coremanager.cpp +++ b/coremanager.cpp @@ -81,7 +81,6 @@ void CoreManager::binding() connect(postProcessorSystem,&PostProcessorSystem::sigServerBlocked,this,&CoreManager::serverBlocked,Qt::AutoConnection); connect(postProcessorSystem,&PostProcessorSystem::sigStartCompare,hashComparer,&HashComparer::CompareDeltas,Qt::AutoConnection); // ОПАСНОСТЬ connect(postProcessorSystem,&PostProcessorSystem::sigSaveLoginData,this,&CoreManager::checkLoginResult,Qt::AutoConnection); - connect(postProcessorSystem,&PostProcessorSystem::sigShowUpdateList,this,&CoreManager::checkUpdateInfo,Qt::AutoConnection); connect(versionContainer,&VersionContainer::sigSetServerVersion,this,&CoreManager::setServerVersion,Qt::AutoConnection); @@ -103,8 +102,6 @@ void CoreManager::binding() connect(sendSystem,&SendSystem::sigSend,this,&CoreManager::calcUpdateProgress,Qt::AutoConnection); connect(sendSystem,&SendSystem::sigGetXmlAnswer,dataParserOutput,&DataParserOutput::xmlAnswer_notify,Qt::DirectConnection);//ОПАСНОСТЬ - connect(dataParser,&DataParser::sigNotify,widgetManager->getNotifyController(),&NotifyController::showWarning,Qt::AutoConnection);//ОПАСНОСТЬ - connect(dataParser,&DataParser::sigUpdateFilesOnServer,updateController,&UpdateController::updateFilesOnServer,Qt::AutoConnection);//ОПАСНОСТЬ } void CoreManager::initializeSystems()