сделал newInstructor

This commit is contained in:
krivoshein
2024-12-11 12:50:52 +03:00
parent 4556c07fc9
commit 0cb03e49b1
89 changed files with 1318 additions and 671 deletions

View File

@@ -23,8 +23,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_ConnectorToServer_t {
QByteArrayData data[31];
char stringdata0[468];
QByteArrayData data[46];
char stringdata0[803];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -63,7 +63,22 @@ QT_MOC_LITERAL(26, 398, 15), // "listInstructors"
QT_MOC_LITERAL(27, 414, 15), // "QList<Trainee>*"
QT_MOC_LITERAL(28, 430, 12), // "listTrainees"
QT_MOC_LITERAL(29, 443, 13), // "QList<Group>*"
QT_MOC_LITERAL(30, 457, 10) // "listGroups"
QT_MOC_LITERAL(30, 457, 10), // "listGroups"
QT_MOC_LITERAL(31, 468, 36), // "slot_AnswerQueryToDB_ListInst..."
QT_MOC_LITERAL(32, 505, 17), // "QList<Instructor>"
QT_MOC_LITERAL(33, 523, 31), // "slot_AnswerQueryToDB_ListGroups"
QT_MOC_LITERAL(34, 555, 12), // "QList<Group>"
QT_MOC_LITERAL(35, 568, 33), // "slot_AnswerQueryToDB_ListTrai..."
QT_MOC_LITERAL(36, 602, 14), // "QList<Trainee>"
QT_MOC_LITERAL(37, 617, 34), // "slot_AnswerQueryToDB_ListComp..."
QT_MOC_LITERAL(38, 652, 15), // "QList<Computer>"
QT_MOC_LITERAL(39, 668, 13), // "listComputers"
QT_MOC_LITERAL(40, 682, 35), // "slot_AnswerQueryToDB_ListClas..."
QT_MOC_LITERAL(41, 718, 16), // "QList<Classroom>"
QT_MOC_LITERAL(42, 735, 14), // "listClassrooms"
QT_MOC_LITERAL(43, 750, 30), // "slot_AnswerQueryToDB_ListTasks"
QT_MOC_LITERAL(44, 781, 11), // "QList<Task>"
QT_MOC_LITERAL(45, 793, 9) // "listTasks"
},
"ConnectorToServer\0sigSetConnect\0\0"
@@ -78,7 +93,16 @@ QT_MOC_LITERAL(30, 457, 10) // "listGroups"
"treeInstructor\0treeTrainee\0"
"slot_AnswerQueryToDB\0QList<Instructor>*\0"
"listInstructors\0QList<Trainee>*\0"
"listTrainees\0QList<Group>*\0listGroups"
"listTrainees\0QList<Group>*\0listGroups\0"
"slot_AnswerQueryToDB_ListInstructors\0"
"QList<Instructor>\0slot_AnswerQueryToDB_ListGroups\0"
"QList<Group>\0slot_AnswerQueryToDB_ListTrainees\0"
"QList<Trainee>\0slot_AnswerQueryToDB_ListComputers\0"
"QList<Computer>\0listComputers\0"
"slot_AnswerQueryToDB_ListClassrooms\0"
"QList<Classroom>\0listClassrooms\0"
"slot_AnswerQueryToDB_ListTasks\0"
"QList<Task>\0listTasks"
};
#undef QT_MOC_LITERAL
@@ -88,7 +112,7 @@ static const uint qt_meta_data_ConnectorToServer[] = {
8, // revision
0, // classname
0, 0, // classinfo
9, 14, // methods
15, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
@@ -96,17 +120,23 @@ static const uint qt_meta_data_ConnectorToServer[] = {
8, // signalCount
// signals: name, argc, parameters, tag, flags
1, 2, 59, 2, 0x06 /* Public */,
7, 3, 64, 2, 0x06 /* Public */,
12, 0, 71, 2, 0x06 /* Public */,
13, 0, 72, 2, 0x06 /* Public */,
14, 0, 73, 2, 0x06 /* Public */,
15, 1, 74, 2, 0x06 /* Public */,
18, 1, 77, 2, 0x06 /* Public */,
21, 2, 80, 2, 0x06 /* Public */,
1, 2, 89, 2, 0x06 /* Public */,
7, 3, 94, 2, 0x06 /* Public */,
12, 0, 101, 2, 0x06 /* Public */,
13, 0, 102, 2, 0x06 /* Public */,
14, 0, 103, 2, 0x06 /* Public */,
15, 1, 104, 2, 0x06 /* Public */,
18, 1, 107, 2, 0x06 /* Public */,
21, 2, 110, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
24, 3, 85, 2, 0x0a /* Public */,
24, 3, 115, 2, 0x0a /* Public */,
31, 1, 122, 2, 0x0a /* Public */,
33, 1, 125, 2, 0x0a /* Public */,
35, 1, 128, 2, 0x0a /* Public */,
37, 1, 131, 2, 0x0a /* Public */,
40, 1, 134, 2, 0x0a /* Public */,
43, 1, 137, 2, 0x0a /* Public */,
// signals: parameters
QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 4, 6,
@@ -120,6 +150,12 @@ static const uint qt_meta_data_ConnectorToServer[] = {
// slots: parameters
QMetaType::Void, 0x80000000 | 25, 0x80000000 | 27, 0x80000000 | 29, 26, 28, 30,
QMetaType::Void, 0x80000000 | 32, 26,
QMetaType::Void, 0x80000000 | 34, 30,
QMetaType::Void, 0x80000000 | 36, 28,
QMetaType::Void, 0x80000000 | 38, 39,
QMetaType::Void, 0x80000000 | 41, 42,
QMetaType::Void, 0x80000000 | 44, 45,
0 // eod
};
@@ -139,6 +175,12 @@ void ConnectorToServer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, in
case 6: _t->sigDeLoginResult((*reinterpret_cast< ServerDeAuthorization*(*)>(_a[1]))); break;
case 7: _t->signal_UpdateDB((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
case 8: _t->slot_AnswerQueryToDB((*reinterpret_cast< QList<Instructor>*(*)>(_a[1])),(*reinterpret_cast< QList<Trainee>*(*)>(_a[2])),(*reinterpret_cast< QList<Group>*(*)>(_a[3]))); break;
case 9: _t->slot_AnswerQueryToDB_ListInstructors((*reinterpret_cast< QList<Instructor>(*)>(_a[1]))); break;
case 10: _t->slot_AnswerQueryToDB_ListGroups((*reinterpret_cast< QList<Group>(*)>(_a[1]))); break;
case 11: _t->slot_AnswerQueryToDB_ListTrainees((*reinterpret_cast< QList<Trainee>(*)>(_a[1]))); break;
case 12: _t->slot_AnswerQueryToDB_ListComputers((*reinterpret_cast< QList<Computer>(*)>(_a[1]))); break;
case 13: _t->slot_AnswerQueryToDB_ListClassrooms((*reinterpret_cast< QList<Classroom>(*)>(_a[1]))); break;
case 14: _t->slot_AnswerQueryToDB_ListTasks((*reinterpret_cast< QList<Task>(*)>(_a[1]))); break;
default: ;
}
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
@@ -244,13 +286,13 @@ int ConnectorToServer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 9)
if (_id < 15)
qt_static_metacall(this, _c, _id, _a);
_id -= 9;
_id -= 15;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 9)
if (_id < 15)
qt_static_metacall(this, _c, _id, _a);
_id -= 9;
_id -= 15;
}
return _id;
}