feat: change UI for send to server

This commit is contained in:
semenov
2024-10-01 16:25:54 +03:00
parent dfe08fc2db
commit 11e71f46a7
34 changed files with 5562 additions and 917 deletions

View File

@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_HashComparer_t {
QByteArrayData data[3];
char stringdata0[27];
QByteArrayData data[4];
char stringdata0[40];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -34,10 +34,11 @@ static const qt_meta_stringdata_HashComparer_t qt_meta_stringdata_HashComparer =
{
QT_MOC_LITERAL(0, 0, 12), // "HashComparer"
QT_MOC_LITERAL(1, 13, 12), // "sigCallCheck"
QT_MOC_LITERAL(2, 26, 0) // ""
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 12) // "sigHaveDelta"
},
"HashComparer\0sigCallCheck\0"
"HashComparer\0sigCallCheck\0\0sigHaveDelta"
};
#undef QT_MOC_LITERAL
@@ -47,17 +48,19 @@ static const uint qt_meta_data_HashComparer[] = {
8, // revision
0, // classname
0, 0, // classinfo
1, 14, // methods
2, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
1, // signalCount
2, // signalCount
// signals: name, argc, parameters, tag, flags
1, 0, 19, 2, 0x06 /* Public */,
1, 0, 24, 2, 0x06 /* Public */,
3, 0, 25, 2, 0x06 /* Public */,
// signals: parameters
QMetaType::Void,
QMetaType::Void,
0 // eod
@@ -70,6 +73,7 @@ void HashComparer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id
Q_UNUSED(_t)
switch (_id) {
case 0: _t->sigCallCheck(); break;
case 1: _t->sigHaveDelta(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
@@ -81,6 +85,13 @@ void HashComparer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id
return;
}
}
{
using _t = void (HashComparer::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&HashComparer::sigHaveDelta)) {
*result = 1;
return;
}
}
}
Q_UNUSED(_a);
}
@@ -114,13 +125,13 @@ int HashComparer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 1)
if (_id < 2)
qt_static_metacall(this, _c, _id, _a);
_id -= 1;
_id -= 2;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 1)
if (_id < 2)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 1;
_id -= 2;
}
return _id;
}
@@ -130,5 +141,11 @@ void HashComparer::sigCallCheck()
{
QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
// SIGNAL 1
void HashComparer::sigHaveDelta()
{
QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE