mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-29 20:05:38 +03:00
Сделал залогинивание, разлогинивание полностью рабочее
This commit is contained in:
@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_ConnectorToServer_t {
|
||||
QByteArrayData data[16];
|
||||
char stringdata0[223];
|
||||
QByteArrayData data[20];
|
||||
char stringdata0[298];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@@ -45,17 +45,23 @@ QT_MOC_LITERAL(9, 117, 15), // "recognizeSystem"
|
||||
QT_MOC_LITERAL(10, 133, 11), // "SendSystem*"
|
||||
QT_MOC_LITERAL(11, 145, 10), // "sendSystem"
|
||||
QT_MOC_LITERAL(12, 156, 19), // "sigSendAutorization"
|
||||
QT_MOC_LITERAL(13, 176, 14), // "sigLoginResult"
|
||||
QT_MOC_LITERAL(14, 191, 20), // "ServerAuthorization*"
|
||||
QT_MOC_LITERAL(15, 212, 10) // "serverAuth"
|
||||
QT_MOC_LITERAL(13, 176, 21), // "sigSendDeAutorization"
|
||||
QT_MOC_LITERAL(14, 198, 14), // "sigLoginResult"
|
||||
QT_MOC_LITERAL(15, 213, 20), // "ServerAuthorization*"
|
||||
QT_MOC_LITERAL(16, 234, 10), // "serverAuth"
|
||||
QT_MOC_LITERAL(17, 245, 16), // "sigDeLoginResult"
|
||||
QT_MOC_LITERAL(18, 262, 22), // "ServerDeAuthorization*"
|
||||
QT_MOC_LITERAL(19, 285, 12) // "serverDeAuth"
|
||||
|
||||
},
|
||||
"ConnectorToServer\0sigSetConnect\0\0"
|
||||
"ServerSettings*\0serverSettings\0QThread*\0"
|
||||
"thread\0sigInitializeClient\0RecognizeSystem*\0"
|
||||
"recognizeSystem\0SendSystem*\0sendSystem\0"
|
||||
"sigSendAutorization\0sigLoginResult\0"
|
||||
"ServerAuthorization*\0serverAuth"
|
||||
"sigSendAutorization\0sigSendDeAutorization\0"
|
||||
"sigLoginResult\0ServerAuthorization*\0"
|
||||
"serverAuth\0sigDeLoginResult\0"
|
||||
"ServerDeAuthorization*\0serverDeAuth"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
@@ -65,24 +71,28 @@ static const uint qt_meta_data_ConnectorToServer[] = {
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
4, 14, // methods
|
||||
6, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
4, // signalCount
|
||||
6, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 2, 34, 2, 0x06 /* Public */,
|
||||
7, 3, 39, 2, 0x06 /* Public */,
|
||||
12, 0, 46, 2, 0x06 /* Public */,
|
||||
13, 1, 47, 2, 0x06 /* Public */,
|
||||
1, 2, 44, 2, 0x06 /* Public */,
|
||||
7, 3, 49, 2, 0x06 /* Public */,
|
||||
12, 0, 56, 2, 0x06 /* Public */,
|
||||
13, 0, 57, 2, 0x06 /* Public */,
|
||||
14, 1, 58, 2, 0x06 /* Public */,
|
||||
17, 1, 61, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 4, 6,
|
||||
QMetaType::Void, 0x80000000 | 8, 0x80000000 | 10, 0x80000000 | 5, 9, 11, 6,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, 0x80000000 | 14, 15,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, 0x80000000 | 15, 16,
|
||||
QMetaType::Void, 0x80000000 | 18, 19,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
@@ -96,7 +106,9 @@ void ConnectorToServer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, in
|
||||
case 0: _t->sigSetConnect((*reinterpret_cast< ServerSettings*(*)>(_a[1])),(*reinterpret_cast< QThread*(*)>(_a[2]))); break;
|
||||
case 1: _t->sigInitializeClient((*reinterpret_cast< RecognizeSystem*(*)>(_a[1])),(*reinterpret_cast< SendSystem*(*)>(_a[2])),(*reinterpret_cast< QThread*(*)>(_a[3]))); break;
|
||||
case 2: _t->sigSendAutorization(); break;
|
||||
case 3: _t->sigLoginResult((*reinterpret_cast< ServerAuthorization*(*)>(_a[1]))); break;
|
||||
case 3: _t->sigSendDeAutorization(); break;
|
||||
case 4: _t->sigLoginResult((*reinterpret_cast< ServerAuthorization*(*)>(_a[1]))); break;
|
||||
case 5: _t->sigDeLoginResult((*reinterpret_cast< ServerDeAuthorization*(*)>(_a[1]))); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
@@ -135,10 +147,24 @@ void ConnectorToServer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, in
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (ConnectorToServer::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConnectorToServer::sigSendDeAutorization)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (ConnectorToServer::*)(ServerAuthorization * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConnectorToServer::sigLoginResult)) {
|
||||
*result = 3;
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (ConnectorToServer::*)(ServerDeAuthorization * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConnectorToServer::sigDeLoginResult)) {
|
||||
*result = 5;
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -174,13 +200,13 @@ int ConnectorToServer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 4)
|
||||
if (_id < 6)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
_id -= 6;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 4)
|
||||
if (_id < 6)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
_id -= 6;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
@@ -206,10 +232,23 @@ void ConnectorToServer::sigSendAutorization()
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void ConnectorToServer::sigSendDeAutorization()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void ConnectorToServer::sigLoginResult(ServerAuthorization * _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);
|
||||
}
|
||||
|
||||
// SIGNAL 5
|
||||
void ConnectorToServer::sigDeLoginResult(ServerDeAuthorization * _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 5, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
|
||||
Reference in New Issue
Block a user