| 1 | /**************************************************************************** | 
|---|
| 2 | ** Meta object code from reading C++ file 'eventhandler.h' | 
|---|
| 3 | ** | 
|---|
| 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.7) | 
|---|
| 5 | ** | 
|---|
| 6 | ** WARNING! All changes made in this file will be lost! | 
|---|
| 7 | *****************************************************************************/ | 
|---|
| 8 |  | 
|---|
| 9 | #include <memory> | 
|---|
| 10 | #include "../../../../../src/framework/event/eventhandler.h" | 
|---|
| 11 | #include <QtCore/qbytearray.h> | 
|---|
| 12 | #include <QtCore/qmetatype.h> | 
|---|
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) | 
|---|
| 14 | #error "The header file 'eventhandler.h' doesn't include <QObject>." | 
|---|
| 15 | #elif Q_MOC_OUTPUT_REVISION != 67 | 
|---|
| 16 | #error "This file was generated using the moc from 5.15.7. It" | 
|---|
| 17 | #error "cannot be used with the include files from this version of Qt." | 
|---|
| 18 | #error "(The moc has changed too much.)" | 
|---|
| 19 | #endif | 
|---|
| 20 |  | 
|---|
| 21 | QT_BEGIN_MOC_NAMESPACE | 
|---|
| 22 | QT_WARNING_PUSH | 
|---|
| 23 | QT_WARNING_DISABLE_DEPRECATED | 
|---|
| 24 | struct qt_meta_stringdata_dpf__EventHandler_t { | 
|---|
| 25 | QByteArrayData data[6]; | 
|---|
| 26 | char stringdata0[49]; | 
|---|
| 27 | }; | 
|---|
| 28 | #define QT_MOC_LITERAL(idx, ofs, len) \ | 
|---|
| 29 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | 
|---|
| 30 | qptrdiff(offsetof(qt_meta_stringdata_dpf__EventHandler_t, stringdata0) + ofs \ | 
|---|
| 31 | - idx * sizeof(QByteArrayData)) \ | 
|---|
| 32 | ) | 
|---|
| 33 | static const qt_meta_stringdata_dpf__EventHandler_t qt_meta_stringdata_dpf__EventHandler = { | 
|---|
| 34 | { | 
|---|
| 35 | QT_MOC_LITERAL(0, 0, 17), // "dpf::EventHandler" | 
|---|
| 36 | QT_MOC_LITERAL(1, 18, 9), // "handError" | 
|---|
| 37 | QT_MOC_LITERAL(2, 28, 0), // "" | 
|---|
| 38 | QT_MOC_LITERAL(3, 29, 5), // "error" | 
|---|
| 39 | QT_MOC_LITERAL(4, 35, 8), // "handInfo" | 
|---|
| 40 | QT_MOC_LITERAL(5, 44, 4) // "info" | 
|---|
| 41 |  | 
|---|
| 42 | }, | 
|---|
| 43 | "dpf::EventHandler\0handError\0\0error\0" | 
|---|
| 44 | "handInfo\0info" | 
|---|
| 45 | }; | 
|---|
| 46 | #undef QT_MOC_LITERAL | 
|---|
| 47 |  | 
|---|
| 48 | static const uint qt_meta_data_dpf__EventHandler[] = { | 
|---|
| 49 |  | 
|---|
| 50 | // content: | 
|---|
| 51 | 8,       // revision | 
|---|
| 52 | 0,       // classname | 
|---|
| 53 | 0,    0, // classinfo | 
|---|
| 54 | 2,   14, // methods | 
|---|
| 55 | 0,    0, // properties | 
|---|
| 56 | 0,    0, // enums/sets | 
|---|
| 57 | 0,    0, // constructors | 
|---|
| 58 | 0,       // flags | 
|---|
| 59 | 2,       // signalCount | 
|---|
| 60 |  | 
|---|
| 61 | // signals: name, argc, parameters, tag, flags | 
|---|
| 62 | 1,    1,   24,    2, 0x06 /* Public */, | 
|---|
| 63 | 4,    1,   27,    2, 0x06 /* Public */, | 
|---|
| 64 |  | 
|---|
| 65 | // signals: parameters | 
|---|
| 66 | QMetaType::Void, QMetaType::QString,    3, | 
|---|
| 67 | QMetaType::Void, QMetaType::QString,    5, | 
|---|
| 68 |  | 
|---|
| 69 | 0        // eod | 
|---|
| 70 | }; | 
|---|
| 71 |  | 
|---|
| 72 | void dpf::EventHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | 
|---|
| 73 | { | 
|---|
| 74 | if (_c == QMetaObject::InvokeMetaMethod) { | 
|---|
| 75 | auto *_t = static_cast<EventHandler *>(_o); | 
|---|
| 76 | (void)_t; | 
|---|
| 77 | switch (_id) { | 
|---|
| 78 | case 0: _t->handError((*reinterpret_cast< const QString(*)>(_a[1]))); break; | 
|---|
| 79 | case 1: _t->handInfo((*reinterpret_cast< const QString(*)>(_a[1]))); break; | 
|---|
| 80 | default: ; | 
|---|
| 81 | } | 
|---|
| 82 | } else if (_c == QMetaObject::IndexOfMethod) { | 
|---|
| 83 | int *result = reinterpret_cast<int *>(_a[0]); | 
|---|
| 84 | { | 
|---|
| 85 | using _t = void (EventHandler::*)(const QString & ); | 
|---|
| 86 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventHandler::handError)) { | 
|---|
| 87 | *result = 0; | 
|---|
| 88 | return; | 
|---|
| 89 | } | 
|---|
| 90 | } | 
|---|
| 91 | { | 
|---|
| 92 | using _t = void (EventHandler::*)(const QString & ); | 
|---|
| 93 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventHandler::handInfo)) { | 
|---|
| 94 | *result = 1; | 
|---|
| 95 | return; | 
|---|
| 96 | } | 
|---|
| 97 | } | 
|---|
| 98 | } | 
|---|
| 99 | } | 
|---|
| 100 |  | 
|---|
| 101 | QT_INIT_METAOBJECT const QMetaObject dpf::EventHandler::staticMetaObject = { { | 
|---|
| 102 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), | 
|---|
| 103 | qt_meta_stringdata_dpf__EventHandler.data, | 
|---|
| 104 | qt_meta_data_dpf__EventHandler, | 
|---|
| 105 | qt_static_metacall, | 
|---|
| 106 | nullptr, | 
|---|
| 107 | nullptr | 
|---|
| 108 | } }; | 
|---|
| 109 |  | 
|---|
| 110 |  | 
|---|
| 111 | const QMetaObject *dpf::EventHandler::metaObject() const | 
|---|
| 112 | { | 
|---|
| 113 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | 
|---|
| 114 | } | 
|---|
| 115 |  | 
|---|
| 116 | void *dpf::EventHandler::qt_metacast(const char *_clname) | 
|---|
| 117 | { | 
|---|
| 118 | if (!_clname) return nullptr; | 
|---|
| 119 | if (!strcmp(_clname, qt_meta_stringdata_dpf__EventHandler.stringdata0)) | 
|---|
| 120 | return static_cast<void*>(this); | 
|---|
| 121 | return QObject::qt_metacast(_clname); | 
|---|
| 122 | } | 
|---|
| 123 |  | 
|---|
| 124 | int dpf::EventHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | 
|---|
| 125 | { | 
|---|
| 126 | _id = QObject::qt_metacall(_c, _id, _a); | 
|---|
| 127 | if (_id < 0) | 
|---|
| 128 | return _id; | 
|---|
| 129 | if (_c == QMetaObject::InvokeMetaMethod) { | 
|---|
| 130 | if (_id < 2) | 
|---|
| 131 | qt_static_metacall(this, _c, _id, _a); | 
|---|
| 132 | _id -= 2; | 
|---|
| 133 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | 
|---|
| 134 | if (_id < 2) | 
|---|
| 135 | *reinterpret_cast<int*>(_a[0]) = -1; | 
|---|
| 136 | _id -= 2; | 
|---|
| 137 | } | 
|---|
| 138 | return _id; | 
|---|
| 139 | } | 
|---|
| 140 |  | 
|---|
| 141 | // SIGNAL 0 | 
|---|
| 142 | void dpf::EventHandler::handError(const QString & _t1) | 
|---|
| 143 | { | 
|---|
| 144 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; | 
|---|
| 145 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | 
|---|
| 146 | } | 
|---|
| 147 |  | 
|---|
| 148 | // SIGNAL 1 | 
|---|
| 149 | void dpf::EventHandler::handInfo(const QString & _t1) | 
|---|
| 150 | { | 
|---|
| 151 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; | 
|---|
| 152 | QMetaObject::activate(this, &staticMetaObject, 1, _a); | 
|---|
| 153 | } | 
|---|
| 154 | QT_WARNING_POP | 
|---|
| 155 | QT_END_MOC_NAMESPACE | 
|---|
| 156 |  | 
|---|