/****************************************************************************
** Meta object code from reading C++ file 'key_signals.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.9.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../cockatrice/src/client/game_logic/key_signals.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'key_signals.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.9.0. 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_ZN10KeySignalsE_t {};
} // unnamed namespace

template <> constexpr inline auto KeySignals::qt_create_metaobjectdata<qt_meta_tag_ZN10KeySignalsE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KeySignals",
        "onEnter",
        "",
        "onCtrlEnter",
        "onCtrlAltEnter",
        "onShiftLeft",
        "onShiftRight",
        "onDelete",
        "onCtrlAltMinus",
        "onCtrlAltEqual",
        "onCtrlAltLBracket",
        "onCtrlAltRBracket",
        "onShiftS",
        "onCtrlC"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'onEnter'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'onCtrlEnter'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'onCtrlAltEnter'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'onShiftLeft'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'onShiftRight'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'onDelete'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'onCtrlAltMinus'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'onCtrlAltEqual'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'onCtrlAltLBracket'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'onCtrlAltRBracket'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'onShiftS'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'onCtrlC'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<KeySignals, qt_meta_tag_ZN10KeySignalsE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KeySignals::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KeySignalsE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KeySignalsE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10KeySignalsE_t>.metaTypes,
    nullptr
} };

void KeySignals::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<KeySignals *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->onEnter(); break;
        case 1: _t->onCtrlEnter(); break;
        case 2: _t->onCtrlAltEnter(); break;
        case 3: _t->onShiftLeft(); break;
        case 4: _t->onShiftRight(); break;
        case 5: _t->onDelete(); break;
        case 6: _t->onCtrlAltMinus(); break;
        case 7: _t->onCtrlAltEqual(); break;
        case 8: _t->onCtrlAltLBracket(); break;
        case 9: _t->onCtrlAltRBracket(); break;
        case 10: _t->onShiftS(); break;
        case 11: _t->onCtrlC(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (KeySignals::*)()>(_a, &KeySignals::onEnter, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (KeySignals::*)()>(_a, &KeySignals::onCtrlEnter, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (KeySignals::*)()>(_a, &KeySignals::onCtrlAltEnter, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (KeySignals::*)()>(_a, &KeySignals::onShiftLeft, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (KeySignals::*)()>(_a, &KeySignals::onShiftRight, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (KeySignals::*)()>(_a, &KeySignals::onDelete, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (KeySignals::*)()>(_a, &KeySignals::onCtrlAltMinus, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (KeySignals::*)()>(_a, &KeySignals::onCtrlAltEqual, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (KeySignals::*)()>(_a, &KeySignals::onCtrlAltLBracket, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (KeySignals::*)()>(_a, &KeySignals::onCtrlAltRBracket, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (KeySignals::*)()>(_a, &KeySignals::onShiftS, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (KeySignals::*)()>(_a, &KeySignals::onCtrlC, 11))
            return;
    }
}

const QMetaObject *KeySignals::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *KeySignals::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KeySignalsE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int KeySignals::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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void KeySignals::onEnter()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KeySignals::onCtrlEnter()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KeySignals::onCtrlAltEnter()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void KeySignals::onShiftLeft()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void KeySignals::onShiftRight()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void KeySignals::onDelete()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void KeySignals::onCtrlAltMinus()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void KeySignals::onCtrlAltEqual()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void KeySignals::onCtrlAltLBracket()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void KeySignals::onCtrlAltRBracket()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void KeySignals::onShiftS()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void KeySignals::onCtrlC()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}
QT_WARNING_POP
