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

#include <memory>
#include "../../../../../src/decaf-qt/src/settings/inputsettingswidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'inputsettingswidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.11. 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_InputSettingsWidget_t {
    QByteArrayData data[28];
    char stringdata0[326];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_InputSettingsWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_InputSettingsWidget_t qt_meta_stringdata_InputSettingsWidget = {
    {
QT_MOC_LITERAL(0, 0, 19), // "InputSettingsWidget"
QT_MOC_LITERAL(1, 20, 13), // "addController"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 16), // "removeController"
QT_MOC_LITERAL(4, 52, 14), // "editController"
QT_MOC_LITERAL(5, 67, 5), // "index"
QT_MOC_LITERAL(6, 73, 21), // "controllerTypeChanged"
QT_MOC_LITERAL(7, 95, 12), // "assignButton"
QT_MOC_LITERAL(8, 108, 12), // "QPushButton*"
QT_MOC_LITERAL(9, 121, 6), // "button"
QT_MOC_LITERAL(10, 128, 10), // "ButtonType"
QT_MOC_LITERAL(11, 139, 4), // "type"
QT_MOC_LITERAL(12, 144, 14), // "caughtKeyPress"
QT_MOC_LITERAL(13, 159, 3), // "key"
QT_MOC_LITERAL(14, 163, 17), // "joystickConnected"
QT_MOC_LITERAL(15, 181, 14), // "SDL_JoystickID"
QT_MOC_LITERAL(16, 196, 2), // "id"
QT_MOC_LITERAL(17, 199, 16), // "SDL_JoystickGUID"
QT_MOC_LITERAL(18, 216, 4), // "guid"
QT_MOC_LITERAL(19, 221, 11), // "const char*"
QT_MOC_LITERAL(20, 233, 4), // "name"
QT_MOC_LITERAL(21, 238, 20), // "joystickDisconnected"
QT_MOC_LITERAL(22, 259, 14), // "joystickButton"
QT_MOC_LITERAL(23, 274, 18), // "joystickAxisMotion"
QT_MOC_LITERAL(24, 293, 4), // "axis"
QT_MOC_LITERAL(25, 298, 5), // "value"
QT_MOC_LITERAL(26, 304, 17), // "joystickHatMotion"
QT_MOC_LITERAL(27, 322, 3) // "hat"

    },
    "InputSettingsWidget\0addController\0\0"
    "removeController\0editController\0index\0"
    "controllerTypeChanged\0assignButton\0"
    "QPushButton*\0button\0ButtonType\0type\0"
    "caughtKeyPress\0key\0joystickConnected\0"
    "SDL_JoystickID\0id\0SDL_JoystickGUID\0"
    "guid\0const char*\0name\0joystickDisconnected\0"
    "joystickButton\0joystickAxisMotion\0"
    "axis\0value\0joystickHatMotion\0hat"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_InputSettingsWidget[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      11,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x08 /* Private */,
       3,    0,   70,    2, 0x08 /* Private */,
       4,    1,   71,    2, 0x08 /* Private */,
       6,    1,   74,    2, 0x08 /* Private */,
       7,    2,   77,    2, 0x08 /* Private */,
      12,    1,   82,    2, 0x08 /* Private */,
      14,    3,   85,    2, 0x08 /* Private */,
      21,    2,   92,    2, 0x08 /* Private */,
      22,    3,   97,    2, 0x08 /* Private */,
      23,    4,  104,    2, 0x08 /* Private */,
      26,    4,  113,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 10,    9,   11,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void, 0x80000000 | 15, 0x80000000 | 17, 0x80000000 | 19,   16,   18,   20,
    QMetaType::Void, 0x80000000 | 15, 0x80000000 | 17,   16,   18,
    QMetaType::Void, 0x80000000 | 15, 0x80000000 | 17, QMetaType::Int,   16,   18,   13,
    QMetaType::Void, 0x80000000 | 15, 0x80000000 | 17, QMetaType::Int, QMetaType::Float,   16,   18,   24,   25,
    QMetaType::Void, 0x80000000 | 15, 0x80000000 | 17, QMetaType::Int, QMetaType::Int,   16,   18,   27,   25,

       0        // eod
};

void InputSettingsWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<InputSettingsWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->addController(); break;
        case 1: _t->removeController(); break;
        case 2: _t->editController((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->controllerTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->assignButton((*reinterpret_cast< QPushButton*(*)>(_a[1])),(*reinterpret_cast< ButtonType(*)>(_a[2]))); break;
        case 5: _t->caughtKeyPress((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->joystickConnected((*reinterpret_cast< SDL_JoystickID(*)>(_a[1])),(*reinterpret_cast< SDL_JoystickGUID(*)>(_a[2])),(*reinterpret_cast< const char*(*)>(_a[3]))); break;
        case 7: _t->joystickDisconnected((*reinterpret_cast< SDL_JoystickID(*)>(_a[1])),(*reinterpret_cast< SDL_JoystickGUID(*)>(_a[2]))); break;
        case 8: _t->joystickButton((*reinterpret_cast< SDL_JoystickID(*)>(_a[1])),(*reinterpret_cast< SDL_JoystickGUID(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 9: _t->joystickAxisMotion((*reinterpret_cast< SDL_JoystickID(*)>(_a[1])),(*reinterpret_cast< SDL_JoystickGUID(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< float(*)>(_a[4]))); break;
        case 10: _t->joystickHatMotion((*reinterpret_cast< SDL_JoystickID(*)>(_a[1])),(*reinterpret_cast< SDL_JoystickGUID(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject InputSettingsWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<SettingsWidget::staticMetaObject>(),
    qt_meta_stringdata_InputSettingsWidget.data,
    qt_meta_data_InputSettingsWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *InputSettingsWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_InputSettingsWidget.stringdata0))
        return static_cast<void*>(this);
    return SettingsWidget::qt_metacast(_clname);
}

int InputSettingsWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = SettingsWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
