mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJClient.git
synced 2026-03-28 05:25:39 +03:00
feat: before threading
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
debug/main.o
BIN
debug/main.o
Binary file not shown.
Binary file not shown.
Binary file not shown.
95
debug/moc_dataparser.cpp
Normal file
95
debug/moc_dataparser.cpp
Normal file
@@ -0,0 +1,95 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'dataparser.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/dataparser.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'dataparser.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_DataParser_t {
|
||||
QByteArrayData data[1];
|
||||
char stringdata0[11];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_DataParser_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_DataParser_t qt_meta_stringdata_DataParser = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 10) // "DataParser"
|
||||
|
||||
},
|
||||
"DataParser"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_DataParser[] = {
|
||||
|
||||
// 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 DataParser::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 DataParser::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_DataParser.data,
|
||||
qt_meta_data_DataParser,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *DataParser::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *DataParser::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_DataParser.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int DataParser::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
_id = QObject::qt_metacall(_c, _id, _a);
|
||||
return _id;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
BIN
debug/moc_dataparser.o
Normal file
BIN
debug/moc_dataparser.o
Normal file
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_MainWindow_t {
|
||||
QByteArrayData data[21];
|
||||
char stringdata0[363];
|
||||
QByteArrayData data[19];
|
||||
char stringdata0[329];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@@ -35,37 +35,34 @@ static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
|
||||
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
|
||||
QT_MOC_LITERAL(1, 11, 18), // "onInitializeClient"
|
||||
QT_MOC_LITERAL(2, 30, 0), // ""
|
||||
QT_MOC_LITERAL(3, 31, 17), // "UpdateController*"
|
||||
QT_MOC_LITERAL(4, 49, 16), // "updateController"
|
||||
QT_MOC_LITERAL(5, 66, 16), // "RecognizeSystem*"
|
||||
QT_MOC_LITERAL(6, 83, 15), // "recognizeSystem"
|
||||
QT_MOC_LITERAL(7, 99, 17), // "ExternalExecuter*"
|
||||
QT_MOC_LITERAL(8, 117, 16), // "externalExecuter"
|
||||
QT_MOC_LITERAL(9, 134, 12), // "onSetConnect"
|
||||
QT_MOC_LITERAL(10, 147, 15), // "ServerSettings*"
|
||||
QT_MOC_LITERAL(11, 163, 14), // "serverSettings"
|
||||
QT_MOC_LITERAL(12, 178, 15), // "onCalculateHash"
|
||||
QT_MOC_LITERAL(13, 194, 13), // "onSendMessage"
|
||||
QT_MOC_LITERAL(14, 208, 7), // "message"
|
||||
QT_MOC_LITERAL(15, 216, 22), // "on_loginButton_clicked"
|
||||
QT_MOC_LITERAL(16, 239, 23), // "on_updateButton_clicked"
|
||||
QT_MOC_LITERAL(17, 263, 22), // "on_startButton_clicked"
|
||||
QT_MOC_LITERAL(18, 286, 27), // "on_saveServerButton_clicked"
|
||||
QT_MOC_LITERAL(19, 314, 25), // "on_settingsButton_clicked"
|
||||
QT_MOC_LITERAL(20, 340, 22) // "on_checkUpdate_clicked"
|
||||
QT_MOC_LITERAL(3, 31, 16), // "RecognizeSystem*"
|
||||
QT_MOC_LITERAL(4, 48, 15), // "recognizeSystem"
|
||||
QT_MOC_LITERAL(5, 64, 17), // "ExternalExecuter*"
|
||||
QT_MOC_LITERAL(6, 82, 16), // "externalExecuter"
|
||||
QT_MOC_LITERAL(7, 99, 12), // "onSetConnect"
|
||||
QT_MOC_LITERAL(8, 112, 15), // "ServerSettings*"
|
||||
QT_MOC_LITERAL(9, 128, 14), // "serverSettings"
|
||||
QT_MOC_LITERAL(10, 143, 15), // "onCalculateHash"
|
||||
QT_MOC_LITERAL(11, 159, 23), // "SendClientAuthorization"
|
||||
QT_MOC_LITERAL(12, 183, 13), // "onSendMessage"
|
||||
QT_MOC_LITERAL(13, 197, 7), // "message"
|
||||
QT_MOC_LITERAL(14, 205, 22), // "on_loginButton_clicked"
|
||||
QT_MOC_LITERAL(15, 228, 23), // "on_updateButton_clicked"
|
||||
QT_MOC_LITERAL(16, 252, 22), // "on_startButton_clicked"
|
||||
QT_MOC_LITERAL(17, 275, 27), // "on_saveServerButton_clicked"
|
||||
QT_MOC_LITERAL(18, 303, 25) // "on_settingsButton_clicked"
|
||||
|
||||
},
|
||||
"MainWindow\0onInitializeClient\0\0"
|
||||
"UpdateController*\0updateController\0"
|
||||
"RecognizeSystem*\0recognizeSystem\0"
|
||||
"ExternalExecuter*\0externalExecuter\0"
|
||||
"onSetConnect\0ServerSettings*\0"
|
||||
"serverSettings\0onCalculateHash\0"
|
||||
"onSendMessage\0message\0on_loginButton_clicked\0"
|
||||
"SendClientAuthorization\0onSendMessage\0"
|
||||
"message\0on_loginButton_clicked\0"
|
||||
"on_updateButton_clicked\0on_startButton_clicked\0"
|
||||
"on_saveServerButton_clicked\0"
|
||||
"on_settingsButton_clicked\0"
|
||||
"on_checkUpdate_clicked"
|
||||
"on_settingsButton_clicked"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
@@ -80,34 +77,34 @@ static const uint qt_meta_data_MainWindow[] = {
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
4, // signalCount
|
||||
5, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 3, 64, 2, 0x06 /* Public */,
|
||||
9, 1, 71, 2, 0x06 /* Public */,
|
||||
12, 0, 74, 2, 0x06 /* Public */,
|
||||
13, 1, 75, 2, 0x06 /* Public */,
|
||||
1, 2, 64, 2, 0x06 /* Public */,
|
||||
7, 1, 69, 2, 0x06 /* Public */,
|
||||
10, 0, 72, 2, 0x06 /* Public */,
|
||||
11, 0, 73, 2, 0x06 /* Public */,
|
||||
12, 1, 74, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
14, 0, 77, 2, 0x08 /* Private */,
|
||||
15, 0, 78, 2, 0x08 /* Private */,
|
||||
16, 0, 79, 2, 0x08 /* Private */,
|
||||
17, 0, 80, 2, 0x08 /* Private */,
|
||||
18, 0, 81, 2, 0x08 /* Private */,
|
||||
19, 0, 82, 2, 0x08 /* Private */,
|
||||
20, 0, 83, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 0x80000000 | 7, 4, 6, 8,
|
||||
QMetaType::Void, 0x80000000 | 10, 11,
|
||||
QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 4, 6,
|
||||
QMetaType::Void, 0x80000000 | 8, 9,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 14,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::QString, 13,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
@@ -119,16 +116,16 @@ 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->onInitializeClient((*reinterpret_cast< UpdateController*(*)>(_a[1])),(*reinterpret_cast< RecognizeSystem*(*)>(_a[2])),(*reinterpret_cast< ExternalExecuter*(*)>(_a[3]))); break;
|
||||
case 0: _t->onInitializeClient((*reinterpret_cast< RecognizeSystem*(*)>(_a[1])),(*reinterpret_cast< ExternalExecuter*(*)>(_a[2]))); break;
|
||||
case 1: _t->onSetConnect((*reinterpret_cast< ServerSettings*(*)>(_a[1]))); break;
|
||||
case 2: _t->onCalculateHash(); break;
|
||||
case 3: _t->onSendMessage((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 4: _t->on_loginButton_clicked(); break;
|
||||
case 5: _t->on_updateButton_clicked(); break;
|
||||
case 6: _t->on_startButton_clicked(); break;
|
||||
case 7: _t->on_saveServerButton_clicked(); break;
|
||||
case 8: _t->on_settingsButton_clicked(); break;
|
||||
case 9: _t->on_checkUpdate_clicked(); break;
|
||||
case 3: _t->SendClientAuthorization(); break;
|
||||
case 4: _t->onSendMessage((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 5: _t->on_loginButton_clicked(); break;
|
||||
case 6: _t->on_updateButton_clicked(); break;
|
||||
case 7: _t->on_startButton_clicked(); break;
|
||||
case 8: _t->on_saveServerButton_clicked(); break;
|
||||
case 9: _t->on_settingsButton_clicked(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
@@ -137,19 +134,17 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
|
||||
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 1:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< RecognizeSystem* >(); break;
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ExternalExecuter* >(); break;
|
||||
case 0:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< UpdateController* >(); break;
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< RecognizeSystem* >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (MainWindow::*)(UpdateController * , RecognizeSystem * , ExternalExecuter * );
|
||||
using _t = void (MainWindow::*)(RecognizeSystem * , ExternalExecuter * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::onInitializeClient)) {
|
||||
*result = 0;
|
||||
return;
|
||||
@@ -169,10 +164,17 @@ void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (MainWindow::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::SendClientAuthorization)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (MainWindow::*)(QString );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::onSendMessage)) {
|
||||
*result = 3;
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -220,9 +222,9 @@ int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void MainWindow::onInitializeClient(UpdateController * _t1, RecognizeSystem * _t2, ExternalExecuter * _t3)
|
||||
void MainWindow::onInitializeClient(RecognizeSystem * _t1, ExternalExecuter * _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))) };
|
||||
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, 0, _a);
|
||||
}
|
||||
|
||||
@@ -240,10 +242,16 @@ void MainWindow::onCalculateHash()
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void MainWindow::SendClientAuthorization()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void MainWindow::onSendMessage(QString _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
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[11];
|
||||
char stringdata0[119];
|
||||
QByteArrayData data[16];
|
||||
char stringdata0[197];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@@ -42,12 +42,20 @@ QT_MOC_LITERAL(6, 63, 12), // "onNeedUpdate"
|
||||
QT_MOC_LITERAL(7, 76, 4), // "flag"
|
||||
QT_MOC_LITERAL(8, 81, 14), // "onSendDebugLog"
|
||||
QT_MOC_LITERAL(9, 96, 7), // "message"
|
||||
QT_MOC_LITERAL(10, 104, 14) // "SockedDisabled"
|
||||
QT_MOC_LITERAL(10, 104, 14), // "SockedDisabled"
|
||||
QT_MOC_LITERAL(11, 119, 13), // "SaveLoginData"
|
||||
QT_MOC_LITERAL(12, 133, 20), // "ServerAuthorization*"
|
||||
QT_MOC_LITERAL(13, 154, 10), // "serverAuth"
|
||||
QT_MOC_LITERAL(14, 165, 22), // "SocketWaitForReadyRead"
|
||||
QT_MOC_LITERAL(15, 188, 8) // "waitTime"
|
||||
|
||||
},
|
||||
"RecognizeSystem\0UpdateBytesAvailable\0"
|
||||
"\0size\0sended\0LoadComplete\0onNeedUpdate\0"
|
||||
"flag\0onSendDebugLog\0message\0SockedDisabled"
|
||||
"flag\0onSendDebugLog\0message\0SockedDisabled\0"
|
||||
"SaveLoginData\0ServerAuthorization*\0"
|
||||
"serverAuth\0SocketWaitForReadyRead\0"
|
||||
"waitTime"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
@@ -57,19 +65,21 @@ static const uint qt_meta_data_RecognizeSystem[] = {
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
5, 14, // methods
|
||||
7, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
5, // signalCount
|
||||
7, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 39, 2, 0x06 /* Public */,
|
||||
5, 0, 44, 2, 0x06 /* Public */,
|
||||
6, 1, 45, 2, 0x06 /* Public */,
|
||||
8, 1, 48, 2, 0x06 /* Public */,
|
||||
10, 0, 51, 2, 0x06 /* Public */,
|
||||
1, 2, 49, 2, 0x06 /* Public */,
|
||||
5, 0, 54, 2, 0x06 /* Public */,
|
||||
6, 1, 55, 2, 0x06 /* Public */,
|
||||
8, 1, 58, 2, 0x06 /* Public */,
|
||||
10, 0, 61, 2, 0x06 /* Public */,
|
||||
11, 1, 62, 2, 0x06 /* Public */,
|
||||
14, 1, 65, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::LongLong, QMetaType::ULongLong, 3, 4,
|
||||
@@ -77,6 +87,8 @@ static const uint qt_meta_data_RecognizeSystem[] = {
|
||||
QMetaType::Void, QMetaType::Bool, 7,
|
||||
QMetaType::Void, QMetaType::QString, 9,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, 0x80000000 | 12, 13,
|
||||
QMetaType::Void, QMetaType::Int, 15,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
@@ -92,6 +104,8 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
|
||||
case 2: _t->onNeedUpdate((*reinterpret_cast< bool(*)>(_a[1]))); break;
|
||||
case 3: _t->onSendDebugLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 4: _t->SockedDisabled(); break;
|
||||
case 5: _t->SaveLoginData((*reinterpret_cast< ServerAuthorization*(*)>(_a[1]))); break;
|
||||
case 6: _t->SocketWaitForReadyRead((*reinterpret_cast< int(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
@@ -131,6 +145,20 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (RecognizeSystem::*)(ServerAuthorization * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::SaveLoginData)) {
|
||||
*result = 5;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (RecognizeSystem::*)(int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::SocketWaitForReadyRead)) {
|
||||
*result = 6;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -163,13 +191,13 @@ int RecognizeSystem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 5)
|
||||
if (_id < 7)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 5;
|
||||
_id -= 7;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 5)
|
||||
if (_id < 7)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 5;
|
||||
_id -= 7;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
@@ -206,5 +234,19 @@ void RecognizeSystem::SockedDisabled()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 5
|
||||
void RecognizeSystem::SaveLoginData(ServerAuthorization * _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 6
|
||||
void RecognizeSystem::SocketWaitForReadyRead(int _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 6, _a);
|
||||
}
|
||||
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_TCPClient_t {
|
||||
QByteArrayData data[6];
|
||||
char stringdata0[61];
|
||||
QByteArrayData data[9];
|
||||
char stringdata0[90];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@@ -36,11 +36,15 @@ QT_MOC_LITERAL(0, 0, 9), // "TCPClient"
|
||||
QT_MOC_LITERAL(1, 10, 14), // "onSendDebugLog"
|
||||
QT_MOC_LITERAL(2, 25, 0), // ""
|
||||
QT_MOC_LITERAL(3, 26, 7), // "message"
|
||||
QT_MOC_LITERAL(4, 34, 14), // "MessageEntered"
|
||||
QT_MOC_LITERAL(5, 49, 11) // "onReadyRead"
|
||||
QT_MOC_LITERAL(4, 34, 9), // "Recognize"
|
||||
QT_MOC_LITERAL(5, 44, 11), // "QTcpSocket*"
|
||||
QT_MOC_LITERAL(6, 56, 6), // "socket"
|
||||
QT_MOC_LITERAL(7, 63, 14), // "MessageEntered"
|
||||
QT_MOC_LITERAL(8, 78, 11) // "onReadyRead"
|
||||
|
||||
},
|
||||
"TCPClient\0onSendDebugLog\0\0message\0"
|
||||
"Recognize\0QTcpSocket*\0socket\0"
|
||||
"MessageEntered\0onReadyRead"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
@@ -51,22 +55,24 @@ static const uint qt_meta_data_TCPClient[] = {
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
3, 14, // methods
|
||||
4, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
1, // signalCount
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 29, 2, 0x06 /* Public */,
|
||||
1, 1, 34, 2, 0x06 /* Public */,
|
||||
4, 1, 37, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
4, 1, 32, 2, 0x0a /* Public */,
|
||||
5, 0, 35, 2, 0x08 /* Private */,
|
||||
7, 1, 40, 2, 0x0a /* Public */,
|
||||
8, 0, 43, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, 0x80000000 | 5, 6,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
@@ -82,10 +88,22 @@ void TCPClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, v
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->onSendDebugLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 1: _t->MessageEntered((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 2: _t->onReadyRead(); break;
|
||||
case 1: _t->Recognize((*reinterpret_cast< QTcpSocket*(*)>(_a[1]))); break;
|
||||
case 2: _t->MessageEntered((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 3: _t->onReadyRead(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
switch (_id) {
|
||||
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
||||
case 1:
|
||||
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]);
|
||||
{
|
||||
@@ -95,6 +113,13 @@ void TCPClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, v
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TCPClient::*)(QTcpSocket * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::Recognize)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -127,13 +152,13 @@ int TCPClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 3)
|
||||
if (_id < 4)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 3;
|
||||
_id -= 4;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 3)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 3;
|
||||
if (_id < 4)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
@@ -144,5 +169,12 @@ void TCPClient::onSendDebugLog(QString _t1)
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void TCPClient::Recognize(QTcpSocket * _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
debug/tools.o
BIN
debug/tools.o
Binary file not shown.
Reference in New Issue
Block a user