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

#include <memory>
#include "../../../muse-4.2.1/src/muse/components/shortcutconfig.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'shortcutconfig.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_MusEGui__ShortcutConfig_t {
    QByteArrayData data[14];
    char stringdata0[202];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__ShortcutConfig_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__ShortcutConfig_t qt_meta_stringdata_MusEGui__ShortcutConfig = {
    {
QT_MOC_LITERAL(0, 0, 23), // "MusEGui::ShortcutConfig"
QT_MOC_LITERAL(1, 24, 10), // "saveConfig"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 18), // "categorySelChanged"
QT_MOC_LITERAL(4, 55, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(5, 72, 18), // "shortcutSelChanged"
QT_MOC_LITERAL(6, 91, 14), // "assignShortcut"
QT_MOC_LITERAL(7, 106, 13), // "clearShortcut"
QT_MOC_LITERAL(8, 120, 8), // "applyAll"
QT_MOC_LITERAL(9, 129, 9), // "okClicked"
QT_MOC_LITERAL(10, 139, 15), // "resetAllClicked"
QT_MOC_LITERAL(11, 155, 15), // "textFileClicked"
QT_MOC_LITERAL(12, 171, 13), // "filterChanged"
QT_MOC_LITERAL(13, 185, 16) // "filterKeyChanged"

    },
    "MusEGui::ShortcutConfig\0saveConfig\0\0"
    "categorySelChanged\0QTreeWidgetItem*\0"
    "shortcutSelChanged\0assignShortcut\0"
    "clearShortcut\0applyAll\0okClicked\0"
    "resetAllClicked\0textFileClicked\0"
    "filterChanged\0filterKeyChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__ShortcutConfig[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    2,   70,    2, 0x08 /* Private */,
       5,    2,   75,    2, 0x08 /* Private */,
       6,    0,   80,    2, 0x08 /* Private */,
       7,    0,   81,    2, 0x08 /* Private */,
       8,    0,   82,    2, 0x08 /* Private */,
       9,    0,   83,    2, 0x08 /* Private */,
      10,    0,   84,    2, 0x08 /* Private */,
      11,    0,   85,    2, 0x08 /* Private */,
      12,    1,   86,    2, 0x08 /* Private */,
      13,    1,   89,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 4, QMetaType::Int,    2,    2,
    QMetaType::Void, 0x80000000 | 4, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,

       0        // eod
};

void MusEGui::ShortcutConfig::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ShortcutConfig *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->saveConfig(); break;
        case 1: _t->categorySelChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->shortcutSelChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->assignShortcut(); break;
        case 4: _t->clearShortcut(); break;
        case 5: _t->applyAll(); break;
        case 6: _t->okClicked(); break;
        case 7: _t->resetAllClicked(); break;
        case 8: _t->textFileClicked(); break;
        case 9: _t->filterChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 10: _t->filterKeyChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ShortcutConfig::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ShortcutConfig::saveConfig)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::ShortcutConfig::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__ShortcutConfig.data,
    qt_meta_data_MusEGui__ShortcutConfig,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *MusEGui::ShortcutConfig::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_MusEGui__ShortcutConfig.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Ui::ShortcutConfigBase"))
        return static_cast< Ui::ShortcutConfigBase*>(this);
    return QDialog::qt_metacast(_clname);
}

int MusEGui::ShortcutConfig::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::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;
}

// SIGNAL 0
void MusEGui::ShortcutConfig::saveConfig()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
