feat: send xml answer

This commit is contained in:
semenov
2024-08-15 15:30:22 +03:00
parent 7ba182b6cf
commit 883ac44e6b
41 changed files with 1499 additions and 876 deletions

View File

@@ -22,8 +22,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_RecognizeSystem_t {
QByteArrayData data[10];
char stringdata0[104];
QByteArrayData data[11];
char stringdata0[119];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -41,12 +41,13 @@ QT_MOC_LITERAL(5, 50, 12), // "LoadComplete"
QT_MOC_LITERAL(6, 63, 12), // "onNeedUpdate"
QT_MOC_LITERAL(7, 76, 4), // "flag"
QT_MOC_LITERAL(8, 81, 14), // "onSendDebugLog"
QT_MOC_LITERAL(9, 96, 7) // "message"
QT_MOC_LITERAL(9, 96, 7), // "message"
QT_MOC_LITERAL(10, 104, 14) // "SockedDisabled"
},
"RecognizeSystem\0UpdateBytesAvailable\0"
"\0size\0sended\0LoadComplete\0onNeedUpdate\0"
"flag\0onSendDebugLog\0message"
"flag\0onSendDebugLog\0message\0SockedDisabled"
};
#undef QT_MOC_LITERAL
@@ -56,24 +57,26 @@ static const uint qt_meta_data_RecognizeSystem[] = {
8, // revision
0, // classname
0, 0, // classinfo
4, 14, // methods
5, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
4, // signalCount
5, // signalCount
// signals: name, argc, parameters, tag, flags
1, 2, 34, 2, 0x06 /* Public */,
5, 0, 39, 2, 0x06 /* Public */,
6, 1, 40, 2, 0x06 /* Public */,
8, 1, 43, 2, 0x06 /* Public */,
1, 2, 39, 2, 0x06 /* Public */,
5, 0, 44, 2, 0x06 /* Public */,
6, 1, 45, 2, 0x06 /* Public */,
8, 1, 48, 2, 0x06 /* Public */,
10, 0, 51, 2, 0x06 /* Public */,
// signals: parameters
QMetaType::Void, QMetaType::LongLong, QMetaType::ULongLong, 3, 4,
QMetaType::Void,
QMetaType::Void, QMetaType::Bool, 7,
QMetaType::Void, QMetaType::QString, 9,
QMetaType::Void,
0 // eod
};
@@ -88,6 +91,7 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
case 1: _t->LoadComplete(); break;
case 2: _t->onNeedUpdate((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 3: _t->onSendDebugLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 4: _t->SockedDisabled(); break;
default: ;
}
} else if (_c == QMetaObject::IndexOfMethod) {
@@ -120,6 +124,13 @@ void RecognizeSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
return;
}
}
{
using _t = void (RecognizeSystem::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RecognizeSystem::SockedDisabled)) {
*result = 4;
return;
}
}
}
}
@@ -152,13 +163,13 @@ int RecognizeSystem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 4)
if (_id < 5)
qt_static_metacall(this, _c, _id, _a);
_id -= 4;
_id -= 5;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 4)
if (_id < 5)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 4;
_id -= 5;
}
return _id;
}
@@ -189,5 +200,11 @@ void RecognizeSystem::onSendDebugLog(QString _t1)
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
// SIGNAL 4
void RecognizeSystem::SockedDisabled()
{
QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE