feat: before threading

This commit is contained in:
semenov
2024-08-19 11:57:33 +03:00
parent 883ac44e6b
commit c79faae730
48 changed files with 722 additions and 562 deletions

View File

@@ -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