feat: change version

This commit is contained in:
semenov
2025-01-20 09:08:46 +03:00
parent d2eb0d4525
commit 706fd40804
37 changed files with 251 additions and 7309 deletions

View File

@@ -10,6 +10,7 @@
#include "../Core/dataparser.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dataparser.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
@@ -22,8 +23,8 @@ QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_DataParser_t {
QByteArrayData data[6];
char stringdata0[51];
QByteArrayData data[9];
char stringdata0[104];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
@@ -36,12 +37,16 @@ QT_MOC_LITERAL(0, 0, 10), // "DataParser"
QT_MOC_LITERAL(1, 11, 9), // "sigNotify"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 6), // "notify"
QT_MOC_LITERAL(4, 29, 16), // "xmlAnswer_notify"
QT_MOC_LITERAL(5, 46, 4) // "code"
QT_MOC_LITERAL(4, 29, 22), // "sigUpdateFilesOnServer"
QT_MOC_LITERAL(5, 52, 16), // "QList<FileData>*"
QT_MOC_LITERAL(6, 69, 12), // "fileSendList"
QT_MOC_LITERAL(7, 82, 16), // "xmlAnswer_notify"
QT_MOC_LITERAL(8, 99, 4) // "code"
},
"DataParser\0sigNotify\0\0notify\0"
"xmlAnswer_notify\0code"
"sigUpdateFilesOnServer\0QList<FileData>*\0"
"fileSendList\0xmlAnswer_notify\0code"
};
#undef QT_MOC_LITERAL
@@ -51,24 +56,26 @@ static const uint qt_meta_data_DataParser[] = {
8, // revision
0, // classname
0, 0, // classinfo
2, 14, // methods
3, 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, 1, 24, 2, 0x06 /* Public */,
1, 1, 29, 2, 0x06 /* Public */,
4, 1, 32, 2, 0x06 /* Public */,
// slots: name, argc, parameters, tag, flags
4, 1, 27, 2, 0x0a /* Public */,
7, 1, 35, 2, 0x0a /* Public */,
// signals: parameters
QMetaType::Void, QMetaType::QString, 3,
QMetaType::Void, 0x80000000 | 5, 6,
// slots: parameters
QMetaType::QByteArray, QMetaType::QString, 5,
QMetaType::QByteArray, QMetaType::QString, 8,
0 // eod
};
@@ -80,7 +87,8 @@ void DataParser::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
Q_UNUSED(_t)
switch (_id) {
case 0: _t->sigNotify((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 1: { QByteArray _r = _t->xmlAnswer_notify((*reinterpret_cast< QString(*)>(_a[1])));
case 1: _t->sigUpdateFilesOnServer((*reinterpret_cast< QList<FileData>*(*)>(_a[1]))); break;
case 2: { QByteArray _r = _t->xmlAnswer_notify((*reinterpret_cast< QString(*)>(_a[1])));
if (_a[0]) *reinterpret_cast< QByteArray*>(_a[0]) = std::move(_r); } break;
default: ;
}
@@ -93,6 +101,13 @@ void DataParser::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
return;
}
}
{
using _t = void (DataParser::*)(QList<FileData> * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DataParser::sigUpdateFilesOnServer)) {
*result = 1;
return;
}
}
}
}
@@ -125,13 +140,13 @@ int DataParser::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 2)
if (_id < 3)
qt_static_metacall(this, _c, _id, _a);
_id -= 2;
_id -= 3;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 2)
if (_id < 3)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 2;
_id -= 3;
}
return _id;
}
@@ -142,5 +157,12 @@ void DataParser::sigNotify(QString _t1)
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void DataParser::sigUpdateFilesOnServer(QList<FileData> * _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE