feat: change version

This commit is contained in:
semenov
2025-01-20 09:08:46 +03:00
parent d2eb0d4525
commit 706fd40804
37 changed files with 251 additions and 7309 deletions

View File

@@ -23,8 +23,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_MainWindow_t {
QByteArrayData data[63];
char stringdata0[961];
QByteArrayData data[61];
char stringdata0[927];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -60,42 +60,40 @@ QT_MOC_LITERAL(23, 296, 10), // "PacketType"
QT_MOC_LITERAL(24, 307, 10), // "packetType"
QT_MOC_LITERAL(25, 318, 16), // "sigSendXMLAnswer"
QT_MOC_LITERAL(26, 335, 6), // "answer"
QT_MOC_LITERAL(27, 342, 22), // "sigUpdateFilesOnServer"
QT_MOC_LITERAL(28, 365, 16), // "QList<FileData>*"
QT_MOC_LITERAL(29, 382, 12), // "fileSendList"
QT_MOC_LITERAL(30, 395, 13), // "sigSetConnect"
QT_MOC_LITERAL(31, 409, 15), // "ServerSettings*"
QT_MOC_LITERAL(32, 425, 14), // "serverSettings"
QT_MOC_LITERAL(33, 440, 16), // "sigCalculateHash"
QT_MOC_LITERAL(34, 457, 19), // "sigSendAutorization"
QT_MOC_LITERAL(35, 477, 12), // "sigSendCheck"
QT_MOC_LITERAL(36, 490, 15), // "sigGetConnected"
QT_MOC_LITERAL(37, 506, 14), // "showUpdateInfo"
QT_MOC_LITERAL(38, 521, 21), // "showCompleteDialogBox"
QT_MOC_LITERAL(39, 543, 19), // "slotConnectionState"
QT_MOC_LITERAL(40, 563, 4), // "flag"
QT_MOC_LITERAL(41, 568, 20), // "slotServerDisconnect"
QT_MOC_LITERAL(42, 589, 14), // "updateProgress"
QT_MOC_LITERAL(43, 604, 12), // "loadComplete"
QT_MOC_LITERAL(44, 617, 14), // "lostConnection"
QT_MOC_LITERAL(45, 632, 13), // "serverBlocked"
QT_MOC_LITERAL(46, 646, 16), // "checkLoginResult"
QT_MOC_LITERAL(47, 663, 20), // "ServerAuthorization*"
QT_MOC_LITERAL(48, 684, 10), // "serverAuth"
QT_MOC_LITERAL(49, 695, 13), // "setNeedUpdate"
QT_MOC_LITERAL(50, 709, 4), // "size"
QT_MOC_LITERAL(51, 714, 9), // "fileCount"
QT_MOC_LITERAL(52, 724, 11), // "deleteCount"
QT_MOC_LITERAL(53, 736, 20), // "showServerListWidget"
QT_MOC_LITERAL(54, 757, 29), // "QList<StreamingVersionData*>*"
QT_MOC_LITERAL(55, 787, 10), // "serverData"
QT_MOC_LITERAL(56, 798, 25), // "on_settingsButton_clicked"
QT_MOC_LITERAL(57, 824, 29), // "on_languageComboBox_activated"
QT_MOC_LITERAL(58, 854, 4), // "arg1"
QT_MOC_LITERAL(59, 859, 17), // "slotDisableNotify"
QT_MOC_LITERAL(60, 877, 21), // "on_exitButton_clicked"
QT_MOC_LITERAL(61, 899, 29), // "on_offlineStartButton_clicked"
QT_MOC_LITERAL(62, 929, 31) // "on_unsafeChangingButton_clicked"
QT_MOC_LITERAL(27, 342, 13), // "sigSetConnect"
QT_MOC_LITERAL(28, 356, 15), // "ServerSettings*"
QT_MOC_LITERAL(29, 372, 14), // "serverSettings"
QT_MOC_LITERAL(30, 387, 16), // "sigCalculateHash"
QT_MOC_LITERAL(31, 404, 19), // "sigSendAutorization"
QT_MOC_LITERAL(32, 424, 12), // "sigSendCheck"
QT_MOC_LITERAL(33, 437, 15), // "sigGetConnected"
QT_MOC_LITERAL(34, 453, 18), // "sigSendCheckUpdate"
QT_MOC_LITERAL(35, 472, 14), // "showUpdateInfo"
QT_MOC_LITERAL(36, 487, 21), // "showCompleteDialogBox"
QT_MOC_LITERAL(37, 509, 19), // "slotConnectionState"
QT_MOC_LITERAL(38, 529, 4), // "flag"
QT_MOC_LITERAL(39, 534, 20), // "slotServerDisconnect"
QT_MOC_LITERAL(40, 555, 14), // "updateProgress"
QT_MOC_LITERAL(41, 570, 12), // "loadComplete"
QT_MOC_LITERAL(42, 583, 14), // "lostConnection"
QT_MOC_LITERAL(43, 598, 13), // "serverBlocked"
QT_MOC_LITERAL(44, 612, 16), // "checkLoginResult"
QT_MOC_LITERAL(45, 629, 20), // "ServerAuthorization*"
QT_MOC_LITERAL(46, 650, 10), // "serverAuth"
QT_MOC_LITERAL(47, 661, 13), // "setNeedUpdate"
QT_MOC_LITERAL(48, 675, 4), // "size"
QT_MOC_LITERAL(49, 680, 9), // "fileCount"
QT_MOC_LITERAL(50, 690, 11), // "deleteCount"
QT_MOC_LITERAL(51, 702, 20), // "showServerListWidget"
QT_MOC_LITERAL(52, 723, 29), // "QList<StreamingVersionData*>*"
QT_MOC_LITERAL(53, 753, 10), // "serverData"
QT_MOC_LITERAL(54, 764, 25), // "on_settingsButton_clicked"
QT_MOC_LITERAL(55, 790, 29), // "on_languageComboBox_activated"
QT_MOC_LITERAL(56, 820, 4), // "arg1"
QT_MOC_LITERAL(57, 825, 17), // "slotDisableNotify"
QT_MOC_LITERAL(58, 843, 21), // "on_exitButton_clicked"
QT_MOC_LITERAL(59, 865, 29), // "on_offlineStartButton_clicked"
QT_MOC_LITERAL(60, 895, 31) // "on_unsafeChangingButton_clicked"
},
"MainWindow\0sigInitializeClient\0\0"
@@ -107,12 +105,11 @@ QT_MOC_LITERAL(62, 929, 31) // "on_unsafeChangingButton_clicked"
"DataParser*\0dataParser\0HashComparer*\0"
"hashComparer\0TCPClient*\0tcpClient\0"
"sigSendCommand\0PacketType\0packetType\0"
"sigSendXMLAnswer\0answer\0sigUpdateFilesOnServer\0"
"QList<FileData>*\0fileSendList\0"
"sigSetConnect\0ServerSettings*\0"
"serverSettings\0sigCalculateHash\0"
"sigSendAutorization\0sigSendCheck\0"
"sigGetConnected\0showUpdateInfo\0"
"sigSendXMLAnswer\0answer\0sigSetConnect\0"
"ServerSettings*\0serverSettings\0"
"sigCalculateHash\0sigSendAutorization\0"
"sigSendCheck\0sigGetConnected\0"
"sigSendCheckUpdate\0showUpdateInfo\0"
"showCompleteDialogBox\0slotConnectionState\0"
"flag\0slotServerDisconnect\0updateProgress\0"
"loadComplete\0lostConnection\0serverBlocked\0"
@@ -146,58 +143,58 @@ static const uint qt_meta_data_MainWindow[] = {
13, 5, 160, 2, 0x06 /* Public */,
22, 1, 171, 2, 0x06 /* Public */,
25, 1, 174, 2, 0x06 /* Public */,
27, 1, 177, 2, 0x06 /* Public */,
30, 2, 180, 2, 0x06 /* Public */,
27, 2, 177, 2, 0x06 /* Public */,
30, 0, 182, 2, 0x06 /* Public */,
31, 0, 183, 2, 0x06 /* Public */,
32, 0, 184, 2, 0x06 /* Public */,
33, 0, 185, 2, 0x06 /* Public */,
34, 0, 186, 2, 0x06 /* Public */,
35, 0, 187, 2, 0x06 /* Public */,
36, 0, 188, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
37, 0, 189, 2, 0x0a /* Public */,
38, 0, 190, 2, 0x0a /* Public */,
39, 1, 191, 2, 0x0a /* Public */,
35, 0, 187, 2, 0x0a /* Public */,
36, 0, 188, 2, 0x0a /* Public */,
37, 1, 189, 2, 0x0a /* Public */,
39, 0, 192, 2, 0x0a /* Public */,
40, 0, 193, 2, 0x0a /* Public */,
41, 0, 194, 2, 0x0a /* Public */,
42, 0, 195, 2, 0x0a /* Public */,
43, 0, 196, 2, 0x0a /* Public */,
44, 0, 197, 2, 0x0a /* Public */,
45, 0, 198, 2, 0x0a /* Public */,
46, 1, 199, 2, 0x0a /* Public */,
49, 4, 202, 2, 0x0a /* Public */,
53, 1, 211, 2, 0x0a /* Public */,
56, 0, 214, 2, 0x08 /* Private */,
57, 1, 215, 2, 0x08 /* Private */,
44, 1, 197, 2, 0x0a /* Public */,
47, 4, 200, 2, 0x0a /* Public */,
51, 1, 209, 2, 0x0a /* Public */,
54, 0, 212, 2, 0x08 /* Private */,
55, 1, 213, 2, 0x08 /* Private */,
57, 0, 216, 2, 0x08 /* Private */,
58, 0, 217, 2, 0x08 /* Private */,
59, 0, 218, 2, 0x08 /* Private */,
60, 0, 219, 2, 0x08 /* Private */,
61, 0, 220, 2, 0x08 /* Private */,
62, 0, 221, 2, 0x08 /* Private */,
// signals: parameters
QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 0x80000000 | 7, 0x80000000 | 9, 0x80000000 | 11, 4, 6, 8, 10, 12,
QMetaType::Void, 0x80000000 | 14, 0x80000000 | 16, 0x80000000 | 3, 0x80000000 | 18, 0x80000000 | 20, 15, 17, 4, 19, 21,
QMetaType::Void, 0x80000000 | 23, 24,
QMetaType::Void, QMetaType::QString, 26,
QMetaType::Void, 0x80000000 | 28, 29,
QMetaType::Void, 0x80000000 | 31, 0x80000000 | 11, 32, 12,
QMetaType::Void, 0x80000000 | 28, 0x80000000 | 11, 29, 12,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Bool,
QMetaType::Void,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Bool, 40,
QMetaType::Void, QMetaType::Bool, 38,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 47, 48,
QMetaType::Void, QMetaType::Bool, QMetaType::ULongLong, QMetaType::ULongLong, QMetaType::ULongLong, 40, 50, 51, 52,
QMetaType::Void, 0x80000000 | 54, 55,
QMetaType::Void, 0x80000000 | 45, 46,
QMetaType::Void, QMetaType::Bool, QMetaType::ULongLong, QMetaType::ULongLong, QMetaType::ULongLong, 38, 48, 49, 50,
QMetaType::Void, 0x80000000 | 52, 53,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 58,
QMetaType::Void, QMetaType::QString, 56,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
@@ -216,13 +213,13 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
case 1: _t->sigRecognize((*reinterpret_cast< UpdateController*(*)>(_a[1])),(*reinterpret_cast< DataParser*(*)>(_a[2])),(*reinterpret_cast< MainWindow*(*)>(_a[3])),(*reinterpret_cast< HashComparer*(*)>(_a[4])),(*reinterpret_cast< TCPClient*(*)>(_a[5]))); break;
case 2: _t->sigSendCommand((*reinterpret_cast< PacketType(*)>(_a[1]))); break;
case 3: _t->sigSendXMLAnswer((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 4: _t->sigUpdateFilesOnServer((*reinterpret_cast< QList<FileData>*(*)>(_a[1]))); break;
case 5: _t->sigSetConnect((*reinterpret_cast< ServerSettings*(*)>(_a[1])),(*reinterpret_cast< QThread*(*)>(_a[2]))); break;
case 6: _t->sigCalculateHash(); break;
case 7: _t->sigSendAutorization(); break;
case 8: _t->sigSendCheck(); break;
case 9: { bool _r = _t->sigGetConnected();
case 4: _t->sigSetConnect((*reinterpret_cast< ServerSettings*(*)>(_a[1])),(*reinterpret_cast< QThread*(*)>(_a[2]))); break;
case 5: _t->sigCalculateHash(); break;
case 6: _t->sigSendAutorization(); break;
case 7: _t->sigSendCheck(); break;
case 8: { bool _r = _t->sigGetConnected();
if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
case 9: _t->sigSendCheckUpdate(); break;
case 10: _t->showUpdateInfo(); break;
case 11: _t->showCompleteDialogBox(); break;
case 12: _t->slotConnectionState((*reinterpret_cast< bool(*)>(_a[1]))); break;
@@ -275,7 +272,7 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UpdateController* >(); break;
}
break;
case 5:
case 4:
switch (*reinterpret_cast<int*>(_a[1])) {
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
case 1:
@@ -313,44 +310,44 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
return;
}
}
{
using _t = void (MainWindow::*)(QList<FileData> * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigUpdateFilesOnServer)) {
*result = 4;
return;
}
}
{
using _t = void (MainWindow::*)(ServerSettings * , QThread * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSetConnect)) {
*result = 5;
*result = 4;
return;
}
}
{
using _t = void (MainWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigCalculateHash)) {
*result = 6;
*result = 5;
return;
}
}
{
using _t = void (MainWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSendAutorization)) {
*result = 7;
*result = 6;
return;
}
}
{
using _t = void (MainWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSendCheck)) {
*result = 8;
*result = 7;
return;
}
}
{
using _t = bool (MainWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigGetConnected)) {
*result = 8;
return;
}
}
{
using _t = void (MainWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSendCheckUpdate)) {
*result = 9;
return;
}
@@ -427,44 +424,43 @@ void MainWindow::sigSendXMLAnswer(QString _t1)
}
// SIGNAL 4
void MainWindow::sigUpdateFilesOnServer(QList<FileData> * _t1)
void MainWindow::sigSetConnect(ServerSettings * _t1, QThread * _t2)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
// SIGNAL 5
void MainWindow::sigSetConnect(ServerSettings * _t1, QThread * _t2)
void MainWindow::sigCalculateHash()
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
QMetaObject::activate(this, &staticMetaObject, 5, _a);
QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
// SIGNAL 6
void MainWindow::sigCalculateHash()
void MainWindow::sigSendAutorization()
{
QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
// SIGNAL 7
void MainWindow::sigSendAutorization()
void MainWindow::sigSendCheck()
{
QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
// SIGNAL 8
void MainWindow::sigSendCheck()
{
QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
// SIGNAL 9
bool MainWindow::sigGetConnected()
{
bool _t0{};
void *_a[] = { const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t0))) };
QMetaObject::activate(this, &staticMetaObject, 9, _a);
QMetaObject::activate(this, &staticMetaObject, 8, _a);
return _t0;
}
// SIGNAL 9
void MainWindow::sigSendCheckUpdate()
{
QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE