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

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

@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_ProcessingSystem_t {
QByteArrayData data[10];
char stringdata0[125];
QByteArrayData data[11];
char stringdata0[151];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -41,13 +41,15 @@ QT_MOC_LITERAL(5, 68, 3), // "log"
QT_MOC_LITERAL(6, 72, 17), // "sigAddToMessanger"
QT_MOC_LITERAL(7, 90, 5), // "login"
QT_MOC_LITERAL(8, 96, 4), // "text"
QT_MOC_LITERAL(9, 101, 23) // "signal_msgToClientReady"
QT_MOC_LITERAL(9, 101, 23), // "signal_msgToClientReady"
QT_MOC_LITERAL(10, 125, 25) // "signal_msgFromClientReady"
},
"ProcessingSystem\0sigUpdateListClients\0"
"\0sigAuthChanged\0sigLogMessage\0log\0"
"sigAddToMessanger\0login\0text\0"
"signal_msgToClientReady"
"signal_msgToClientReady\0"
"signal_msgFromClientReady"
};
#undef QT_MOC_LITERAL
@@ -57,25 +59,27 @@ static const uint qt_meta_data_ProcessingSystem[] = {
8, // revision
0, // classname
0, 0, // classinfo
5, 14, // methods
6, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
5, // signalCount
6, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 39, 2, 0x06 /* Public */,
3, 0, 40, 2, 0x06 /* Public */,
4, 1, 41, 2, 0x06 /* Public */,
6, 2, 44, 2, 0x06 /* Public */,
9, 2, 49, 2, 0x06 /* Public */,
1, 0, 44, 2, 0x06 /* Public */,
3, 0, 45, 2, 0x06 /* Public */,
4, 1, 46, 2, 0x06 /* Public */,
6, 2, 49, 2, 0x06 /* Public */,
9, 2, 54, 2, 0x06 /* Public */,
10, 2, 59, 2, 0x06 /* Public */,
// signals: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 5,
QMetaType::Void, QMetaType::QString, QMetaType::QString, 7, 8,
QMetaType::Void, QMetaType::QString, QMetaType::QString, 7, 8,
QMetaType::Void, QMetaType::QString, QMetaType::QString, 7, 8,
0 // eod
@@ -92,6 +96,7 @@ void ProcessingSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
case 2: _t->sigLogMessage((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 3: _t->sigAddToMessanger((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
case 4: _t->signal_msgToClientReady((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
case 5: _t->signal_msgFromClientReady((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
@@ -131,6 +136,13 @@ void ProcessingSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
return;
}
}
{
using _t = void (ProcessingSystem::*)(QString , QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ProcessingSystem::signal_msgFromClientReady)) {
*result = 5;
return;
}
}
}
}
@@ -163,13 +175,13 @@ int ProcessingSystem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 5)
if (_id < 6)
qt_static_metacall(this, _c, _id, _a);
_id -= 5;
_id -= 6;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 5)
if (_id < 6)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 5;
_id -= 6;
}
return _id;
}
@@ -206,5 +218,12 @@ void ProcessingSystem::signal_msgToClientReady(QString _t1, QString _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, 4, _a);
}
// SIGNAL 5
void ProcessingSystem::signal_msgFromClientReady(QString _t1, QString _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, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE