/**************************************************************************** ** Meta object code from reading C++ file 'InputManager.h' ** ** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.1) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "../../../shell/src/input/InputManager.h" #include #include #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'InputManager.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 69 #error "This file was generated using the moc from 6.11.1. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif #ifndef Q_CONSTINIT #define Q_CONSTINIT #endif QT_WARNING_PUSH QT_WARNING_DISABLE_DEPRECATED QT_WARNING_DISABLE_GCC("-Wuseless-cast") namespace { struct qt_meta_tag_ZN12InputManagerE_t {}; } // unnamed namespace template <> constexpr inline auto InputManager::qt_create_metaobjectdata() { namespace QMC = QtMocConstants; QtMocHelpers::StringRefStorage qt_stringData { "InputManager", "actionPressed", "", "Action", "action", "actionReleased", "actionName", "Up", "Down", "Left", "Right", "Up2", "Down2", "Left2", "Right2", "Select", "Back", "Context1", "Context2", "ContextLeft1", "ContextLeft2", "ContextRight1", "ContextRight2", "Start", "Options" }; QtMocHelpers::UintData qt_methods { // Signal 'actionPressed' QtMocHelpers::SignalData(1, 2, QMC::AccessPublic, QMetaType::Void, {{ { 0x80000000 | 3, 4 }, }}), // Signal 'actionReleased' QtMocHelpers::SignalData(5, 2, QMC::AccessPublic, QMetaType::Void, {{ { 0x80000000 | 3, 4 }, }}), // Method 'actionName' QtMocHelpers::MethodData(6, 2, QMC::AccessPublic, QMetaType::QString, {{ { 0x80000000 | 3, 4 }, }}), }; QtMocHelpers::UintData qt_properties { }; QtMocHelpers::UintData qt_enums { // enum 'Action' QtMocHelpers::EnumData(3, 3, QMC::EnumIsScoped).add({ { 7, Action::Up }, { 8, Action::Down }, { 9, Action::Left }, { 10, Action::Right }, { 11, Action::Up2 }, { 12, Action::Down2 }, { 13, Action::Left2 }, { 14, Action::Right2 }, { 15, Action::Select }, { 16, Action::Back }, { 17, Action::Context1 }, { 18, Action::Context2 }, { 19, Action::ContextLeft1 }, { 20, Action::ContextLeft2 }, { 21, Action::ContextRight1 }, { 22, Action::ContextRight2 }, { 23, Action::Start }, { 24, Action::Options }, }), }; return QtMocHelpers::metaObjectData(QMC::MetaObjectFlag{}, qt_stringData, qt_methods, qt_properties, qt_enums); } Q_CONSTINIT const QMetaObject InputManager::staticMetaObject = { { QMetaObject::SuperData::link(), qt_staticMetaObjectStaticContent.stringdata, qt_staticMetaObjectStaticContent.data, qt_static_metacall, nullptr, qt_staticMetaObjectRelocatingContent.metaTypes, nullptr } }; void InputManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { auto *_t = static_cast(_o); if (_c == QMetaObject::InvokeMetaMethod) { switch (_id) { case 0: _t->actionPressed((*reinterpret_cast>(_a[1]))); break; case 1: _t->actionReleased((*reinterpret_cast>(_a[1]))); break; case 2: { QString _r = _t->actionName((*reinterpret_cast>(_a[1]))); if (_a[0]) *reinterpret_cast(_a[0]) = std::move(_r); } break; default: ; } } if (_c == QMetaObject::IndexOfMethod) { if (QtMocHelpers::indexOfMethod(_a, &InputManager::actionPressed, 0)) return; if (QtMocHelpers::indexOfMethod(_a, &InputManager::actionReleased, 1)) return; } } const QMetaObject *InputManager::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *InputManager::qt_metacast(const char *_clname) { if (!_clname) return nullptr; if (!strcmp(_clname, qt_staticMetaObjectStaticContent.strings)) return static_cast(this); return QObject::qt_metacast(_clname); } int InputManager::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 < 3) qt_static_metacall(this, _c, _id, _a); _id -= 3; } if (_c == QMetaObject::RegisterMethodArgumentMetaType) { if (_id < 3) *reinterpret_cast(_a[0]) = QMetaType(); _id -= 3; } return _id; } // SIGNAL 0 void InputManager::actionPressed(Action _t1) { QMetaObject::activate(this, &staticMetaObject, 0, nullptr, _t1); } // SIGNAL 1 void InputManager::actionReleased(Action _t1) { QMetaObject::activate(this, &staticMetaObject, 1, nullptr, _t1); } QT_WARNING_POP