Files
RRJClient/debug/moc_mainwindow.cpp
2025-01-17 10:49:27 +03:00

471 lines
19 KiB
C++

/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../mainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainwindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.14.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_MainWindow_t {
QByteArrayData data[63];
char stringdata0[961];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
{
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 19), // "sigInitializeClient"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 11), // "MainWindow*"
QT_MOC_LITERAL(4, 44, 10), // "mainWindow"
QT_MOC_LITERAL(5, 55, 16), // "RecognizeSystem*"
QT_MOC_LITERAL(6, 72, 15), // "recognizeSystem"
QT_MOC_LITERAL(7, 88, 17), // "ExternalExecuter*"
QT_MOC_LITERAL(8, 106, 16), // "externalExecuter"
QT_MOC_LITERAL(9, 123, 11), // "SendSystem*"
QT_MOC_LITERAL(10, 135, 10), // "sendSystem"
QT_MOC_LITERAL(11, 146, 8), // "QThread*"
QT_MOC_LITERAL(12, 155, 6), // "thread"
QT_MOC_LITERAL(13, 162, 12), // "sigRecognize"
QT_MOC_LITERAL(14, 175, 17), // "UpdateController*"
QT_MOC_LITERAL(15, 193, 16), // "updateController"
QT_MOC_LITERAL(16, 210, 11), // "DataParser*"
QT_MOC_LITERAL(17, 222, 10), // "dataParser"
QT_MOC_LITERAL(18, 233, 13), // "HashComparer*"
QT_MOC_LITERAL(19, 247, 12), // "hashComparer"
QT_MOC_LITERAL(20, 260, 10), // "TCPClient*"
QT_MOC_LITERAL(21, 271, 9), // "tcpClient"
QT_MOC_LITERAL(22, 281, 14), // "sigSendCommand"
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"
},
"MainWindow\0sigInitializeClient\0\0"
"MainWindow*\0mainWindow\0RecognizeSystem*\0"
"recognizeSystem\0ExternalExecuter*\0"
"externalExecuter\0SendSystem*\0sendSystem\0"
"QThread*\0thread\0sigRecognize\0"
"UpdateController*\0updateController\0"
"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"
"showCompleteDialogBox\0slotConnectionState\0"
"flag\0slotServerDisconnect\0updateProgress\0"
"loadComplete\0lostConnection\0serverBlocked\0"
"checkLoginResult\0ServerAuthorization*\0"
"serverAuth\0setNeedUpdate\0size\0fileCount\0"
"deleteCount\0showServerListWidget\0"
"QList<StreamingVersionData*>*\0serverData\0"
"on_settingsButton_clicked\0"
"on_languageComboBox_activated\0arg1\0"
"slotDisableNotify\0on_exitButton_clicked\0"
"on_offlineStartButton_clicked\0"
"on_unsafeChangingButton_clicked"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_MainWindow[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
27, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
10, // signalCount
// signals: name, argc, parameters, tag, flags
1, 5, 149, 2, 0x06 /* Public */,
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 */,
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 */,
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 */,
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,
QMetaType::Void,
QMetaType::Void,
QMetaType::Bool,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Bool, 40,
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,
QMetaType::Void, QMetaType::QString, 58,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
0 // eod
};
void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<MainWindow *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->sigInitializeClient((*reinterpret_cast< MainWindow*(*)>(_a[1])),(*reinterpret_cast< RecognizeSystem*(*)>(_a[2])),(*reinterpret_cast< ExternalExecuter*(*)>(_a[3])),(*reinterpret_cast< SendSystem*(*)>(_a[4])),(*reinterpret_cast< QThread*(*)>(_a[5]))); break;
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();
if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
case 10: _t->showUpdateInfo(); break;
case 11: _t->showCompleteDialogBox(); break;
case 12: _t->slotConnectionState((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 13: _t->slotServerDisconnect(); break;
case 14: _t->updateProgress(); break;
case 15: _t->loadComplete(); break;
case 16: _t->lostConnection(); break;
case 17: _t->serverBlocked(); break;
case 18: _t->checkLoginResult((*reinterpret_cast< ServerAuthorization*(*)>(_a[1]))); break;
case 19: _t->setNeedUpdate((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< quint64(*)>(_a[2])),(*reinterpret_cast< quint64(*)>(_a[3])),(*reinterpret_cast< quint64(*)>(_a[4]))); break;
case 20: _t->showServerListWidget((*reinterpret_cast< QList<StreamingVersionData*>*(*)>(_a[1]))); break;
case 21: _t->on_settingsButton_clicked(); break;
case 22: _t->on_languageComboBox_activated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 23: _t->slotDisableNotify(); break;
case 24: _t->on_exitButton_clicked(); break;
case 25: _t->on_offlineStartButton_clicked(); break;
case 26: _t->on_unsafeChangingButton_clicked(); break;
default: ;
}
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
switch (_id) {
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
case 0:
switch (*reinterpret_cast<int*>(_a[1])) {
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
case 2:
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ExternalExecuter* >(); break;
case 0:
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MainWindow* >(); break;
case 4:
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QThread* >(); break;
case 1:
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< RecognizeSystem* >(); break;
case 3:
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< SendSystem* >(); break;
}
break;
case 1:
switch (*reinterpret_cast<int*>(_a[1])) {
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
case 1:
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< DataParser* >(); break;
case 3:
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< HashComparer* >(); break;
case 2:
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MainWindow* >(); break;
case 4:
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TCPClient* >(); break;
case 0:
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UpdateController* >(); break;
}
break;
case 5:
switch (*reinterpret_cast<int*>(_a[1])) {
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
case 1:
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QThread* >(); break;
}
break;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (MainWindow::*)(MainWindow * , RecognizeSystem * , ExternalExecuter * , SendSystem * , QThread * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigInitializeClient)) {
*result = 0;
return;
}
}
{
using _t = void (MainWindow::*)(UpdateController * , DataParser * , MainWindow * , HashComparer * , TCPClient * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigRecognize)) {
*result = 1;
return;
}
}
{
using _t = void (MainWindow::*)(PacketType );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSendCommand)) {
*result = 2;
return;
}
}
{
using _t = void (MainWindow::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSendXMLAnswer)) {
*result = 3;
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;
return;
}
}
{
using _t = void (MainWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigCalculateHash)) {
*result = 6;
return;
}
}
{
using _t = void (MainWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSendAutorization)) {
*result = 7;
return;
}
}
{
using _t = void (MainWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSendCheck)) {
*result = 8;
return;
}
}
{
using _t = bool (MainWindow::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigGetConnected)) {
*result = 9;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
qt_meta_stringdata_MainWindow.data,
qt_meta_data_MainWindow,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *MainWindow::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *MainWindow::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
return static_cast<void*>(this);
return QMainWindow::qt_metacast(_clname);
}
int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QMainWindow::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 27)
qt_static_metacall(this, _c, _id, _a);
_id -= 27;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 27)
qt_static_metacall(this, _c, _id, _a);
_id -= 27;
}
return _id;
}
// SIGNAL 0
void MainWindow::sigInitializeClient(MainWindow * _t1, RecognizeSystem * _t2, ExternalExecuter * _t3, SendSystem * _t4, QThread * _t5)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t5))) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void MainWindow::sigRecognize(UpdateController * _t1, DataParser * _t2, MainWindow * _t3, HashComparer * _t4, TCPClient * _t5)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t5))) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
// SIGNAL 2
void MainWindow::sigSendCommand(PacketType _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
// SIGNAL 3
void MainWindow::sigSendXMLAnswer(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
// SIGNAL 4
void MainWindow::sigUpdateFilesOnServer(QList<FileData> * _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
// SIGNAL 5
void MainWindow::sigSetConnect(ServerSettings * _t1, QThread * _t2)
{
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);
}
// SIGNAL 6
void MainWindow::sigCalculateHash()
{
QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
// SIGNAL 7
void MainWindow::sigSendAutorization()
{
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);
return _t0;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE