You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
404 lines
14 KiB
404 lines
14 KiB
/****************************************************************************
|
|
** Meta object code from reading C++ file 'targetdata.h'
|
|
**
|
|
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.3)
|
|
**
|
|
** WARNING! All changes made in this file will be lost!
|
|
*****************************************************************************/
|
|
|
|
#include <memory>
|
|
#include "../Src/models/targetdata.h"
|
|
#include <QtCore/qbytearray.h>
|
|
#include <QtCore/qmetatype.h>
|
|
#if !defined(Q_MOC_OUTPUT_REVISION)
|
|
#error "The header file 'targetdata.h' doesn't include <QObject>."
|
|
#elif Q_MOC_OUTPUT_REVISION != 67
|
|
#error "This file was generated using the moc from 5.15.3. 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_TargetData_t {
|
|
QByteArrayData data[12];
|
|
char stringdata0[141];
|
|
};
|
|
#define QT_MOC_LITERAL(idx, ofs, len) \
|
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
|
qptrdiff(offsetof(qt_meta_stringdata_TargetData_t, stringdata0) + ofs \
|
|
- idx * sizeof(QByteArrayData)) \
|
|
)
|
|
static const qt_meta_stringdata_TargetData_t qt_meta_stringdata_TargetData = {
|
|
{
|
|
QT_MOC_LITERAL(0, 0, 10), // "TargetData"
|
|
QT_MOC_LITERAL(1, 11, 13), // "statusChanged"
|
|
QT_MOC_LITERAL(2, 25, 0), // ""
|
|
QT_MOC_LITERAL(3, 26, 12), // "TargetStatus"
|
|
QT_MOC_LITERAL(4, 39, 6), // "status"
|
|
QT_MOC_LITERAL(5, 46, 15), // "priorityChanged"
|
|
QT_MOC_LITERAL(6, 62, 8), // "priority"
|
|
QT_MOC_LITERAL(7, 71, 19), // "strikeMethodChanged"
|
|
QT_MOC_LITERAL(8, 91, 12), // "StrikeMethod"
|
|
QT_MOC_LITERAL(9, 104, 6), // "method"
|
|
QT_MOC_LITERAL(10, 111, 13), // "targetEngaged"
|
|
QT_MOC_LITERAL(11, 125, 15) // "targetDestroyed"
|
|
|
|
},
|
|
"TargetData\0statusChanged\0\0TargetStatus\0"
|
|
"status\0priorityChanged\0priority\0"
|
|
"strikeMethodChanged\0StrikeMethod\0"
|
|
"method\0targetEngaged\0targetDestroyed"
|
|
};
|
|
#undef QT_MOC_LITERAL
|
|
|
|
static const uint qt_meta_data_TargetData[] = {
|
|
|
|
// content:
|
|
8, // revision
|
|
0, // classname
|
|
0, 0, // classinfo
|
|
5, 14, // methods
|
|
0, 0, // properties
|
|
0, 0, // enums/sets
|
|
0, 0, // constructors
|
|
0, // flags
|
|
5, // signalCount
|
|
|
|
// signals: name, argc, parameters, tag, flags
|
|
1, 1, 39, 2, 0x06 /* Public */,
|
|
5, 1, 42, 2, 0x06 /* Public */,
|
|
7, 1, 45, 2, 0x06 /* Public */,
|
|
10, 0, 48, 2, 0x06 /* Public */,
|
|
11, 0, 49, 2, 0x06 /* Public */,
|
|
|
|
// signals: parameters
|
|
QMetaType::Void, 0x80000000 | 3, 4,
|
|
QMetaType::Void, QMetaType::Int, 6,
|
|
QMetaType::Void, 0x80000000 | 8, 9,
|
|
QMetaType::Void,
|
|
QMetaType::Void,
|
|
|
|
0 // eod
|
|
};
|
|
|
|
void TargetData::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
auto *_t = static_cast<TargetData *>(_o);
|
|
(void)_t;
|
|
switch (_id) {
|
|
case 0: _t->statusChanged((*reinterpret_cast< TargetStatus(*)>(_a[1]))); break;
|
|
case 1: _t->priorityChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
|
|
case 2: _t->strikeMethodChanged((*reinterpret_cast< StrikeMethod(*)>(_a[1]))); break;
|
|
case 3: _t->targetEngaged(); break;
|
|
case 4: _t->targetDestroyed(); break;
|
|
default: ;
|
|
}
|
|
} else if (_c == QMetaObject::IndexOfMethod) {
|
|
int *result = reinterpret_cast<int *>(_a[0]);
|
|
{
|
|
using _t = void (TargetData::*)(TargetStatus );
|
|
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetData::statusChanged)) {
|
|
*result = 0;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
using _t = void (TargetData::*)(int );
|
|
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetData::priorityChanged)) {
|
|
*result = 1;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
using _t = void (TargetData::*)(StrikeMethod );
|
|
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetData::strikeMethodChanged)) {
|
|
*result = 2;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
using _t = void (TargetData::*)();
|
|
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetData::targetEngaged)) {
|
|
*result = 3;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
using _t = void (TargetData::*)();
|
|
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetData::targetDestroyed)) {
|
|
*result = 4;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
QT_INIT_METAOBJECT const QMetaObject TargetData::staticMetaObject = { {
|
|
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
|
qt_meta_stringdata_TargetData.data,
|
|
qt_meta_data_TargetData,
|
|
qt_static_metacall,
|
|
nullptr,
|
|
nullptr
|
|
} };
|
|
|
|
|
|
const QMetaObject *TargetData::metaObject() const
|
|
{
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
|
}
|
|
|
|
void *TargetData::qt_metacast(const char *_clname)
|
|
{
|
|
if (!_clname) return nullptr;
|
|
if (!strcmp(_clname, qt_meta_stringdata_TargetData.stringdata0))
|
|
return static_cast<void*>(this);
|
|
return QObject::qt_metacast(_clname);
|
|
}
|
|
|
|
int TargetData::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 < 5)
|
|
qt_static_metacall(this, _c, _id, _a);
|
|
_id -= 5;
|
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
|
if (_id < 5)
|
|
*reinterpret_cast<int*>(_a[0]) = -1;
|
|
_id -= 5;
|
|
}
|
|
return _id;
|
|
}
|
|
|
|
// SIGNAL 0
|
|
void TargetData::statusChanged(TargetStatus _t1)
|
|
{
|
|
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
|
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
|
}
|
|
|
|
// SIGNAL 1
|
|
void TargetData::priorityChanged(int _t1)
|
|
{
|
|
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
|
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
|
}
|
|
|
|
// SIGNAL 2
|
|
void TargetData::strikeMethodChanged(StrikeMethod _t1)
|
|
{
|
|
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
|
QMetaObject::activate(this, &staticMetaObject, 2, _a);
|
|
}
|
|
|
|
// SIGNAL 3
|
|
void TargetData::targetEngaged()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
|
|
}
|
|
|
|
// SIGNAL 4
|
|
void TargetData::targetDestroyed()
|
|
{
|
|
QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
|
|
}
|
|
struct qt_meta_stringdata_TargetManager_t {
|
|
QByteArrayData data[13];
|
|
char stringdata0[169];
|
|
};
|
|
#define QT_MOC_LITERAL(idx, ofs, len) \
|
|
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
|
|
qptrdiff(offsetof(qt_meta_stringdata_TargetManager_t, stringdata0) + ofs \
|
|
- idx * sizeof(QByteArrayData)) \
|
|
)
|
|
static const qt_meta_stringdata_TargetManager_t qt_meta_stringdata_TargetManager = {
|
|
{
|
|
QT_MOC_LITERAL(0, 0, 13), // "TargetManager"
|
|
QT_MOC_LITERAL(1, 14, 13), // "targetCreated"
|
|
QT_MOC_LITERAL(2, 28, 0), // ""
|
|
QT_MOC_LITERAL(3, 29, 8), // "targetId"
|
|
QT_MOC_LITERAL(4, 38, 13), // "targetRemoved"
|
|
QT_MOC_LITERAL(5, 52, 19), // "targetStatusChanged"
|
|
QT_MOC_LITERAL(6, 72, 12), // "TargetStatus"
|
|
QT_MOC_LITERAL(7, 85, 6), // "status"
|
|
QT_MOC_LITERAL(8, 92, 21), // "targetPriorityChanged"
|
|
QT_MOC_LITERAL(9, 114, 8), // "priority"
|
|
QT_MOC_LITERAL(10, 123, 25), // "targetStrikeMethodChanged"
|
|
QT_MOC_LITERAL(11, 149, 12), // "StrikeMethod"
|
|
QT_MOC_LITERAL(12, 162, 6) // "method"
|
|
|
|
},
|
|
"TargetManager\0targetCreated\0\0targetId\0"
|
|
"targetRemoved\0targetStatusChanged\0"
|
|
"TargetStatus\0status\0targetPriorityChanged\0"
|
|
"priority\0targetStrikeMethodChanged\0"
|
|
"StrikeMethod\0method"
|
|
};
|
|
#undef QT_MOC_LITERAL
|
|
|
|
static const uint qt_meta_data_TargetManager[] = {
|
|
|
|
// content:
|
|
8, // revision
|
|
0, // classname
|
|
0, 0, // classinfo
|
|
5, 14, // methods
|
|
0, 0, // properties
|
|
0, 0, // enums/sets
|
|
0, 0, // constructors
|
|
0, // flags
|
|
5, // signalCount
|
|
|
|
// signals: name, argc, parameters, tag, flags
|
|
1, 1, 39, 2, 0x06 /* Public */,
|
|
4, 1, 42, 2, 0x06 /* Public */,
|
|
5, 2, 45, 2, 0x06 /* Public */,
|
|
8, 2, 50, 2, 0x06 /* Public */,
|
|
10, 2, 55, 2, 0x06 /* Public */,
|
|
|
|
// signals: parameters
|
|
QMetaType::Void, QMetaType::QString, 3,
|
|
QMetaType::Void, QMetaType::QString, 3,
|
|
QMetaType::Void, QMetaType::QString, 0x80000000 | 6, 3, 7,
|
|
QMetaType::Void, QMetaType::QString, QMetaType::Int, 3, 9,
|
|
QMetaType::Void, QMetaType::QString, 0x80000000 | 11, 3, 12,
|
|
|
|
0 // eod
|
|
};
|
|
|
|
void TargetManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
auto *_t = static_cast<TargetManager *>(_o);
|
|
(void)_t;
|
|
switch (_id) {
|
|
case 0: _t->targetCreated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
|
case 1: _t->targetRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
|
|
case 2: _t->targetStatusChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< TargetStatus(*)>(_a[2]))); break;
|
|
case 3: _t->targetPriorityChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
|
|
case 4: _t->targetStrikeMethodChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< StrikeMethod(*)>(_a[2]))); break;
|
|
default: ;
|
|
}
|
|
} else if (_c == QMetaObject::IndexOfMethod) {
|
|
int *result = reinterpret_cast<int *>(_a[0]);
|
|
{
|
|
using _t = void (TargetManager::*)(const QString & );
|
|
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetManager::targetCreated)) {
|
|
*result = 0;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
using _t = void (TargetManager::*)(const QString & );
|
|
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetManager::targetRemoved)) {
|
|
*result = 1;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
using _t = void (TargetManager::*)(const QString & , TargetStatus );
|
|
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetManager::targetStatusChanged)) {
|
|
*result = 2;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
using _t = void (TargetManager::*)(const QString & , int );
|
|
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetManager::targetPriorityChanged)) {
|
|
*result = 3;
|
|
return;
|
|
}
|
|
}
|
|
{
|
|
using _t = void (TargetManager::*)(const QString & , StrikeMethod );
|
|
if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TargetManager::targetStrikeMethodChanged)) {
|
|
*result = 4;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
QT_INIT_METAOBJECT const QMetaObject TargetManager::staticMetaObject = { {
|
|
QMetaObject::SuperData::link<QObject::staticMetaObject>(),
|
|
qt_meta_stringdata_TargetManager.data,
|
|
qt_meta_data_TargetManager,
|
|
qt_static_metacall,
|
|
nullptr,
|
|
nullptr
|
|
} };
|
|
|
|
|
|
const QMetaObject *TargetManager::metaObject() const
|
|
{
|
|
return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
|
|
}
|
|
|
|
void *TargetManager::qt_metacast(const char *_clname)
|
|
{
|
|
if (!_clname) return nullptr;
|
|
if (!strcmp(_clname, qt_meta_stringdata_TargetManager.stringdata0))
|
|
return static_cast<void*>(this);
|
|
return QObject::qt_metacast(_clname);
|
|
}
|
|
|
|
int TargetManager::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 < 5)
|
|
qt_static_metacall(this, _c, _id, _a);
|
|
_id -= 5;
|
|
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
|
|
if (_id < 5)
|
|
*reinterpret_cast<int*>(_a[0]) = -1;
|
|
_id -= 5;
|
|
}
|
|
return _id;
|
|
}
|
|
|
|
// SIGNAL 0
|
|
void TargetManager::targetCreated(const QString & _t1)
|
|
{
|
|
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
|
QMetaObject::activate(this, &staticMetaObject, 0, _a);
|
|
}
|
|
|
|
// SIGNAL 1
|
|
void TargetManager::targetRemoved(const QString & _t1)
|
|
{
|
|
void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
|
|
QMetaObject::activate(this, &staticMetaObject, 1, _a);
|
|
}
|
|
|
|
// SIGNAL 2
|
|
void TargetManager::targetStatusChanged(const QString & _t1, TargetStatus _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, 2, _a);
|
|
}
|
|
|
|
// SIGNAL 3
|
|
void TargetManager::targetPriorityChanged(const QString & _t1, int _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, 3, _a);
|
|
}
|
|
|
|
// SIGNAL 4
|
|
void TargetManager::targetStrikeMethodChanged(const QString & _t1, StrikeMethod _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);
|
|
}
|
|
QT_WARNING_POP
|
|
QT_END_MOC_NAMESPACE
|