mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-28 19:55:48 +03:00
Сделал коннект и логин
This commit is contained in:
@@ -0,0 +1,119 @@
|
||||
/****************************************************************************
|
||||
** 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 "../../../InstructorsAndTrainees/connectorToServer/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[3];
|
||||
char stringdata0[29];
|
||||
};
|
||||
#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"
|
||||
QT_MOC_LITERAL(1, 11, 16), // "slotGetXmlAnswer"
|
||||
QT_MOC_LITERAL(2, 28, 0) // ""
|
||||
|
||||
},
|
||||
"DataParser\0slotGetXmlAnswer\0"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_DataParser[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
1, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
0, // signalCount
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
1, 1, 19, 2, 0x0a /* Public */,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::QByteArray, QMetaType::QString, 2,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void DataParser::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<DataParser *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: { QByteArray _r = _t->slotGetXmlAnswer((*reinterpret_cast< QString(*)>(_a[1])));
|
||||
if (_a[0]) *reinterpret_cast< QByteArray*>(_a[0]) = std::move(_r); } break;
|
||||
default: ;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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);
|
||||
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;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,286 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'recognizesystem.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 "../../../InstructorsAndTrainees/connectorToServer/Core/recognizesystem.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'recognizesystem.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_RecognizeSystem_t {
|
||||
QByteArrayData data[18];
|
||||
char stringdata0[250];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_RecognizeSystem_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_RecognizeSystem_t qt_meta_stringdata_RecognizeSystem = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 15), // "RecognizeSystem"
|
||||
QT_MOC_LITERAL(1, 16, 23), // "sigUpdateBytesAvailable"
|
||||
QT_MOC_LITERAL(2, 40, 0), // ""
|
||||
QT_MOC_LITERAL(3, 41, 15), // "sigLoadComplete"
|
||||
QT_MOC_LITERAL(4, 57, 13), // "sigNeedUpdate"
|
||||
QT_MOC_LITERAL(5, 71, 4), // "flag"
|
||||
QT_MOC_LITERAL(6, 76, 4), // "size"
|
||||
QT_MOC_LITERAL(7, 81, 9), // "fileCount"
|
||||
QT_MOC_LITERAL(8, 91, 15), // "sigSendDebugLog"
|
||||
QT_MOC_LITERAL(9, 107, 7), // "message"
|
||||
QT_MOC_LITERAL(10, 115, 17), // "sigSocketDisabled"
|
||||
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"
|
||||
|
||||
},
|
||||
"RecognizeSystem\0sigUpdateBytesAvailable\0"
|
||||
"\0sigLoadComplete\0sigNeedUpdate\0flag\0"
|
||||
"size\0fileCount\0sigSendDebugLog\0message\0"
|
||||
"sigSocketDisabled\0sigServerBlocked\0"
|
||||
"sigSaveLoginData\0ServerAuthorization*\0"
|
||||
"serverAuth\0sigSocketWaitForReadyRead\0"
|
||||
"waitTime\0sigStartCompare"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_RecognizeSystem[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
9, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
9, // 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 */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, QMetaType::LongLong, QMetaType::ULongLong, 5, 6, 7,
|
||||
QMetaType::Void, QMetaType::QString, 9,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, 0x80000000 | 13, 14,
|
||||
QMetaType::Void, QMetaType::Int, 16,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<RecognizeSystem *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
case 0: _t->sigUpdateBytesAvailable(); break;
|
||||
case 1: _t->sigLoadComplete(); break;
|
||||
case 2: _t->sigNeedUpdate((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2])),(*reinterpret_cast< quint64(*)>(_a[3]))); break;
|
||||
case 3: _t->sigSendDebugLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
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;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (RecognizeSystem::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigUpdateBytesAvailable)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (RecognizeSystem::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigLoadComplete)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (RecognizeSystem::*)(bool , qint64 , quint64 );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigNeedUpdate)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (RecognizeSystem::*)(QString );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigSendDebugLog)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (RecognizeSystem::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigSocketDisabled)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (RecognizeSystem::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigServerBlocked)) {
|
||||
*result = 5;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (RecognizeSystem::*)(ServerAuthorization * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigSaveLoginData)) {
|
||||
*result = 6;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (RecognizeSystem::*)(int );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigSocketWaitForReadyRead)) {
|
||||
*result = 7;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (RecognizeSystem::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigStartCompare)) {
|
||||
*result = 8;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject RecognizeSystem::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_RecognizeSystem.data,
|
||||
qt_meta_data_RecognizeSystem,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *RecognizeSystem::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *RecognizeSystem::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_RecognizeSystem.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int RecognizeSystem::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 < 9)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 9;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 9)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 9;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void RecognizeSystem::sigUpdateBytesAvailable()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void RecognizeSystem::sigLoadComplete()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void RecognizeSystem::sigNeedUpdate(bool _t1, qint64 _t2, quint64 _t3)
|
||||
{
|
||||
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))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void RecognizeSystem::sigSendDebugLog(QString _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void RecognizeSystem::sigSocketDisabled()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 5
|
||||
void RecognizeSystem::sigServerBlocked()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 6
|
||||
void RecognizeSystem::sigSaveLoginData(ServerAuthorization * _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 6, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 7
|
||||
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
|
||||
@@ -0,0 +1,154 @@
|
||||
/****************************************************************************
|
||||
** 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 "../../../InstructorsAndTrainees/connectorToServer/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[4];
|
||||
char stringdata0[36];
|
||||
};
|
||||
#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, 7), // "sigSend"
|
||||
QT_MOC_LITERAL(2, 19, 0), // ""
|
||||
QT_MOC_LITERAL(3, 20, 15) // "sigGetXmlAnswer"
|
||||
|
||||
},
|
||||
"SendSystem\0sigSend\0\0sigGetXmlAnswer"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_SendSystem[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
2, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
2, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 0, 24, 2, 0x06 /* Public */,
|
||||
3, 1, 25, 2, 0x06 /* Public */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void,
|
||||
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: _t->sigSend(); break;
|
||||
case 1: { 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 = void (SendSystem::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SendSystem::sigSend)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = QByteArray (SendSystem::*)(QString );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SendSystem::sigGetXmlAnswer)) {
|
||||
*result = 1;
|
||||
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 < 2)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 2;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 2)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 2;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void SendSystem::sigSend()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
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, 1, _a);
|
||||
return _t0;
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -0,0 +1,247 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'tcpclient.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 "../../../InstructorsAndTrainees/connectorToServer/Core/tcpclient.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'tcpclient.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_TCPClient_t {
|
||||
QByteArrayData data[14];
|
||||
char stringdata0[172];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_TCPClient_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_TCPClient_t qt_meta_stringdata_TCPClient = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 9), // "TCPClient"
|
||||
QT_MOC_LITERAL(1, 10, 15), // "sigSendDebugLog"
|
||||
QT_MOC_LITERAL(2, 26, 0), // ""
|
||||
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, 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"
|
||||
"sigServerDisconnect\0sigConnectionState\0"
|
||||
"flag\0sigSetSocket\0slotSendCommand\0"
|
||||
"slotConnectNotify\0slotReadyRead"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_TCPClient[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
8, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
5, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 54, 2, 0x06 /* Public */,
|
||||
4, 1, 57, 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
|
||||
11, 1, 67, 2, 0x0a /* Public */,
|
||||
12, 0, 70, 2, 0x0a /* Public */,
|
||||
13, 0, 71, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, 0x80000000 | 5, 6,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void, QMetaType::Bool, 9,
|
||||
QMetaType::Void, 0x80000000 | 5, 6,
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void TCPClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<TCPClient *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
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->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: ;
|
||||
}
|
||||
} 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;
|
||||
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]);
|
||||
{
|
||||
using _t = void (TCPClient::*)(QString );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::sigSendDebugLog)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TCPClient::*)(QTcpSocket * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::sigRecognize)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TCPClient::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::sigServerDisconnect)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TCPClient::*)(bool );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::sigConnectionState)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (TCPClient::*)(QTcpSocket * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TCPClient::sigSetSocket)) {
|
||||
*result = 4;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject TCPClient::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_TCPClient.data,
|
||||
qt_meta_data_TCPClient,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *TCPClient::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *TCPClient::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_TCPClient.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int TCPClient::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 < 8)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 8;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 8)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 8;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void TCPClient::sigSendDebugLog(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::sigRecognize(QTcpSocket * _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void TCPClient::sigServerDisconnect()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void TCPClient::sigConnectionState(bool _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 4
|
||||
void TCPClient::sigSetSocket(QTcpSocket * _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 4, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -23,8 +23,8 @@ QT_BEGIN_MOC_NAMESPACE
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_DEPRECATED
|
||||
struct qt_meta_stringdata_InstructorsAndTraineesWidget_t {
|
||||
QByteArrayData data[20];
|
||||
char stringdata0[378];
|
||||
QByteArrayData data[23];
|
||||
char stringdata0[427];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
@@ -49,10 +49,13 @@ QT_MOC_LITERAL(12, 196, 20), // "signal_InitMessanger"
|
||||
QT_MOC_LITERAL(13, 217, 14), // "QList<Trainee>"
|
||||
QT_MOC_LITERAL(14, 232, 12), // "listTrainees"
|
||||
QT_MOC_LITERAL(15, 245, 20), // "slot_LanguageChanged"
|
||||
QT_MOC_LITERAL(16, 266, 28), // "on_btnConnectionToDB_clicked"
|
||||
QT_MOC_LITERAL(17, 295, 37), // "on_btnAuthorizationInstructor..."
|
||||
QT_MOC_LITERAL(18, 333, 22), // "on_btnDocTasks_clicked"
|
||||
QT_MOC_LITERAL(19, 356, 21) // "on_toolButton_clicked"
|
||||
QT_MOC_LITERAL(16, 266, 16), // "checkLoginResult"
|
||||
QT_MOC_LITERAL(17, 283, 20), // "ServerAuthorization*"
|
||||
QT_MOC_LITERAL(18, 304, 10), // "serverAuth"
|
||||
QT_MOC_LITERAL(19, 315, 28), // "on_btnConnectionToDB_clicked"
|
||||
QT_MOC_LITERAL(20, 344, 37), // "on_btnAuthorizationInstructor..."
|
||||
QT_MOC_LITERAL(21, 382, 22), // "on_btnDocTasks_clicked"
|
||||
QT_MOC_LITERAL(22, 405, 21) // "on_toolButton_clicked"
|
||||
|
||||
},
|
||||
"InstructorsAndTraineesWidget\0"
|
||||
@@ -63,7 +66,8 @@ QT_MOC_LITERAL(19, 356, 21) // "on_toolButton_clicked"
|
||||
"signal_tabMessengerChanged\0"
|
||||
"signal_InitMessanger\0QList<Trainee>\0"
|
||||
"listTrainees\0slot_LanguageChanged\0"
|
||||
"on_btnConnectionToDB_clicked\0"
|
||||
"checkLoginResult\0ServerAuthorization*\0"
|
||||
"serverAuth\0on_btnConnectionToDB_clicked\0"
|
||||
"on_btnAuthorizationInstructor_clicked\0"
|
||||
"on_btnDocTasks_clicked\0on_toolButton_clicked"
|
||||
};
|
||||
@@ -75,7 +79,7 @@ static const uint qt_meta_data_InstructorsAndTraineesWidget[] = {
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
11, 14, // methods
|
||||
12, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
@@ -83,19 +87,20 @@ static const uint qt_meta_data_InstructorsAndTraineesWidget[] = {
|
||||
6, // signalCount
|
||||
|
||||
// signals: name, argc, parameters, tag, flags
|
||||
1, 1, 69, 2, 0x06 /* Public */,
|
||||
4, 2, 72, 2, 0x06 /* Public */,
|
||||
7, 1, 77, 2, 0x06 /* Public */,
|
||||
9, 1, 80, 2, 0x06 /* Public */,
|
||||
11, 1, 83, 2, 0x06 /* Public */,
|
||||
12, 1, 86, 2, 0x06 /* Public */,
|
||||
1, 1, 74, 2, 0x06 /* Public */,
|
||||
4, 2, 77, 2, 0x06 /* Public */,
|
||||
7, 1, 82, 2, 0x06 /* Public */,
|
||||
9, 1, 85, 2, 0x06 /* Public */,
|
||||
11, 1, 88, 2, 0x06 /* Public */,
|
||||
12, 1, 91, 2, 0x06 /* Public */,
|
||||
|
||||
// slots: name, argc, parameters, tag, flags
|
||||
15, 1, 89, 2, 0x0a /* Public */,
|
||||
16, 0, 92, 2, 0x08 /* Private */,
|
||||
17, 0, 93, 2, 0x08 /* Private */,
|
||||
18, 0, 94, 2, 0x08 /* Private */,
|
||||
19, 0, 95, 2, 0x08 /* Private */,
|
||||
15, 1, 94, 2, 0x0a /* Public */,
|
||||
16, 1, 97, 2, 0x0a /* Public */,
|
||||
19, 0, 100, 2, 0x08 /* Private */,
|
||||
20, 0, 101, 2, 0x08 /* Private */,
|
||||
21, 0, 102, 2, 0x08 /* Private */,
|
||||
22, 0, 103, 2, 0x08 /* Private */,
|
||||
|
||||
// signals: parameters
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
@@ -107,6 +112,7 @@ static const uint qt_meta_data_InstructorsAndTraineesWidget[] = {
|
||||
|
||||
// slots: parameters
|
||||
QMetaType::Void, QMetaType::QString, 3,
|
||||
QMetaType::Void, 0x80000000 | 17, 18,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
QMetaType::Void,
|
||||
@@ -128,10 +134,11 @@ void InstructorsAndTraineesWidget::qt_static_metacall(QObject *_o, QMetaObject::
|
||||
case 4: _t->signal_tabMessengerChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 5: _t->signal_InitMessanger((*reinterpret_cast< QList<Trainee>(*)>(_a[1]))); break;
|
||||
case 6: _t->slot_LanguageChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
|
||||
case 7: _t->on_btnConnectionToDB_clicked(); break;
|
||||
case 8: _t->on_btnAuthorizationInstructor_clicked(); break;
|
||||
case 9: _t->on_btnDocTasks_clicked(); break;
|
||||
case 10: _t->on_toolButton_clicked(); break;
|
||||
case 7: _t->checkLoginResult((*reinterpret_cast< ServerAuthorization*(*)>(_a[1]))); break;
|
||||
case 8: _t->on_btnConnectionToDB_clicked(); break;
|
||||
case 9: _t->on_btnAuthorizationInstructor_clicked(); break;
|
||||
case 10: _t->on_btnDocTasks_clicked(); break;
|
||||
case 11: _t->on_toolButton_clicked(); break;
|
||||
default: ;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
@@ -210,13 +217,13 @@ int InstructorsAndTraineesWidget::qt_metacall(QMetaObject::Call _c, int _id, voi
|
||||
if (_id < 0)
|
||||
return _id;
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
if (_id < 11)
|
||||
if (_id < 12)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 11;
|
||||
_id -= 12;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 11)
|
||||
if (_id < 12)
|
||||
*reinterpret_cast<int*>(_a[0]) = -1;
|
||||
_id -= 11;
|
||||
_id -= 12;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,215 @@
|
||||
/****************************************************************************
|
||||
** Meta object code from reading C++ file 'connectortoserver.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 "../../../InstructorsAndTrainees/connectorToServer/connectortoserver.h"
|
||||
#include <QtCore/qbytearray.h>
|
||||
#include <QtCore/qmetatype.h>
|
||||
#if !defined(Q_MOC_OUTPUT_REVISION)
|
||||
#error "The header file 'connectortoserver.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_ConnectorToServer_t {
|
||||
QByteArrayData data[16];
|
||||
char stringdata0[223];
|
||||
};
|
||||
#define QT_MOC_LITERAL(idx, ofs, len) \
|
||||
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
||||
qptrdiff(offsetof(qt_meta_stringdata_ConnectorToServer_t, stringdata0) + ofs \
|
||||
- idx * sizeof(QByteArrayData)) \
|
||||
)
|
||||
static const qt_meta_stringdata_ConnectorToServer_t qt_meta_stringdata_ConnectorToServer = {
|
||||
{
|
||||
QT_MOC_LITERAL(0, 0, 17), // "ConnectorToServer"
|
||||
QT_MOC_LITERAL(1, 18, 13), // "sigSetConnect"
|
||||
QT_MOC_LITERAL(2, 32, 0), // ""
|
||||
QT_MOC_LITERAL(3, 33, 15), // "ServerSettings*"
|
||||
QT_MOC_LITERAL(4, 49, 14), // "serverSettings"
|
||||
QT_MOC_LITERAL(5, 64, 8), // "QThread*"
|
||||
QT_MOC_LITERAL(6, 73, 6), // "thread"
|
||||
QT_MOC_LITERAL(7, 80, 19), // "sigInitializeClient"
|
||||
QT_MOC_LITERAL(8, 100, 16), // "RecognizeSystem*"
|
||||
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"
|
||||
|
||||
},
|
||||
"ConnectorToServer\0sigSetConnect\0\0"
|
||||
"ServerSettings*\0serverSettings\0QThread*\0"
|
||||
"thread\0sigInitializeClient\0RecognizeSystem*\0"
|
||||
"recognizeSystem\0SendSystem*\0sendSystem\0"
|
||||
"sigSendAutorization\0sigLoginResult\0"
|
||||
"ServerAuthorization*\0serverAuth"
|
||||
};
|
||||
#undef QT_MOC_LITERAL
|
||||
|
||||
static const uint qt_meta_data_ConnectorToServer[] = {
|
||||
|
||||
// content:
|
||||
8, // revision
|
||||
0, // classname
|
||||
0, 0, // classinfo
|
||||
4, 14, // methods
|
||||
0, 0, // properties
|
||||
0, 0, // enums/sets
|
||||
0, 0, // constructors
|
||||
0, // flags
|
||||
4, // 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 */,
|
||||
|
||||
// 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,
|
||||
|
||||
0 // eod
|
||||
};
|
||||
|
||||
void ConnectorToServer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
||||
{
|
||||
if (_c == QMetaObject::InvokeMetaMethod) {
|
||||
auto *_t = static_cast<ConnectorToServer *>(_o);
|
||||
Q_UNUSED(_t)
|
||||
switch (_id) {
|
||||
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;
|
||||
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< RecognizeSystem* >(); break;
|
||||
case 1:
|
||||
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< SendSystem* >(); break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
} else if (_c == QMetaObject::IndexOfMethod) {
|
||||
int *result = reinterpret_cast<int *>(_a[0]);
|
||||
{
|
||||
using _t = void (ConnectorToServer::*)(ServerSettings * , QThread * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConnectorToServer::sigSetConnect)) {
|
||||
*result = 0;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (ConnectorToServer::*)(RecognizeSystem * , SendSystem * , QThread * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConnectorToServer::sigInitializeClient)) {
|
||||
*result = 1;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (ConnectorToServer::*)();
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConnectorToServer::sigSendAutorization)) {
|
||||
*result = 2;
|
||||
return;
|
||||
}
|
||||
}
|
||||
{
|
||||
using _t = void (ConnectorToServer::*)(ServerAuthorization * );
|
||||
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ConnectorToServer::sigLoginResult)) {
|
||||
*result = 3;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QT_INIT_METAOBJECT const QMetaObject ConnectorToServer::staticMetaObject = { {
|
||||
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
||||
qt_meta_stringdata_ConnectorToServer.data,
|
||||
qt_meta_data_ConnectorToServer,
|
||||
qt_static_metacall,
|
||||
nullptr,
|
||||
nullptr
|
||||
} };
|
||||
|
||||
|
||||
const QMetaObject *ConnectorToServer::metaObject() const
|
||||
{
|
||||
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
||||
}
|
||||
|
||||
void *ConnectorToServer::qt_metacast(const char *_clname)
|
||||
{
|
||||
if (!_clname) return nullptr;
|
||||
if (!strcmp(_clname, qt_meta_stringdata_ConnectorToServer.stringdata0))
|
||||
return static_cast<void*>(this);
|
||||
return QObject::qt_metacast(_clname);
|
||||
}
|
||||
|
||||
int ConnectorToServer::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 < 4)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
||||
if (_id < 4)
|
||||
qt_static_metacall(this, _c, _id, _a);
|
||||
_id -= 4;
|
||||
}
|
||||
return _id;
|
||||
}
|
||||
|
||||
// SIGNAL 0
|
||||
void ConnectorToServer::sigSetConnect(ServerSettings * _t1, QThread * _t2)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
// SIGNAL 1
|
||||
void ConnectorToServer::sigInitializeClient(RecognizeSystem * _t1, SendSystem * _t2, QThread * _t3)
|
||||
{
|
||||
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))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
||||
}
|
||||
|
||||
// SIGNAL 2
|
||||
void ConnectorToServer::sigSendAutorization()
|
||||
{
|
||||
QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
|
||||
}
|
||||
|
||||
// SIGNAL 3
|
||||
void ConnectorToServer::sigLoginResult(ServerAuthorization * _t1)
|
||||
{
|
||||
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
||||
QMetaObject::activate(this, &staticMetaObject, 3, _a);
|
||||
}
|
||||
QT_WARNING_POP
|
||||
QT_END_MOC_NAMESPACE
|
||||
@@ -246,6 +246,7 @@
|
||||
#define __INT_LEAST16_MAX__ 0x7fff
|
||||
#define __DEC64_MANT_DIG__ 16
|
||||
#define __UINT_LEAST32_MAX__ 0xffffffffU
|
||||
#define QT_NETWORK_LIB 1
|
||||
#define __SEG_GS 1
|
||||
#define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32
|
||||
#define __GCC_ATOMIC_LONG_LOCK_FREE 2
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
// This file is autogenerated. Changes will be overwritten.
|
||||
#include "EWIEGA46WW/moc_commonview.cpp"
|
||||
#include "B2PLHLQ6FC/moc_dataparser.cpp"
|
||||
#include "B2PLHLQ6FC/moc_recognizesystem.cpp"
|
||||
#include "B2PLHLQ6FC/moc_sendsystem.cpp"
|
||||
#include "B2PLHLQ6FC/moc_tcpclient.cpp"
|
||||
#include "XGTKJIRJR2/moc_connectortoserver.cpp"
|
||||
#include "L7Z45ONBWY/moc_doctaskswidget.cpp"
|
||||
#include "WUGNTYCFDG/moc_dialogauthorizationinstructor.cpp"
|
||||
#include "WUGNTYCFDG/moc_dialogeditinstructor.cpp"
|
||||
|
||||
Reference in New Issue
Block a user