/**************************************************************************** ** Meta object code from reading C++ file 'detectiondata.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 #include "../Src/models/detectiondata.h" #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'detectiondata.h' doesn't include ." #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_DetectionData_t { QByteArrayData data[12]; char stringdata0[145]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_DetectionData_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_DetectionData_t qt_meta_stringdata_DetectionData = { { QT_MOC_LITERAL(0, 0, 13), // "DetectionData" QT_MOC_LITERAL(1, 14, 16), // "detectionUpdated" QT_MOC_LITERAL(2, 31, 0), // "" QT_MOC_LITERAL(3, 32, 13), // "statusChanged" QT_MOC_LITERAL(4, 46, 15), // "DetectionStatus" QT_MOC_LITERAL(5, 62, 6), // "status" QT_MOC_LITERAL(6, 69, 11), // "targetAdded" QT_MOC_LITERAL(7, 81, 15), // "DetectionTarget" QT_MOC_LITERAL(8, 97, 6), // "target" QT_MOC_LITERAL(9, 104, 13), // "targetRemoved" QT_MOC_LITERAL(10, 118, 8), // "targetId" QT_MOC_LITERAL(11, 127, 17) // "onSimulationTimer" }, "DetectionData\0detectionUpdated\0\0" "statusChanged\0DetectionStatus\0status\0" "targetAdded\0DetectionTarget\0target\0" "targetRemoved\0targetId\0onSimulationTimer" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_DetectionData[] = { // content: 8, // revision 0, // classname 0, 0, // classinfo 5, 14, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 4, // signalCount // signals: name, argc, parameters, tag, flags 1, 0, 39, 2, 0x06 /* Public */, 3, 1, 40, 2, 0x06 /* Public */, 6, 1, 43, 2, 0x06 /* Public */, 9, 1, 46, 2, 0x06 /* Public */, // slots: name, argc, parameters, tag, flags 11, 0, 49, 2, 0x08 /* Private */, // signals: parameters QMetaType::Void, QMetaType::Void, 0x80000000 | 4, 5, QMetaType::Void, 0x80000000 | 7, 8, QMetaType::Void, QMetaType::QString, 10, // slots: parameters QMetaType::Void, 0 // eod }; void DetectionData::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { if (_c == QMetaObject::InvokeMetaMethod) { auto *_t = static_cast(_o); (void)_t; switch (_id) { case 0: _t->detectionUpdated(); break; case 1: _t->statusChanged((*reinterpret_cast< DetectionStatus(*)>(_a[1]))); break; case 2: _t->targetAdded((*reinterpret_cast< const DetectionTarget(*)>(_a[1]))); break; case 3: _t->targetRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break; case 4: _t->onSimulationTimer(); break; default: ; } } else if (_c == QMetaObject::IndexOfMethod) { int *result = reinterpret_cast(_a[0]); { using _t = void (DetectionData::*)(); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DetectionData::detectionUpdated)) { *result = 0; return; } } { using _t = void (DetectionData::*)(DetectionStatus ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DetectionData::statusChanged)) { *result = 1; return; } } { using _t = void (DetectionData::*)(const DetectionTarget & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DetectionData::targetAdded)) { *result = 2; return; } } { using _t = void (DetectionData::*)(const QString & ); if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DetectionData::targetRemoved)) { *result = 3; return; } } } } QT_INIT_METAOBJECT const QMetaObject DetectionData::staticMetaObject = { { QMetaObject::SuperData::link(), qt_meta_stringdata_DetectionData.data, qt_meta_data_DetectionData, qt_static_metacall, nullptr, nullptr } }; const QMetaObject *DetectionData::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *DetectionData::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_meta_stringdata_DetectionData.stringdata0)) return static_cast(this); return QObject::qt_metacast(_clname); } int DetectionData::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(_a[0]) = -1; _id -= 5; } return _id; } // SIGNAL 0 void DetectionData::detectionUpdated() { QMetaObject::activate(this, &staticMetaObject, 0, nullptr); } // SIGNAL 1 void DetectionData::statusChanged(DetectionStatus _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 1, _a); } // SIGNAL 2 void DetectionData::targetAdded(const DetectionTarget & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 2, _a); } // SIGNAL 3 void DetectionData::targetRemoved(const QString & _t1) { void *_a[] = { nullptr, const_cast(reinterpret_cast(std::addressof(_t1))) }; QMetaObject::activate(this, &staticMetaObject, 3, _a); } QT_WARNING_POP QT_END_MOC_NAMESPACE