mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
fead: load without animation
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
debug/hashcomparer.o
Normal file
BIN
debug/hashcomparer.o
Normal file
Binary file not shown.
BIN
debug/main.o
BIN
debug/main.o
Binary file not shown.
Binary file not shown.
@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_UpdateController_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[17];
|
||||
QByteArrayData data[4];
|
||||
char stringdata0[41];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@@ -32,10 +32,14 @@ struct qt_meta_stringdata_UpdateController_t {
|
||||
)
|
||||
static const qt_meta_stringdata_UpdateController_t qt_meta_stringdata_UpdateController = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 16) // "UpdateController"
|
||||
QT_MOC_LITERAL(0, 0, 16), // "UpdateController"
|
||||
QT_MOC_LITERAL(1, 17, 17), // "sigUpdateComplete"
|
||||
QT_MOC_LITERAL(2, 35, 0), // ""
|
||||
QT_MOC_LITERAL(3, 36, 4) // "flag"
|
||||
|
||||
},
|
||||
"UpdateController"
|
||||
"UpdateController\0sigUpdateComplete\0\0"
|
||||
"flag"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
@@ -45,22 +49,41 @@ static const uint qt_meta_data_UpdateController[] = {
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 19, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::Bool, 3,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void UpdateController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<UpdateController *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->sigUpdateComplete((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (UpdateController::*)(bool );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UpdateController::sigUpdateComplete)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject UpdateController::staticMetaObject = { {
|
||||
@@ -89,7 +112,25 @@ void *UpdateController::qt_metacast(const char *_clname)
|
||||
int UpdateController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void UpdateController::sigUpdateComplete(bool _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
134
debug/moc_hashcomparer.cpp
Normal file
134
debug/moc_hashcomparer.cpp
Normal file
@@ -0,0 +1,134 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'hashcomparer.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 "../Core/hashcomparer.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'hashcomparer.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_HashComparer_t {
|
||||
QByteArrayData data[3];
|
||||
char stringdata0[27];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_HashComparer_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_HashComparer_t qt_meta_stringdata_HashComparer = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 12), // "HashComparer"
|
||||
QT_MOC_LITERAL(1, 13, 12), // "sigCallCheck"
|
||||
QT_MOC_LITERAL(2, 26, 0) // ""
|
||||
|
||||
},
|
||||
"HashComparer\0sigCallCheck\0"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_HashComparer[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 19, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void HashComparer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<HashComparer *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->sigCallCheck(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (HashComparer::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HashComparer::sigCallCheck)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject HashComparer::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_HashComparer.data,
|
||||
qt_meta_data_HashComparer,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *HashComparer::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *HashComparer::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_HashComparer.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int HashComparer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void HashComparer::sigCallCheck()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
debug/moc_hashcomparer.o
Normal file
BIN
debug/moc_hashcomparer.o
Normal file
Binary file not shown.
@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_MainWindow_t {
|
||||
QByteArrayData data[26];
|
||||
char stringdata0[460];
|
||||
QByteArrayData data[30];
|
||||
char stringdata0[492];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@@ -39,35 +39,40 @@ QT_MOC_LITERAL(3, 32, 16), // "RecognizeSystem*"
|
||||
QT_MOC_LITERAL(4, 49, 15), // "recognizeSystem"
|
||||
QT_MOC_LITERAL(5, 65, 17), // "ExternalExecuter*"
|
||||
QT_MOC_LITERAL(6, 83, 16), // "externalExecuter"
|
||||
QT_MOC_LITERAL(7, 100, 13), // "sigSetConnect"
|
||||
QT_MOC_LITERAL(8, 114, 15), // "ServerSettings*"
|
||||
QT_MOC_LITERAL(9, 130, 14), // "serverSettings"
|
||||
QT_MOC_LITERAL(10, 145, 16), // "sigCalculateHash"
|
||||
QT_MOC_LITERAL(11, 162, 26), // "sigSendClientAuthorization"
|
||||
QT_MOC_LITERAL(12, 189, 14), // "sigSendMessage"
|
||||
QT_MOC_LITERAL(13, 204, 7), // "message"
|
||||
QT_MOC_LITERAL(14, 212, 22), // "on_loginButton_clicked"
|
||||
QT_MOC_LITERAL(15, 235, 23), // "on_updateButton_clicked"
|
||||
QT_MOC_LITERAL(16, 259, 22), // "on_startButton_clicked"
|
||||
QT_MOC_LITERAL(17, 282, 27), // "on_saveServerButton_clicked"
|
||||
QT_MOC_LITERAL(18, 310, 25), // "on_settingsButton_clicked"
|
||||
QT_MOC_LITERAL(19, 336, 24), // "on_connectButton_clicked"
|
||||
QT_MOC_LITERAL(20, 361, 29), // "on_languageComboBox_activated"
|
||||
QT_MOC_LITERAL(21, 391, 4), // "arg1"
|
||||
QT_MOC_LITERAL(22, 396, 17), // "slotDisableNotify"
|
||||
QT_MOC_LITERAL(23, 414, 19), // "slotConnectionState"
|
||||
QT_MOC_LITERAL(24, 434, 4), // "flag"
|
||||
QT_MOC_LITERAL(25, 439, 20) // "slotServerDisconnect"
|
||||
QT_MOC_LITERAL(7, 100, 11), // "SendSystem*"
|
||||
QT_MOC_LITERAL(8, 112, 10), // "sendSystem"
|
||||
QT_MOC_LITERAL(9, 123, 8), // "QThread*"
|
||||
QT_MOC_LITERAL(10, 132, 6), // "thread"
|
||||
QT_MOC_LITERAL(11, 139, 13), // "sigSetConnect"
|
||||
QT_MOC_LITERAL(12, 153, 15), // "ServerSettings*"
|
||||
QT_MOC_LITERAL(13, 169, 14), // "serverSettings"
|
||||
QT_MOC_LITERAL(14, 184, 16), // "sigCalculateHash"
|
||||
QT_MOC_LITERAL(15, 201, 14), // "sigSendCommand"
|
||||
QT_MOC_LITERAL(16, 216, 7), // "message"
|
||||
QT_MOC_LITERAL(17, 224, 19), // "sigSendAutorization"
|
||||
QT_MOC_LITERAL(18, 244, 22), // "on_loginButton_clicked"
|
||||
QT_MOC_LITERAL(19, 267, 23), // "on_updateButton_clicked"
|
||||
QT_MOC_LITERAL(20, 291, 22), // "on_startButton_clicked"
|
||||
QT_MOC_LITERAL(21, 314, 27), // "on_saveServerButton_clicked"
|
||||
QT_MOC_LITERAL(22, 342, 25), // "on_settingsButton_clicked"
|
||||
QT_MOC_LITERAL(23, 368, 24), // "on_connectButton_clicked"
|
||||
QT_MOC_LITERAL(24, 393, 29), // "on_languageComboBox_activated"
|
||||
QT_MOC_LITERAL(25, 423, 4), // "arg1"
|
||||
QT_MOC_LITERAL(26, 428, 17), // "slotDisableNotify"
|
||||
QT_MOC_LITERAL(27, 446, 19), // "slotConnectionState"
|
||||
QT_MOC_LITERAL(28, 466, 4), // "flag"
|
||||
QT_MOC_LITERAL(29, 471, 20) // "slotServerDisconnect"
|
||||
|
||||
},
|
||||
"MainWindow\0sigInitializeClient\0\0"
|
||||
"RecognizeSystem*\0recognizeSystem\0"
|
||||
"ExternalExecuter*\0externalExecuter\0"
|
||||
"SendSystem*\0sendSystem\0QThread*\0thread\0"
|
||||
"sigSetConnect\0ServerSettings*\0"
|
||||
"serverSettings\0sigCalculateHash\0"
|
||||
"sigSendClientAuthorization\0sigSendMessage\0"
|
||||
"message\0on_loginButton_clicked\0"
|
||||
"on_updateButton_clicked\0on_startButton_clicked\0"
|
||||
"sigSendCommand\0message\0sigSendAutorization\0"
|
||||
"on_loginButton_clicked\0on_updateButton_clicked\0"
|
||||
"on_startButton_clicked\0"
|
||||
"on_saveServerButton_clicked\0"
|
||||
"on_settingsButton_clicked\0"
|
||||
"on_connectButton_clicked\0"
|
||||
@@ -91,30 +96,30 @@ static const uint qt_meta_data_MainWindow[] = {
|
||||
5, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 89, 2, 0x06 /* Public */,
|
||||
7, 1, 94, 2, 0x06 /* Public */,
|
||||
10, 0, 97, 2, 0x06 /* Public */,
|
||||
11, 0, 98, 2, 0x06 /* Public */,
|
||||
12, 1, 99, 2, 0x06 /* Public */,
|
||||
1, 4, 89, 2, 0x06 /* Public */,
|
||||
11, 2, 98, 2, 0x06 /* Public */,
|
||||
14, 0, 103, 2, 0x06 /* Public */,
|
||||
15, 1, 104, 2, 0x06 /* Public */,
|
||||
17, 0, 107, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
14, 0, 102, 2, 0x08 /* Private */,
|
||||
15, 0, 103, 2, 0x08 /* Private */,
|
||||
16, 0, 104, 2, 0x08 /* Private */,
|
||||
17, 0, 105, 2, 0x08 /* Private */,
|
||||
18, 0, 106, 2, 0x08 /* Private */,
|
||||
19, 0, 107, 2, 0x08 /* Private */,
|
||||
20, 1, 108, 2, 0x08 /* Private */,
|
||||
22, 0, 111, 2, 0x08 /* Private */,
|
||||
23, 1, 112, 2, 0x08 /* Private */,
|
||||
25, 0, 115, 2, 0x08 /* Private */,
|
||||
18, 0, 108, 2, 0x08 /* Private */,
|
||||
19, 0, 109, 2, 0x08 /* Private */,
|
||||
20, 0, 110, 2, 0x08 /* Private */,
|
||||
21, 0, 111, 2, 0x08 /* Private */,
|
||||
22, 0, 112, 2, 0x08 /* Private */,
|
||||
23, 0, 113, 2, 0x08 /* Private */,
|
||||
24, 1, 114, 2, 0x08 /* Private */,
|
||||
26, 0, 117, 2, 0x08 /* Private */,
|
||||
27, 1, 118, 2, 0x08 /* Private */,
|
||||
29, 0, 121, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 4, 6,
|
||||
QMetaType::Void, 0x80000000 | 8, 9,
|
||||
QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 0x80000000 | 7, 0x80000000 | 9, 4, 6, 8, 10,
|
||||
QMetaType::Void, 0x80000000 | 12, 0x80000000 | 9, 13, 10,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 16,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 13,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
@@ -123,9 +128,9 @@ static const uint qt_meta_data_MainWindow[] = {
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 21,
|
||||
QMetaType::Void, QMetaType::QString, 25,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 24,
|
||||
QMetaType::Void, QMetaType::Bool, 28,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
@@ -137,11 +142,11 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
|
||||
auto *_t = static_cast<MainWindow *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->sigInitializeClient((*reinterpret_cast< RecognizeSystem*(*)>(_a[1])),(*reinterpret_cast< ExternalExecuter*(*)>(_a[2]))); break;
|
||||
case 1: _t->sigSetConnect((*reinterpret_cast< ServerSettings*(*)>(_a[1]))); break;
|
||||
case 0: _t->sigInitializeClient((*reinterpret_cast< RecognizeSystem*(*)>(_a[1])),(*reinterpret_cast< ExternalExecuter*(*)>(_a[2])),(*reinterpret_cast< SendSystem*(*)>(_a[3])),(*reinterpret_cast< QThread*(*)>(_a[4]))); break;
|
||||
case 1: _t->sigSetConnect((*reinterpret_cast< ServerSettings*(*)>(_a[1])),(*reinterpret_cast< QThread*(*)>(_a[2]))); break;
|
||||
case 2: _t->sigCalculateHash(); break;
|
||||
case 3: _t->sigSendClientAuthorization(); break;
|
||||
case 4: _t->sigSendMessage((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 3: _t->sigSendCommand((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 4: _t->sigSendAutorization(); break;
|
||||
case 5: _t->on_loginButton_clicked(); break;
|
||||
case 6: _t->on_updateButton_clicked(); break;
|
||||
case 7: _t->on_startButton_clicked(); break;
|
||||
@@ -162,22 +167,33 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 1:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ExternalExecuter* >(); break;
|
||||
case 3:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QThread* >(); break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< RecognizeSystem* >(); break;
|
||||
case 2:
|
||||
*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< QThread* >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (MainWindow::*)(RecognizeSystem * , ExternalExecuter * );
|
||||
using _t = void (MainWindow::*)(RecognizeSystem * , ExternalExecuter * , SendSystem * , QThread * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigInitializeClient)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (MainWindow::*)(ServerSettings * );
|
||||
using _t = void (MainWindow::*)(ServerSettings * , QThread * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSetConnect)) {
|
||||
*result = 1;
|
||||
return;
|
||||
@@ -191,15 +207,15 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (MainWindow::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSendClientAuthorization)) {
|
||||
using _t = void (MainWindow::*)(QString );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSendCommand)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (MainWindow::*)(QString );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSendMessage)) {
|
||||
using _t = void (MainWindow::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sigSendAutorization)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
@@ -248,16 +264,16 @@ int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void MainWindow::sigInitializeClient(RecognizeSystem * _t1, ExternalExecuter * _t2)
|
||||
void MainWindow::sigInitializeClient(RecognizeSystem * _t1, ExternalExecuter * _t2, SendSystem * _t3, QThread * _t4)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
|
||||
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))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void MainWindow::sigSetConnect(ServerSettings * _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, 1, _a);
|
||||
}
|
||||
|
||||
@@ -268,16 +284,16 @@ void MainWindow::sigCalculateHash()
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void MainWindow::sigSendClientAuthorization()
|
||||
void MainWindow::sigSendCommand(QString _t1)
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void MainWindow::sigSendMessage(QString _t1)
|
||||
void MainWindow::sigSendAutorization()
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
|
||||
Binary file not shown.
@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_RecognizeSystem_t {
|
||||
QByteArrayData data[18];
|
||||
char stringdata0[241];
|
||||
QByteArrayData data[19];
|
||||
char stringdata0[257];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@@ -49,7 +49,8 @@ QT_MOC_LITERAL(13, 157, 16), // "sigSaveLoginData"
|
||||
QT_MOC_LITERAL(14, 174, 20), // "ServerAuthorization*"
|
||||
QT_MOC_LITERAL(15, 195, 10), // "serverAuth"
|
||||
QT_MOC_LITERAL(16, 206, 25), // "sigSocketWaitForReadyRead"
|
||||
QT_MOC_LITERAL(17, 232, 8) // "waitTime"
|
||||
QT_MOC_LITERAL(17, 232, 8), // "waitTime"
|
||||
QT_MOC_LITERAL(18, 241, 15) // "sigStartCompare"
|
||||
|
||||
},
|
||||
"RecognizeSystem\0sigUpdateBytesAvailable\0"
|
||||
@@ -58,7 +59,7 @@ QT_MOC_LITERAL(17, 232, 8) // "waitTime"
|
||||
"sigSocketDisabled\0sigServerBlocked\0"
|
||||
"sigSaveLoginData\0ServerAuthorization*\0"
|
||||
"serverAuth\0sigSocketWaitForReadyRead\0"
|
||||
"waitTime"
|
||||
"waitTime\0sigStartCompare"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
@@ -68,22 +69,23 @@ static const uint qt_meta_data_RecognizeSystem[] = {
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
8, 14, // methods
|
||||
9, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
8, // signalCount
|
||||
9, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 54, 2, 0x06 /* Public */,
|
||||
5, 0, 59, 2, 0x06 /* Public */,
|
||||
6, 3, 60, 2, 0x06 /* Public */,
|
||||
9, 1, 67, 2, 0x06 /* Public */,
|
||||
11, 0, 70, 2, 0x06 /* Public */,
|
||||
12, 0, 71, 2, 0x06 /* Public */,
|
||||
13, 1, 72, 2, 0x06 /* Public */,
|
||||
16, 1, 75, 2, 0x06 /* Public */,
|
||||
1, 2, 59, 2, 0x06 /* Public */,
|
||||
5, 0, 64, 2, 0x06 /* Public */,
|
||||
6, 3, 65, 2, 0x06 /* Public */,
|
||||
9, 1, 72, 2, 0x06 /* Public */,
|
||||
11, 0, 75, 2, 0x06 /* Public */,
|
||||
12, 0, 76, 2, 0x06 /* Public */,
|
||||
13, 1, 77, 2, 0x06 /* Public */,
|
||||
16, 1, 80, 2, 0x06 /* Public */,
|
||||
18, 0, 83, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::LongLong, QMetaType::ULongLong, 3, 4,
|
||||
@@ -94,6 +96,7 @@ static const uint qt_meta_data_RecognizeSystem[] = {
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, 0x80000000 | 14, 15,
|
||||
QMetaType::Void, QMetaType::Int, 17,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
@@ -112,6 +115,7 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
|
||||
case 5: _t->sigServerBlocked(); break;
|
||||
case 6: _t->sigSaveLoginData((*reinterpret_cast< ServerAuthorization*(*)>(_a[1]))); break;
|
||||
case 7: _t->sigSocketWaitForReadyRead((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
case 8: _t->sigStartCompare(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
@@ -172,6 +176,13 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (RecognizeSystem::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigStartCompare)) {
|
||||
*result = 8;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -204,13 +215,13 @@ int RecognizeSystem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 8)
|
||||
if (_id < 9)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 8;
|
||||
_id -= 9;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 8)
|
||||
if (_id < 9)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 8;
|
||||
_id -= 9;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
@@ -267,5 +278,11 @@ void RecognizeSystem::sigSocketWaitForReadyRead(int _t1)
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 7, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 8
|
||||
void RecognizeSystem::sigStartCompare()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
|
||||
Binary file not shown.
137
debug/moc_sendsystem.cpp
Normal file
137
debug/moc_sendsystem.cpp
Normal file
@@ -0,0 +1,137 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'sendsystem.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 "../Core/sendsystem.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'sendsystem.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_SendSystem_t {
|
||||
QByteArrayData data[3];
|
||||
char stringdata0[28];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_SendSystem_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_SendSystem_t qt_meta_stringdata_SendSystem = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 10), // "SendSystem"
|
||||
QT_MOC_LITERAL(1, 11, 15), // "sigGetXmlAnswer"
|
||||
QT_MOC_LITERAL(2, 27, 0) // ""
|
||||
|
||||
},
|
||||
"SendSystem\0sigGetXmlAnswer\0"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_SendSystem[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 19, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::QByteArray, QMetaType::QString, 2,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void SendSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<SendSystem *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: { QByteArray _r = _t->sigGetXmlAnswer((*reinterpret_cast< QString(*)>(_a[1])));
|
||||
if (_a[0]) *reinterpret_cast< QByteArray*>(_a[0]) = std::move(_r); } break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = QByteArray (SendSystem::*)(QString );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SendSystem::sigGetXmlAnswer)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject SendSystem::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_SendSystem.data,
|
||||
qt_meta_data_SendSystem,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *SendSystem::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *SendSystem::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_SendSystem.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int SendSystem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 1)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 1;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 1)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 1;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
QByteArray SendSystem::sigGetXmlAnswer(QString _t1)
|
||||
{
|
||||
QByteArray _t0{};
|
||||
void *_a[] = { const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t0))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
return _t0;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
debug/moc_sendsystem.o
Normal file
BIN
debug/moc_sendsystem.o
Normal file
Binary file not shown.
@@ -23,7 +23,7 @@ QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_TCPClient_t {
|
||||
QByteArrayData data[14];
|
||||
char stringdata0[178];
|
||||
char stringdata0[172];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@@ -39,19 +39,19 @@ QT_MOC_LITERAL(3, 27, 7), // "message"
|
||||
QT_MOC_LITERAL(4, 35, 12), // "sigRecognize"
|
||||
QT_MOC_LITERAL(5, 48, 11), // "QTcpSocket*"
|
||||
QT_MOC_LITERAL(6, 60, 6), // "socket"
|
||||
QT_MOC_LITERAL(7, 67, 18), // "sigConnectionState"
|
||||
QT_MOC_LITERAL(8, 86, 4), // "flag"
|
||||
QT_MOC_LITERAL(9, 91, 19), // "sigServerDisconnect"
|
||||
QT_MOC_LITERAL(10, 111, 15), // "sigGetXmlAnswer"
|
||||
QT_MOC_LITERAL(11, 127, 18), // "slotMessageEntered"
|
||||
QT_MOC_LITERAL(12, 146, 17), // "slotConnectNotify"
|
||||
QT_MOC_LITERAL(13, 164, 13) // "slotReadyRead"
|
||||
QT_MOC_LITERAL(7, 67, 19), // "sigServerDisconnect"
|
||||
QT_MOC_LITERAL(8, 87, 18), // "sigConnectionState"
|
||||
QT_MOC_LITERAL(9, 106, 4), // "flag"
|
||||
QT_MOC_LITERAL(10, 111, 12), // "sigSetSocket"
|
||||
QT_MOC_LITERAL(11, 124, 15), // "slotSendCommand"
|
||||
QT_MOC_LITERAL(12, 140, 17), // "slotConnectNotify"
|
||||
QT_MOC_LITERAL(13, 158, 13) // "slotReadyRead"
|
||||
|
||||
},
|
||||
"TCPClient\0sigSendDebugLog\0\0message\0"
|
||||
"sigRecognize\0QTcpSocket*\0socket\0"
|
||||
"sigConnectionState\0flag\0sigServerDisconnect\0"
|
||||
"sigGetXmlAnswer\0slotMessageEntered\0"
|
||||
"sigServerDisconnect\0sigConnectionState\0"
|
||||
"flag\0sigSetSocket\0slotSendCommand\0"
|
||||
"slotConnectNotify\0slotReadyRead"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
@@ -72,8 +72,8 @@ static const uint qt_meta_data_TCPClient[] = {
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 54, 2, 0x06 /* Public */,
|
||||
4, 1, 57, 2, 0x06 /* Public */,
|
||||
7, 1, 60, 2, 0x06 /* Public */,
|
||||
9, 0, 63, 2, 0x06 /* Public */,
|
||||
7, 0, 60, 2, 0x06 /* Public */,
|
||||
8, 1, 61, 2, 0x06 /* Public */,
|
||||
10, 1, 64, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
@@ -84,9 +84,9 @@ static const uint qt_meta_data_TCPClient[] = {
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, 0x80000000 | 5, 6,
|
||||
QMetaType::Void, QMetaType::Bool, 8,
|
||||
QMetaType::Void,
|
||||
QMetaType::QByteArray, QMetaType::QString, 2,
|
||||
QMetaType::Void, QMetaType::Bool, 9,
|
||||
QMetaType::Void, 0x80000000 | 5, 6,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
@@ -104,11 +104,10 @@ void TCPClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, v
|
||||
switch (_id) {
|
||||
case 0: _t->sigSendDebugLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 1: _t->sigRecognize((*reinterpret_cast< QTcpSocket*(*)>(_a[1]))); break;
|
||||
case 2: _t->sigConnectionState((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 3: _t->sigServerDisconnect(); break;
|
||||
case 4: { QByteArray _r = _t->sigGetXmlAnswer((*reinterpret_cast< QString(*)>(_a[1])));
|
||||
if (_a[0]) *reinterpret_cast< QByteArray*>(_a[0]) = std::move(_r); } break;
|
||||
case 5: _t->slotMessageEntered((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 2: _t->sigServerDisconnect(); break;
|
||||
case 3: _t->sigConnectionState((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 4: _t->sigSetSocket((*reinterpret_cast< QTcpSocket*(*)>(_a[1]))); break;
|
||||
case 5: _t->slotSendCommand((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 6: _t->slotConnectNotify(); break;
|
||||
case 7: _t->slotReadyRead(); break;
|
||||
default: ;
|
||||
@@ -123,6 +122,13 @@ void TCPClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, v
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QTcpSocket* >(); break;
|
||||
}
|
||||
break;
|
||||
case 4:
|
||||
switch (*reinterpret_cast<int*>(_a[1])) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QTcpSocket* >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
@@ -141,22 +147,22 @@ void TCPClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, v
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TCPClient::*)(bool );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::sigConnectionState)) {
|
||||
using _t = void (TCPClient::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::sigServerDisconnect)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TCPClient::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::sigServerDisconnect)) {
|
||||
using _t = void (TCPClient::*)(bool );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::sigConnectionState)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = QByteArray (TCPClient::*)(QString );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::sigGetXmlAnswer)) {
|
||||
using _t = void (TCPClient::*)(QTcpSocket * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::sigSetSocket)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
@@ -219,25 +225,23 @@ void TCPClient::sigRecognize(QTcpSocket * _t1)
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void TCPClient::sigConnectionState(bool _t1)
|
||||
void TCPClient::sigServerDisconnect()
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void TCPClient::sigServerDisconnect()
|
||||
void TCPClient::sigConnectionState(bool _t1)
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
QByteArray TCPClient::sigGetXmlAnswer(QString _t1)
|
||||
void TCPClient::sigSetSocket(QTcpSocket * _t1)
|
||||
{
|
||||
QByteArray _t0{};
|
||||
void *_a[] = { const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t0))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
return _t0;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
|
||||
Binary file not shown.
95
debug/moc_updatelistform.cpp
Normal file
95
debug/moc_updatelistform.cpp
Normal file
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'updatelistform.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 "../updatelistform.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'updatelistform.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_UpdateListForm_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[15];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_UpdateListForm_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_UpdateListForm_t qt_meta_stringdata_UpdateListForm = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 14) // "UpdateListForm"
|
||||
|
||||
},
|
||||
"UpdateListForm"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_UpdateListForm[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
0, 0, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void UpdateListForm::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
Q_UNUSED(_o);
|
||||
Q_UNUSED(_id);
|
||||
Q_UNUSED(_c);
|
||||
Q_UNUSED(_a);
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject UpdateListForm::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_UpdateListForm.data,
|
||||
qt_meta_data_UpdateListForm,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *UpdateListForm::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *UpdateListForm::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_UpdateListForm.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int UpdateListForm::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
debug/moc_updatelistform.o
Normal file
BIN
debug/moc_updatelistform.o
Normal file
Binary file not shown.
158
debug/moc_updatenotifywidget.cpp
Normal file
158
debug/moc_updatenotifywidget.cpp
Normal file
@@ -0,0 +1,158 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'updatenotifywidget.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 "../updatenotifywidget.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#include <QtCore/QList>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'updatenotifywidget.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_UpdateNotifyWidget_t {
|
||||
QByteArrayData data[9];
|
||||
char stringdata0[151];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_UpdateNotifyWidget_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_UpdateNotifyWidget_t qt_meta_stringdata_UpdateNotifyWidget = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 18), // "UpdateNotifyWidget"
|
||||
QT_MOC_LITERAL(1, 19, 22), // "sigUpdateFilesOnServer"
|
||||
QT_MOC_LITERAL(2, 42, 0), // ""
|
||||
QT_MOC_LITERAL(3, 43, 16), // "QList<FileData>*"
|
||||
QT_MOC_LITERAL(4, 60, 12), // "fileSendList"
|
||||
QT_MOC_LITERAL(5, 73, 21), // "showCompleteDialogBox"
|
||||
QT_MOC_LITERAL(6, 95, 4), // "flag"
|
||||
QT_MOC_LITERAL(7, 100, 26), // "on_StartLoadButton_clicked"
|
||||
QT_MOC_LITERAL(8, 127, 23) // "on_CancelButton_clicked"
|
||||
|
||||
},
|
||||
"UpdateNotifyWidget\0sigUpdateFilesOnServer\0"
|
||||
"\0QList<FileData>*\0fileSendList\0"
|
||||
"showCompleteDialogBox\0flag\0"
|
||||
"on_StartLoadButton_clicked\0"
|
||||
"on_CancelButton_clicked"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_UpdateNotifyWidget[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
4, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 34, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
5, 1, 37, 2, 0x08 /* Private */,
|
||||
7, 0, 40, 2, 0x08 /* Private */,
|
||||
8, 0, 41, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, 4,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::Bool, 6,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void UpdateNotifyWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<UpdateNotifyWidget *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->sigUpdateFilesOnServer((*reinterpret_cast< QList<FileData>*(*)>(_a[1]))); break;
|
||||
case 1: _t->showCompleteDialogBox((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 2: _t->on_StartLoadButton_clicked(); break;
|
||||
case 3: _t->on_CancelButton_clicked(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (UpdateNotifyWidget::*)(QList<FileData> * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&UpdateNotifyWidget::sigUpdateFilesOnServer)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject UpdateNotifyWidget::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
|
||||
qt_meta_stringdata_UpdateNotifyWidget.data,
|
||||
qt_meta_data_UpdateNotifyWidget,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *UpdateNotifyWidget::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *UpdateNotifyWidget::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_UpdateNotifyWidget.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QWidget::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int UpdateNotifyWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QWidget::qt_metacall(_c, _id, _a);
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 4)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 4)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 4;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void UpdateNotifyWidget::sigUpdateFilesOnServer(QList<FileData> * _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
debug/moc_updatenotifywidget.o
Normal file
BIN
debug/moc_updatenotifywidget.o
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
debug/tools.o
BIN
debug/tools.o
Binary file not shown.
BIN
debug/updatelistform.o
Normal file
BIN
debug/updatelistform.o
Normal file
Binary file not shown.
BIN
debug/updatenotifywidget.o
Normal file
BIN
debug/updatenotifywidget.o
Normal file
Binary file not shown.
Reference in New Issue
Block a user