Сделал залогинивание, разлогинивание полностью рабочее

This commit is contained in:
krivoshein
2024-12-04 15:29:01 +03:00
parent 56eff211ce
commit 53b37240eb
56 changed files with 1140 additions and 826 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[18];
char stringdata0[250];
QByteArrayData data[21];
char stringdata0[296];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -47,9 +47,12 @@ QT_MOC_LITERAL(11, 133, 16), // "sigServerBlocked"
QT_MOC_LITERAL(12, 150, 16), // "sigSaveLoginData"
QT_MOC_LITERAL(13, 167, 20), // "ServerAuthorization*"
QT_MOC_LITERAL(14, 188, 10), // "serverAuth"
QT_MOC_LITERAL(15, 199, 25), // "sigSocketWaitForReadyRead"
QT_MOC_LITERAL(16, 225, 8), // "waitTime"
QT_MOC_LITERAL(17, 234, 15) // "sigStartCompare"
QT_MOC_LITERAL(15, 199, 9), // "sigDeAuth"
QT_MOC_LITERAL(16, 209, 22), // "ServerDeAuthorization*"
QT_MOC_LITERAL(17, 232, 12), // "serverDeAuth"
QT_MOC_LITERAL(18, 245, 25), // "sigSocketWaitForReadyRead"
QT_MOC_LITERAL(19, 271, 8), // "waitTime"
QT_MOC_LITERAL(20, 280, 15) // "sigStartCompare"
},
"RecognizeSystem\0sigUpdateBytesAvailable\0"
@@ -57,7 +60,8 @@ QT_MOC_LITERAL(17, 234, 15) // "sigStartCompare"
"size\0fileCount\0sigSendDebugLog\0message\0"
"sigSocketDisabled\0sigServerBlocked\0"
"sigSaveLoginData\0ServerAuthorization*\0"
"serverAuth\0sigSocketWaitForReadyRead\0"
"serverAuth\0sigDeAuth\0ServerDeAuthorization*\0"
"serverDeAuth\0sigSocketWaitForReadyRead\0"
"waitTime\0sigStartCompare"
};
#undef QT_MOC_LITERAL
@@ -68,23 +72,24 @@ static const uint qt_meta_data_RecognizeSystem[] = {
8, // revision
0, // classname
0, 0, // classinfo
9, 14, // methods
10, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
9, // signalCount
10, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 59, 2, 0x06 /* Public */,
3, 0, 60, 2, 0x06 /* Public */,
4, 3, 61, 2, 0x06 /* Public */,
8, 1, 68, 2, 0x06 /* Public */,
10, 0, 71, 2, 0x06 /* Public */,
11, 0, 72, 2, 0x06 /* Public */,
12, 1, 73, 2, 0x06 /* Public */,
15, 1, 76, 2, 0x06 /* Public */,
17, 0, 79, 2, 0x06 /* Public */,
1, 0, 64, 2, 0x06 /* Public */,
3, 0, 65, 2, 0x06 /* Public */,
4, 3, 66, 2, 0x06 /* Public */,
8, 1, 73, 2, 0x06 /* Public */,
10, 0, 76, 2, 0x06 /* Public */,
11, 0, 77, 2, 0x06 /* Public */,
12, 1, 78, 2, 0x06 /* Public */,
15, 1, 81, 2, 0x06 /* Public */,
18, 1, 84, 2, 0x06 /* Public */,
20, 0, 87, 2, 0x06 /* Public */,
// signals: parameters
QMetaType::Void,
@@ -94,7 +99,8 @@ static const uint qt_meta_data_RecognizeSystem[] = {
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 13, 14,
QMetaType::Void, QMetaType::Int, 16,
QMetaType::Void, 0x80000000 | 16, 17,
QMetaType::Void, QMetaType::Int, 19,
QMetaType::Void,
0 // eod
@@ -113,8 +119,9 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
case 4: _t->sigSocketDisabled(); break;
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;
case 7: _t->sigDeAuth((*reinterpret_cast< ServerDeAuthorization*(*)>(_a[1]))); break;
case 8: _t->sigSocketWaitForReadyRead((*reinterpret_cast< int(*)>(_a[1]))); break;
case 9: _t->sigStartCompare(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
@@ -168,17 +175,24 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
return;
}
}
{
using _t = void (RecognizeSystem::*)(ServerDeAuthorization * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigDeAuth)) {
*result = 7;
return;
}
}
{
using _t = void (RecognizeSystem::*)(int );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigSocketWaitForReadyRead)) {
*result = 7;
*result = 8;
return;
}
}
{
using _t = void (RecognizeSystem::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigStartCompare)) {
*result = 8;
*result = 9;
return;
}
}
@@ -214,13 +228,13 @@ int RecognizeSystem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 9)
if (_id < 10)
qt_static_metacall(this, _c, _id, _a);
_id -= 9;
_id -= 10;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 9)
if (_id < 10)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 9;
_id -= 10;
}
return _id;
}
@@ -271,16 +285,23 @@ void RecognizeSystem::sigSaveLoginData(ServerAuthorization * _t1)
}
// SIGNAL 7
void RecognizeSystem::sigSocketWaitForReadyRead(int _t1)
void RecognizeSystem::sigDeAuth(ServerDeAuthorization * _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
// SIGNAL 8
void RecognizeSystem::sigSocketWaitForReadyRead(int _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 8, _a);
}
// SIGNAL 9
void RecognizeSystem::sigStartCompare()
{
QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE