before task parser

This commit is contained in:
krivoshein
2024-11-25 15:25:55 +03:00
parent 2ed1eac956
commit 7637922872
401 changed files with 39759 additions and 1630 deletions

View File

@@ -0,0 +1,415 @@
/****************************************************************************
** Meta object code from reading C++ file 'clienthandler.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../../ServerLMS/clienthandler.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'clienthandler.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.14.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_ClientHandler_t {
QByteArrayData data[32];
char stringdata0[373];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
qptrdiff(offsetof(qt_meta_stringdata_ClientHandler_t, stringdata0) + ofs \
- idx * sizeof(QByteArrayData)) \
)
static const qt_meta_stringdata_ClientHandler_t qt_meta_stringdata_ClientHandler = {
{
QT_MOC_LITERAL(0, 0, 13), // "ClientHandler"
QT_MOC_LITERAL(1, 14, 16), // "sigSendXmlAnswer"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 5), // "array"
QT_MOC_LITERAL(4, 38, 13), // "sigInitSender"
QT_MOC_LITERAL(5, 52, 11), // "DataParser*"
QT_MOC_LITERAL(6, 64, 9), // "dataParse"
QT_MOC_LITERAL(7, 74, 7), // "Logger*"
QT_MOC_LITERAL(8, 82, 6), // "logger"
QT_MOC_LITERAL(9, 89, 14), // "sigFolderBlock"
QT_MOC_LITERAL(10, 104, 4), // "path"
QT_MOC_LITERAL(11, 109, 12), // "sigFileBlock"
QT_MOC_LITERAL(12, 122, 19), // "sigGetIsSendStopped"
QT_MOC_LITERAL(13, 142, 18), // "sigSendDeleteBlock"
QT_MOC_LITERAL(14, 161, 13), // "sigSendFinish"
QT_MOC_LITERAL(15, 175, 19), // "sigSendMessageBlock"
QT_MOC_LITERAL(16, 195, 4), // "text"
QT_MOC_LITERAL(17, 200, 13), // "sigNeedUpdate"
QT_MOC_LITERAL(18, 214, 4), // "flag"
QT_MOC_LITERAL(19, 219, 4), // "size"
QT_MOC_LITERAL(20, 224, 9), // "fileCount"
QT_MOC_LITERAL(21, 234, 21), // "sigClientDisconnected"
QT_MOC_LITERAL(22, 256, 7), // "address"
QT_MOC_LITERAL(23, 264, 4), // "port"
QT_MOC_LITERAL(24, 269, 11), // "sigSendHash"
QT_MOC_LITERAL(25, 281, 12), // "sigRecognize"
QT_MOC_LITERAL(26, 294, 14), // "ClientHandler*"
QT_MOC_LITERAL(27, 309, 7), // "handler"
QT_MOC_LITERAL(28, 317, 13), // "sigSendNotify"
QT_MOC_LITERAL(29, 331, 6), // "notify"
QT_MOC_LITERAL(30, 338, 26), // "sigSendFileBlockWithRename"
QT_MOC_LITERAL(31, 365, 7) // "newName"
},
"ClientHandler\0sigSendXmlAnswer\0\0array\0"
"sigInitSender\0DataParser*\0dataParse\0"
"Logger*\0logger\0sigFolderBlock\0path\0"
"sigFileBlock\0sigGetIsSendStopped\0"
"sigSendDeleteBlock\0sigSendFinish\0"
"sigSendMessageBlock\0text\0sigNeedUpdate\0"
"flag\0size\0fileCount\0sigClientDisconnected\0"
"address\0port\0sigSendHash\0sigRecognize\0"
"ClientHandler*\0handler\0sigSendNotify\0"
"notify\0sigSendFileBlockWithRename\0"
"newName"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_ClientHandler[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
14, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
14, // signalCount
// signals: name, argc, parameters, tag, flags
1, 1, 84, 2, 0x06 /* Public */,
4, 2, 87, 2, 0x06 /* Public */,
9, 1, 92, 2, 0x06 /* Public */,
11, 1, 95, 2, 0x06 /* Public */,
12, 0, 98, 2, 0x06 /* Public */,
13, 1, 99, 2, 0x06 /* Public */,
14, 0, 102, 2, 0x06 /* Public */,
15, 1, 103, 2, 0x06 /* Public */,
17, 3, 106, 2, 0x06 /* Public */,
21, 2, 113, 2, 0x06 /* Public */,
24, 0, 118, 2, 0x06 /* Public */,
25, 1, 119, 2, 0x06 /* Public */,
28, 1, 122, 2, 0x06 /* Public */,
30, 2, 125, 2, 0x06 /* Public */,
// signals: parameters
QMetaType::Void, QMetaType::QByteArray, 3,
QMetaType::Void, 0x80000000 | 5, 0x80000000 | 7, 6, 8,
QMetaType::Void, QMetaType::QString, 10,
QMetaType::Void, QMetaType::QString, 10,
QMetaType::Bool,
QMetaType::Void, QMetaType::QString, 10,
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 16,
QMetaType::Void, QMetaType::Bool, QMetaType::ULongLong, QMetaType::ULongLong, 18, 19, 20,
QMetaType::Void, QMetaType::QString, QMetaType::QString, 22, 23,
QMetaType::Void,
QMetaType::Void, 0x80000000 | 26, 27,
QMetaType::Void, QMetaType::QString, 29,
QMetaType::Void, QMetaType::QString, QMetaType::QString, 10, 31,
0 // eod
};
void ClientHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
auto *_t = static_cast<ClientHandler *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->sigSendXmlAnswer((*reinterpret_cast< QByteArray(*)>(_a[1]))); break;
case 1: _t->sigInitSender((*reinterpret_cast< DataParser*(*)>(_a[1])),(*reinterpret_cast< Logger*(*)>(_a[2]))); break;
case 2: _t->sigFolderBlock((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 3: _t->sigFileBlock((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 4: { bool _r = _t->sigGetIsSendStopped();
if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
case 5: _t->sigSendDeleteBlock((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 6: _t->sigSendFinish(); break;
case 7: _t->sigSendMessageBlock((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 8: _t->sigNeedUpdate((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< quint64(*)>(_a[2])),(*reinterpret_cast< quint64(*)>(_a[3]))); break;
case 9: _t->sigClientDisconnected((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
case 10: _t->sigSendHash(); break;
case 11: _t->sigRecognize((*reinterpret_cast< ClientHandler*(*)>(_a[1]))); break;
case 12: _t->sigSendNotify((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 13: _t->sigSendFileBlockWithRename((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
default: ;
}
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
switch (_id) {
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
case 1:
switch (*reinterpret_cast<int*>(_a[1])) {
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
case 0:
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< DataParser* >(); break;
case 1:
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Logger* >(); break;
}
break;
case 11:
switch (*reinterpret_cast<int*>(_a[1])) {
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
case 0:
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ClientHandler* >(); break;
}
break;
}
} else if (_c == QMetaObject::IndexOfMethod) {
int *result = reinterpret_cast<int *>(_a[0]);
{
using _t = void (ClientHandler::*)(QByteArray );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClientHandler::sigSendXmlAnswer)) {
*result = 0;
return;
}
}
{
using _t = void (ClientHandler::*)(DataParser * , Logger * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClientHandler::sigInitSender)) {
*result = 1;
return;
}
}
{
using _t = void (ClientHandler::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClientHandler::sigFolderBlock)) {
*result = 2;
return;
}
}
{
using _t = void (ClientHandler::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClientHandler::sigFileBlock)) {
*result = 3;
return;
}
}
{
using _t = bool (ClientHandler::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClientHandler::sigGetIsSendStopped)) {
*result = 4;
return;
}
}
{
using _t = void (ClientHandler::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClientHandler::sigSendDeleteBlock)) {
*result = 5;
return;
}
}
{
using _t = void (ClientHandler::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClientHandler::sigSendFinish)) {
*result = 6;
return;
}
}
{
using _t = void (ClientHandler::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClientHandler::sigSendMessageBlock)) {
*result = 7;
return;
}
}
{
using _t = void (ClientHandler::*)(bool , quint64 , quint64 );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClientHandler::sigNeedUpdate)) {
*result = 8;
return;
}
}
{
using _t = void (ClientHandler::*)(QString , QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClientHandler::sigClientDisconnected)) {
*result = 9;
return;
}
}
{
using _t = void (ClientHandler::*)();
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClientHandler::sigSendHash)) {
*result = 10;
return;
}
}
{
using _t = void (ClientHandler::*)(ClientHandler * );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClientHandler::sigRecognize)) {
*result = 11;
return;
}
}
{
using _t = void (ClientHandler::*)(QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClientHandler::sigSendNotify)) {
*result = 12;
return;
}
}
{
using _t = void (ClientHandler::*)(QString , QString );
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ClientHandler::sigSendFileBlockWithRename)) {
*result = 13;
return;
}
}
}
}
QT_INIT_METAOBJECT const QMetaObject ClientHandler::staticMetaObject = { {
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
qt_meta_stringdata_ClientHandler.data,
qt_meta_data_ClientHandler,
qt_static_metacall,
nullptr,
nullptr
} };
const QMetaObject *ClientHandler::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}
void *ClientHandler::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname, qt_meta_stringdata_ClientHandler.stringdata0))
return static_cast<void*>(this);
return QObject::qt_metacast(_clname);
}
int ClientHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 14)
qt_static_metacall(this, _c, _id, _a);
_id -= 14;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 14)
qt_static_metacall(this, _c, _id, _a);
_id -= 14;
}
return _id;
}
// SIGNAL 0
void ClientHandler::sigSendXmlAnswer(QByteArray _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
// SIGNAL 1
void ClientHandler::sigInitSender(DataParser * _t1, Logger * _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, 1, _a);
}
// SIGNAL 2
void ClientHandler::sigFolderBlock(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
// SIGNAL 3
void ClientHandler::sigFileBlock(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
// SIGNAL 4
bool ClientHandler::sigGetIsSendStopped()
{
bool _t0{};
void *_a[] = { const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t0))) };
QMetaObject::activate(this, &staticMetaObject, 4, _a);
return _t0;
}
// SIGNAL 5
void ClientHandler::sigSendDeleteBlock(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
// SIGNAL 6
void ClientHandler::sigSendFinish()
{
QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
// SIGNAL 7
void ClientHandler::sigSendMessageBlock(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
// SIGNAL 8
void ClientHandler::sigNeedUpdate(bool _t1, quint64 _t2, quint64 _t3)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
QMetaObject::activate(this, &staticMetaObject, 8, _a);
}
// SIGNAL 9
void ClientHandler::sigClientDisconnected(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, 9, _a);
}
// SIGNAL 10
void ClientHandler::sigSendHash()
{
QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}
// SIGNAL 11
void ClientHandler::sigRecognize(ClientHandler * _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 11, _a);
}
// SIGNAL 12
void ClientHandler::sigSendNotify(QString _t1)
{
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
QMetaObject::activate(this, &staticMetaObject, 12, _a);
}
// SIGNAL 13
void ClientHandler::sigSendFileBlockWithRename(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, 13, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE