/****************************************************************************
** Meta object code from reading C++ file 'editinstrument.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/editinstrument.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'editinstrument.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__EditInstrument_t {
    QByteArrayData data[59];
    char stringdata0[1036];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__EditInstrument_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__EditInstrument_t qt_meta_stringdata_MusEGui__EditInstrument = {
    {
QT_MOC_LITERAL(0, 0, 23), // "MusEGui::EditInstrument"
QT_MOC_LITERAL(1, 24, 7), // "fileNew"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 8), // "fileOpen"
QT_MOC_LITERAL(4, 42, 8), // "fileSave"
QT_MOC_LITERAL(5, 51, 10), // "fileSaveAs"
QT_MOC_LITERAL(6, 62, 9), // "fileClose"
QT_MOC_LITERAL(7, 72, 13), // "helpWhatsThis"
QT_MOC_LITERAL(8, 86, 17), // "instrumentChanged"
QT_MOC_LITERAL(9, 104, 18), // "noteOffModeChanged"
QT_MOC_LITERAL(10, 123, 10), // "tabChanged"
QT_MOC_LITERAL(11, 134, 12), // "patchChanged"
QT_MOC_LITERAL(12, 147, 17), // "controllerChanged"
QT_MOC_LITERAL(13, 165, 20), // "instrumentNameReturn"
QT_MOC_LITERAL(14, 186, 15), // "patchNameReturn"
QT_MOC_LITERAL(15, 202, 18), // "deletePatchClicked"
QT_MOC_LITERAL(16, 221, 15), // "newPatchClicked"
QT_MOC_LITERAL(17, 237, 15), // "newGroupClicked"
QT_MOC_LITERAL(18, 253, 18), // "patchButtonClicked"
QT_MOC_LITERAL(19, 272, 22), // "drumPatchButtonClicked"
QT_MOC_LITERAL(20, 295, 35), // "drummapCollectionPatchButtonC..."
QT_MOC_LITERAL(21, 331, 15), // "defPatchChanged"
QT_MOC_LITERAL(22, 347, 19), // "defDrumPatchChanged"
QT_MOC_LITERAL(23, 367, 23), // "deleteControllerClicked"
QT_MOC_LITERAL(24, 391, 20), // "newControllerClicked"
QT_MOC_LITERAL(25, 412, 20), // "addControllerClicked"
QT_MOC_LITERAL(26, 433, 18), // "ctrlPopupTriggered"
QT_MOC_LITERAL(27, 452, 8), // "QAction*"
QT_MOC_LITERAL(28, 461, 15), // "ctrlTypeChanged"
QT_MOC_LITERAL(29, 477, 14), // "ctrlNameReturn"
QT_MOC_LITERAL(30, 492, 14), // "ctrlNumChanged"
QT_MOC_LITERAL(31, 507, 14), // "ctrlMinChanged"
QT_MOC_LITERAL(32, 522, 14), // "ctrlMaxChanged"
QT_MOC_LITERAL(33, 537, 18), // "ctrlDefaultChanged"
QT_MOC_LITERAL(34, 556, 22), // "ctrlDrumDefaultChanged"
QT_MOC_LITERAL(35, 579, 21), // "ctrlShowInMidiChanged"
QT_MOC_LITERAL(36, 601, 21), // "ctrlShowInDrumChanged"
QT_MOC_LITERAL(37, 623, 12), // "sysexChanged"
QT_MOC_LITERAL(38, 636, 16), // "QListWidgetItem*"
QT_MOC_LITERAL(39, 653, 18), // "deleteSysexClicked"
QT_MOC_LITERAL(40, 672, 15), // "newSysexClicked"
QT_MOC_LITERAL(41, 688, 16), // "editInitListItem"
QT_MOC_LITERAL(42, 705, 16), // "QTreeWidgetItem*"
QT_MOC_LITERAL(43, 722, 4), // "item"
QT_MOC_LITERAL(44, 727, 21), // "initListDeleteClicked"
QT_MOC_LITERAL(45, 749, 18), // "initListAddClicked"
QT_MOC_LITERAL(46, 768, 21), // "initListChangeClicked"
QT_MOC_LITERAL(47, 790, 29), // "patchCollectionSpinboxChanged"
QT_MOC_LITERAL(48, 820, 14), // "patchActivated"
QT_MOC_LITERAL(49, 835, 11), // "QModelIndex"
QT_MOC_LITERAL(50, 847, 18), // "addPatchCollection"
QT_MOC_LITERAL(51, 866, 18), // "delPatchCollection"
QT_MOC_LITERAL(52, 885, 19), // "copyPatchCollection"
QT_MOC_LITERAL(53, 905, 17), // "patchCollectionUp"
QT_MOC_LITERAL(54, 923, 19), // "patchCollectionDown"
QT_MOC_LITERAL(55, 943, 26), // "repopulatePatchCollections"
QT_MOC_LITERAL(56, 970, 20), // "storePatchCollection"
QT_MOC_LITERAL(57, 991, 20), // "fetchPatchCollection"
QT_MOC_LITERAL(58, 1012, 23) // "on_actionInfo_triggered"

    },
    "MusEGui::EditInstrument\0fileNew\0\0"
    "fileOpen\0fileSave\0fileSaveAs\0fileClose\0"
    "helpWhatsThis\0instrumentChanged\0"
    "noteOffModeChanged\0tabChanged\0"
    "patchChanged\0controllerChanged\0"
    "instrumentNameReturn\0patchNameReturn\0"
    "deletePatchClicked\0newPatchClicked\0"
    "newGroupClicked\0patchButtonClicked\0"
    "drumPatchButtonClicked\0"
    "drummapCollectionPatchButtonClicked\0"
    "defPatchChanged\0defDrumPatchChanged\0"
    "deleteControllerClicked\0newControllerClicked\0"
    "addControllerClicked\0ctrlPopupTriggered\0"
    "QAction*\0ctrlTypeChanged\0ctrlNameReturn\0"
    "ctrlNumChanged\0ctrlMinChanged\0"
    "ctrlMaxChanged\0ctrlDefaultChanged\0"
    "ctrlDrumDefaultChanged\0ctrlShowInMidiChanged\0"
    "ctrlShowInDrumChanged\0sysexChanged\0"
    "QListWidgetItem*\0deleteSysexClicked\0"
    "newSysexClicked\0editInitListItem\0"
    "QTreeWidgetItem*\0item\0initListDeleteClicked\0"
    "initListAddClicked\0initListChangeClicked\0"
    "patchCollectionSpinboxChanged\0"
    "patchActivated\0QModelIndex\0"
    "addPatchCollection\0delPatchCollection\0"
    "copyPatchCollection\0patchCollectionUp\0"
    "patchCollectionDown\0repopulatePatchCollections\0"
    "storePatchCollection\0fetchPatchCollection\0"
    "on_actionInfo_triggered"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__EditInstrument[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  274,    2, 0x08 /* Private */,
       3,    0,  275,    2, 0x08 /* Private */,
       4,    0,  276,    2, 0x08 /* Private */,
       5,    0,  277,    2, 0x08 /* Private */,
       6,    0,  278,    2, 0x08 /* Private */,
       7,    0,  279,    2, 0x08 /* Private */,
       8,    0,  280,    2, 0x08 /* Private */,
       9,    1,  281,    2, 0x08 /* Private */,
      10,    1,  284,    2, 0x08 /* Private */,
      11,    0,  287,    2, 0x08 /* Private */,
      12,    0,  288,    2, 0x08 /* Private */,
      13,    0,  289,    2, 0x08 /* Private */,
      14,    0,  290,    2, 0x08 /* Private */,
      15,    0,  291,    2, 0x08 /* Private */,
      16,    0,  292,    2, 0x08 /* Private */,
      17,    0,  293,    2, 0x08 /* Private */,
      18,    0,  294,    2, 0x08 /* Private */,
      19,    0,  295,    2, 0x08 /* Private */,
      20,    0,  296,    2, 0x08 /* Private */,
      21,    1,  297,    2, 0x08 /* Private */,
      22,    1,  300,    2, 0x08 /* Private */,
      23,    0,  303,    2, 0x08 /* Private */,
      24,    0,  304,    2, 0x08 /* Private */,
      25,    0,  305,    2, 0x08 /* Private */,
      26,    1,  306,    2, 0x08 /* Private */,
      28,    1,  309,    2, 0x08 /* Private */,
      29,    0,  312,    2, 0x08 /* Private */,
      30,    0,  313,    2, 0x08 /* Private */,
      31,    1,  314,    2, 0x08 /* Private */,
      32,    1,  317,    2, 0x08 /* Private */,
      33,    1,  320,    2, 0x08 /* Private */,
      34,    1,  323,    2, 0x08 /* Private */,
      35,    1,  326,    2, 0x08 /* Private */,
      36,    1,  329,    2, 0x08 /* Private */,
      37,    2,  332,    2, 0x08 /* Private */,
      39,    0,  337,    2, 0x08 /* Private */,
      40,    0,  338,    2, 0x08 /* Private */,
      41,    1,  339,    2, 0x08 /* Private */,
      44,    0,  342,    2, 0x08 /* Private */,
      45,    0,  343,    2, 0x08 /* Private */,
      46,    0,  344,    2, 0x08 /* Private */,
      47,    1,  345,    2, 0x08 /* Private */,
      48,    1,  348,    2, 0x08 /* Private */,
      50,    0,  351,    2, 0x08 /* Private */,
      51,    0,  352,    2, 0x08 /* Private */,
      52,    0,  353,    2, 0x08 /* Private */,
      53,    0,  354,    2, 0x08 /* Private */,
      54,    0,  355,    2, 0x08 /* Private */,
      55,    0,  356,    2, 0x08 /* Private */,
      56,    0,  357,    2, 0x08 /* Private */,
      57,    0,  358,    2, 0x08 /* Private */,
      58,    0,  359,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 27,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 38, 0x80000000 | 38,    2,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 42,   43,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 49,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void MusEGui::EditInstrument::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<EditInstrument *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->fileNew(); break;
        case 1: _t->fileOpen(); break;
        case 2: _t->fileSave(); break;
        case 3: _t->fileSaveAs(); break;
        case 4: _t->fileClose(); break;
        case 5: _t->helpWhatsThis(); break;
        case 6: _t->instrumentChanged(); break;
        case 7: _t->noteOffModeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->tabChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->patchChanged(); break;
        case 10: _t->controllerChanged(); break;
        case 11: _t->instrumentNameReturn(); break;
        case 12: _t->patchNameReturn(); break;
        case 13: _t->deletePatchClicked(); break;
        case 14: _t->newPatchClicked(); break;
        case 15: _t->newGroupClicked(); break;
        case 16: _t->patchButtonClicked(); break;
        case 17: _t->drumPatchButtonClicked(); break;
        case 18: _t->drummapCollectionPatchButtonClicked(); break;
        case 19: _t->defPatchChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 20: _t->defDrumPatchChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->deleteControllerClicked(); break;
        case 22: _t->newControllerClicked(); break;
        case 23: _t->addControllerClicked(); break;
        case 24: _t->ctrlPopupTriggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 25: _t->ctrlTypeChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 26: _t->ctrlNameReturn(); break;
        case 27: _t->ctrlNumChanged(); break;
        case 28: _t->ctrlMinChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 29: _t->ctrlMaxChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 30: _t->ctrlDefaultChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 31: _t->ctrlDrumDefaultChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 32: _t->ctrlShowInMidiChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 33: _t->ctrlShowInDrumChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 34: _t->sysexChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QListWidgetItem*(*)>(_a[2]))); break;
        case 35: _t->deleteSysexClicked(); break;
        case 36: _t->newSysexClicked(); break;
        case 37: _t->editInitListItem((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
        case 38: _t->initListDeleteClicked(); break;
        case 39: _t->initListAddClicked(); break;
        case 40: _t->initListChangeClicked(); break;
        case 41: _t->patchCollectionSpinboxChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 42: _t->patchActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 43: _t->addPatchCollection(); break;
        case 44: _t->delPatchCollection(); break;
        case 45: _t->copyPatchCollection(); break;
        case 46: _t->patchCollectionUp(); break;
        case 47: _t->patchCollectionDown(); break;
        case 48: _t->repopulatePatchCollections(); break;
        case 49: _t->storePatchCollection(); break;
        case 50: _t->fetchPatchCollection(); break;
        case 51: _t->on_actionInfo_triggered(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::EditInstrument::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__EditInstrument.data,
    qt_meta_data_MusEGui__EditInstrument,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *MusEGui::EditInstrument::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_MusEGui__EditInstrument.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Ui::EditInstrumentBase"))
        return static_cast< Ui::EditInstrumentBase*>(this);
    return QMainWindow::qt_metacast(_clname);
}

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