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

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_MessangerWidget_t {
QByteArrayData data[15];
char stringdata0[230];
QByteArrayData data[16];
char stringdata0[254];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -47,7 +47,8 @@ QT_MOC_LITERAL(10, 153, 20), // "slot_LanguageChanged"
QT_MOC_LITERAL(11, 174, 8), // "language"
QT_MOC_LITERAL(12, 183, 18), // "slot_InitMessanger"
QT_MOC_LITERAL(13, 202, 14), // "QList<Trainee>"
QT_MOC_LITERAL(14, 217, 12) // "listTrainees"
QT_MOC_LITERAL(14, 217, 12), // "listTrainees"
QT_MOC_LITERAL(15, 230, 23) // "slot_msgFromClientReady"
},
"MessangerWidget\0signal_msgToClientReady\0"
@@ -56,7 +57,7 @@ QT_MOC_LITERAL(14, 217, 12) // "listTrainees"
"index\0slot_traineeSelected\0"
"slot_LanguageChanged\0language\0"
"slot_InitMessanger\0QList<Trainee>\0"
"listTrainees"
"listTrainees\0slot_msgFromClientReady"
};
#undef QT_MOC_LITERAL
@@ -66,7 +67,7 @@ static const uint qt_meta_data_MessangerWidget[] = {
8, // revision
0, // classname
0, 0, // classinfo
7, 14, // methods
8, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
@@ -74,15 +75,16 @@ static const uint qt_meta_data_MessangerWidget[] = {
2, // signalCount
// signals: name, argc, parameters, tag, flags
1, 2, 49, 2, 0x06 /* Public */,
5, 1, 54, 2, 0x06 /* Public */,
1, 2, 54, 2, 0x06 /* Public */,
5, 1, 59, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
6, 0, 57, 2, 0x08 /* Private */,
7, 1, 58, 2, 0x08 /* Private */,
9, 1, 61, 2, 0x0a /* Public */,
10, 1, 64, 2, 0x0a /* Public */,
12, 1, 67, 2, 0x0a /* Public */,
6, 0, 62, 2, 0x08 /* Private */,
7, 1, 63, 2, 0x08 /* Private */,
9, 1, 66, 2, 0x0a /* Public */,
10, 1, 69, 2, 0x0a /* Public */,
12, 1, 72, 2, 0x0a /* Public */,
15, 2, 75, 2, 0x0a /* Public */,
// signals: parameters
QMetaType::Void, QMetaType::QString, QMetaType::QString, 3, 4,
@@ -94,6 +96,7 @@ static const uint qt_meta_data_MessangerWidget[] = {
QMetaType::Void, QMetaType::QString, 3,
QMetaType::Void, QMetaType::QString, 11,
QMetaType::Void, 0x80000000 | 13, 14,
QMetaType::Void, QMetaType::QString, QMetaType::QString, 3, 4,
0 // eod
};
@@ -111,6 +114,7 @@ void MessangerWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
case 4: _t->slot_traineeSelected((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 5: _t->slot_LanguageChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 6: _t->slot_InitMessanger((*reinterpret_cast< QList<Trainee>(*)>(_a[1]))); break;
case 7: _t->slot_msgFromClientReady((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
@@ -161,13 +165,13 @@ int MessangerWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 7)
if (_id < 8)
qt_static_metacall(this, _c, _id, _a);
_id -= 7;
_id -= 8;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 7)
if (_id < 8)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 7;
_id -= 8;
}
return _id;
}