Мессенджер полностью работает

This commit is contained in:
krivoshein
2024-12-17 12:54:43 +03:00
parent e393244bf7
commit a839f964fe
69 changed files with 724 additions and 605 deletions

View File

@@ -23,8 +23,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_RecognizeSystem_t {
QByteArrayData data[43];
char stringdata0[718];
QByteArrayData data[46];
char stringdata0[750];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -61,21 +61,24 @@ QT_MOC_LITERAL(24, 333, 10), // "listGroups"
QT_MOC_LITERAL(25, 344, 25), // "sigSocketWaitForReadyRead"
QT_MOC_LITERAL(26, 370, 8), // "waitTime"
QT_MOC_LITERAL(27, 379, 15), // "sigStartCompare"
QT_MOC_LITERAL(28, 395, 34), // "sigAnswerQueryToDB_ListInstru..."
QT_MOC_LITERAL(29, 430, 17), // "QList<Instructor>"
QT_MOC_LITERAL(30, 448, 29), // "sigAnswerQueryToDB_ListGroups"
QT_MOC_LITERAL(31, 478, 12), // "QList<Group>"
QT_MOC_LITERAL(32, 491, 31), // "sigAnswerQueryToDB_ListTrainees"
QT_MOC_LITERAL(33, 523, 14), // "QList<Trainee>"
QT_MOC_LITERAL(34, 538, 32), // "sigAnswerQueryToDB_ListComputers"
QT_MOC_LITERAL(35, 571, 15), // "QList<Computer>"
QT_MOC_LITERAL(36, 587, 13), // "listComputers"
QT_MOC_LITERAL(37, 601, 33), // "sigAnswerQueryToDB_ListClassr..."
QT_MOC_LITERAL(38, 635, 16), // "QList<Classroom>"
QT_MOC_LITERAL(39, 652, 14), // "listClassrooms"
QT_MOC_LITERAL(40, 667, 28), // "sigAnswerQueryToDB_ListTasks"
QT_MOC_LITERAL(41, 696, 11), // "QList<Task>"
QT_MOC_LITERAL(42, 708, 9) // "listTasks"
QT_MOC_LITERAL(28, 395, 20), // "signal_MessageForGUI"
QT_MOC_LITERAL(29, 416, 5), // "login"
QT_MOC_LITERAL(30, 422, 4), // "text"
QT_MOC_LITERAL(31, 427, 34), // "sigAnswerQueryToDB_ListInstru..."
QT_MOC_LITERAL(32, 462, 17), // "QList<Instructor>"
QT_MOC_LITERAL(33, 480, 29), // "sigAnswerQueryToDB_ListGroups"
QT_MOC_LITERAL(34, 510, 12), // "QList<Group>"
QT_MOC_LITERAL(35, 523, 31), // "sigAnswerQueryToDB_ListTrainees"
QT_MOC_LITERAL(36, 555, 14), // "QList<Trainee>"
QT_MOC_LITERAL(37, 570, 32), // "sigAnswerQueryToDB_ListComputers"
QT_MOC_LITERAL(38, 603, 15), // "QList<Computer>"
QT_MOC_LITERAL(39, 619, 13), // "listComputers"
QT_MOC_LITERAL(40, 633, 33), // "sigAnswerQueryToDB_ListClassr..."
QT_MOC_LITERAL(41, 667, 16), // "QList<Classroom>"
QT_MOC_LITERAL(42, 684, 14), // "listClassrooms"
QT_MOC_LITERAL(43, 699, 28), // "sigAnswerQueryToDB_ListTasks"
QT_MOC_LITERAL(44, 728, 11), // "QList<Task>"
QT_MOC_LITERAL(45, 740, 9) // "listTasks"
},
"RecognizeSystem\0sigUpdateBytesAvailable\0"
@@ -88,8 +91,8 @@ QT_MOC_LITERAL(42, 708, 9) // "listTasks"
"QList<Instructor>*\0listInstructors\0"
"QList<Trainee>*\0listTrainees\0QList<Group>*\0"
"listGroups\0sigSocketWaitForReadyRead\0"
"waitTime\0sigStartCompare\0"
"sigAnswerQueryToDB_ListInstructors\0"
"waitTime\0sigStartCompare\0signal_MessageForGUI\0"
"login\0text\0sigAnswerQueryToDB_ListInstructors\0"
"QList<Instructor>\0sigAnswerQueryToDB_ListGroups\0"
"QList<Group>\0sigAnswerQueryToDB_ListTrainees\0"
"QList<Trainee>\0sigAnswerQueryToDB_ListComputers\0"
@@ -107,31 +110,32 @@ static const uint qt_meta_data_RecognizeSystem[] = {
8, // revision
0, // classname
0, 0, // classinfo
17, 14, // methods
18, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
17, // signalCount
18, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 99, 2, 0x06 /* Public */,
3, 0, 100, 2, 0x06 /* Public */,
4, 3, 101, 2, 0x06 /* Public */,
8, 1, 108, 2, 0x06 /* Public */,
10, 0, 111, 2, 0x06 /* Public */,
11, 0, 112, 2, 0x06 /* Public */,
12, 1, 113, 2, 0x06 /* Public */,
15, 1, 116, 2, 0x06 /* Public */,
18, 3, 119, 2, 0x06 /* Public */,
25, 1, 126, 2, 0x06 /* Public */,
27, 0, 129, 2, 0x06 /* Public */,
28, 1, 130, 2, 0x06 /* Public */,
30, 1, 133, 2, 0x06 /* Public */,
32, 1, 136, 2, 0x06 /* Public */,
34, 1, 139, 2, 0x06 /* Public */,
37, 1, 142, 2, 0x06 /* Public */,
40, 1, 145, 2, 0x06 /* Public */,
1, 0, 104, 2, 0x06 /* Public */,
3, 0, 105, 2, 0x06 /* Public */,
4, 3, 106, 2, 0x06 /* Public */,
8, 1, 113, 2, 0x06 /* Public */,
10, 0, 116, 2, 0x06 /* Public */,
11, 0, 117, 2, 0x06 /* Public */,
12, 1, 118, 2, 0x06 /* Public */,
15, 1, 121, 2, 0x06 /* Public */,
18, 3, 124, 2, 0x06 /* Public */,
25, 1, 131, 2, 0x06 /* Public */,
27, 0, 134, 2, 0x06 /* Public */,
28, 2, 135, 2, 0x06 /* Public */,
31, 1, 140, 2, 0x06 /* Public */,
33, 1, 143, 2, 0x06 /* Public */,
35, 1, 146, 2, 0x06 /* Public */,
37, 1, 149, 2, 0x06 /* Public */,
40, 1, 152, 2, 0x06 /* Public */,
43, 1, 155, 2, 0x06 /* Public */,
// signals: parameters
QMetaType::Void,
@@ -145,12 +149,13 @@ static const uint qt_meta_data_RecognizeSystem[] = {
QMetaType::Void, 0x80000000 | 19, 0x80000000 | 21, 0x80000000 | 23, 20, 22, 24,
QMetaType::Void, QMetaType::Int, 26,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 29, 20,
QMetaType::Void, 0x80000000 | 31, 24,
QMetaType::Void, 0x80000000 | 33, 22,
QMetaType::Void, 0x80000000 | 35, 36,
QMetaType::Void, QMetaType::QString, QMetaType::QString, 29, 30,
QMetaType::Void, 0x80000000 | 32, 20,
QMetaType::Void, 0x80000000 | 34, 24,
QMetaType::Void, 0x80000000 | 36, 22,
QMetaType::Void, 0x80000000 | 38, 39,
QMetaType::Void, 0x80000000 | 41, 42,
QMetaType::Void, 0x80000000 | 44, 45,
0 // eod
};
@@ -172,12 +177,13 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
case 8: _t->sigAnswerQueryToDB((*reinterpret_cast< QList<Instructor>*(*)>(_a[1])),(*reinterpret_cast< QList<Trainee>*(*)>(_a[2])),(*reinterpret_cast< QList<Group>*(*)>(_a[3]))); break;
case 9: _t->sigSocketWaitForReadyRead((*reinterpret_cast< int(*)>(_a[1]))); break;
case 10: _t->sigStartCompare(); break;
case 11: _t->sigAnswerQueryToDB_ListInstructors((*reinterpret_cast< QList<Instructor>(*)>(_a[1]))); break;
case 12: _t->sigAnswerQueryToDB_ListGroups((*reinterpret_cast< QList<Group>(*)>(_a[1]))); break;
case 13: _t->sigAnswerQueryToDB_ListTrainees((*reinterpret_cast< QList<Trainee>(*)>(_a[1]))); break;
case 14: _t->sigAnswerQueryToDB_ListComputers((*reinterpret_cast< QList<Computer>(*)>(_a[1]))); break;
case 15: _t->sigAnswerQueryToDB_ListClassrooms((*reinterpret_cast< QList<Classroom>(*)>(_a[1]))); break;
case 16: _t->sigAnswerQueryToDB_ListTasks((*reinterpret_cast< QList<Task>(*)>(_a[1]))); break;
case 11: _t->signal_MessageForGUI((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
case 12: _t->sigAnswerQueryToDB_ListInstructors((*reinterpret_cast< QList<Instructor>(*)>(_a[1]))); break;
case 13: _t->sigAnswerQueryToDB_ListGroups((*reinterpret_cast< QList<Group>(*)>(_a[1]))); break;
case 14: _t->sigAnswerQueryToDB_ListTrainees((*reinterpret_cast< QList<Trainee>(*)>(_a[1]))); break;
case 15: _t->sigAnswerQueryToDB_ListComputers((*reinterpret_cast< QList<Computer>(*)>(_a[1]))); break;
case 16: _t->sigAnswerQueryToDB_ListClassrooms((*reinterpret_cast< QList<Classroom>(*)>(_a[1]))); break;
case 17: _t->sigAnswerQueryToDB_ListTasks((*reinterpret_cast< QList<Task>(*)>(_a[1]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
@@ -259,45 +265,52 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
return;
}
}
{
using _t = void (RecognizeSystem::*)(QString , QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::signal_MessageForGUI)) {
*result = 11;
return;
}
}
{
using _t = void (RecognizeSystem::*)(QList<Instructor> );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigAnswerQueryToDB_ListInstructors)) {
*result = 11;
*result = 12;
return;
}
}
{
using _t = void (RecognizeSystem::*)(QList<Group> );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigAnswerQueryToDB_ListGroups)) {
*result = 12;
*result = 13;
return;
}
}
{
using _t = void (RecognizeSystem::*)(QList<Trainee> );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigAnswerQueryToDB_ListTrainees)) {
*result = 13;
*result = 14;
return;
}
}
{
using _t = void (RecognizeSystem::*)(QList<Computer> );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigAnswerQueryToDB_ListComputers)) {
*result = 14;
*result = 15;
return;
}
}
{
using _t = void (RecognizeSystem::*)(QList<Classroom> );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigAnswerQueryToDB_ListClassrooms)) {
*result = 15;
*result = 16;
return;
}
}
{
using _t = void (RecognizeSystem::*)(QList<Task> );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::sigAnswerQueryToDB_ListTasks)) {
*result = 16;
*result = 17;
return;
}
}
@@ -333,13 +346,13 @@ int RecognizeSystem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 17)
if (_id < 18)
qt_static_metacall(this, _c, _id, _a);
_id -= 17;
_id -= 18;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 17)
if (_id < 18)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 17;
_id -= 18;
}
return _id;
}
@@ -417,45 +430,52 @@ void RecognizeSystem::sigStartCompare()
}
// SIGNAL 11
void RecognizeSystem::sigAnswerQueryToDB_ListInstructors(QList<Instructor> _t1)
void RecognizeSystem::signal_MessageForGUI(QString _t1, QString _t2)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
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, 11, _a);
}
// SIGNAL 12
void RecognizeSystem::sigAnswerQueryToDB_ListGroups(QList<Group> _t1)
void RecognizeSystem::sigAnswerQueryToDB_ListInstructors(QList<Instructor> _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 12, _a);
}
// SIGNAL 13
void RecognizeSystem::sigAnswerQueryToDB_ListTrainees(QList<Trainee> _t1)
void RecognizeSystem::sigAnswerQueryToDB_ListGroups(QList<Group> _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 13, _a);
}
// SIGNAL 14
void RecognizeSystem::sigAnswerQueryToDB_ListComputers(QList<Computer> _t1)
void RecognizeSystem::sigAnswerQueryToDB_ListTrainees(QList<Trainee> _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 14, _a);
}
// SIGNAL 15
void RecognizeSystem::sigAnswerQueryToDB_ListClassrooms(QList<Classroom> _t1)
void RecognizeSystem::sigAnswerQueryToDB_ListComputers(QList<Computer> _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 15, _a);
}
// SIGNAL 16
void RecognizeSystem::sigAnswerQueryToDB_ListTasks(QList<Task> _t1)
void RecognizeSystem::sigAnswerQueryToDB_ListClassrooms(QList<Classroom> _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 16, _a);
}
// SIGNAL 17
void RecognizeSystem::sigAnswerQueryToDB_ListTasks(QList<Task> _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 17, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE