/****************************************************************************
** Meta object code from reading C++ file 'drumedit.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/midiedit/drumedit.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'drumedit.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__DrumEdit_t {
    QByteArrayData data[58];
    char stringdata0[742];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__DrumEdit_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__DrumEdit_t qt_meta_stringdata_MusEGui__DrumEdit = {
    {
QT_MOC_LITERAL(0, 0, 17), // "MusEGui::DrumEdit"
QT_MOC_LITERAL(1, 18, 10), // "isDeleting"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 16), // "MusEGui::TopWin*"
QT_MOC_LITERAL(4, 47, 9), // "setRaster"
QT_MOC_LITERAL(5, 57, 15), // "noteinfoChanged"
QT_MOC_LITERAL(6, 73, 26), // "MusEGui::NoteInfo::ValType"
QT_MOC_LITERAL(7, 100, 4), // "type"
QT_MOC_LITERAL(8, 105, 3), // "val"
QT_MOC_LITERAL(9, 109, 10), // "removeCtrl"
QT_MOC_LITERAL(10, 120, 9), // "CtrlEdit*"
QT_MOC_LITERAL(11, 130, 4), // "ctrl"
QT_MOC_LITERAL(12, 135, 3), // "cmd"
QT_MOC_LITERAL(13, 139, 16), // "clipboardChanged"
QT_MOC_LITERAL(14, 156, 16), // "selectionChanged"
QT_MOC_LITERAL(15, 173, 4), // "load"
QT_MOC_LITERAL(16, 178, 4), // "save"
QT_MOC_LITERAL(17, 183, 5), // "reset"
QT_MOC_LITERAL(18, 189, 7), // "setTime"
QT_MOC_LITERAL(19, 197, 6), // "follow"
QT_MOC_LITERAL(20, 204, 14), // "newCanvasWidth"
QT_MOC_LITERAL(21, 219, 13), // "configChanged"
QT_MOC_LITERAL(22, 233, 12), // "songChanged1"
QT_MOC_LITERAL(23, 246, 29), // "MusECore::SongChangedStruct_t"
QT_MOC_LITERAL(24, 276, 7), // "setStep"
QT_MOC_LITERAL(25, 284, 10), // "setSpeaker"
QT_MOC_LITERAL(26, 295, 14), // "addCtrlClicked"
QT_MOC_LITERAL(27, 310, 18), // "ctrlPopupTriggered"
QT_MOC_LITERAL(28, 329, 8), // "QAction*"
QT_MOC_LITERAL(29, 338, 3), // "act"
QT_MOC_LITERAL(30, 342, 19), // "ctrlMenuAboutToShow"
QT_MOC_LITERAL(31, 362, 19), // "ctrlMenuAboutToHide"
QT_MOC_LITERAL(32, 382, 13), // "gridOnChanged"
QT_MOC_LITERAL(33, 396, 15), // "set_ignore_hide"
QT_MOC_LITERAL(34, 412, 18), // "showAllInstruments"
QT_MOC_LITERAL(35, 431, 18), // "hideAllInstruments"
QT_MOC_LITERAL(36, 450, 21), // "hideUnusedInstruments"
QT_MOC_LITERAL(37, 472, 20), // "hideEmptyInstruments"
QT_MOC_LITERAL(38, 493, 16), // "deltaModeChanged"
QT_MOC_LITERAL(39, 510, 8), // "midiNote"
QT_MOC_LITERAL(40, 519, 5), // "pitch"
QT_MOC_LITERAL(41, 525, 4), // "velo"
QT_MOC_LITERAL(42, 530, 12), // "setSelection"
QT_MOC_LITERAL(43, 543, 4), // "tick"
QT_MOC_LITERAL(44, 548, 16), // "MusECore::Event&"
QT_MOC_LITERAL(45, 565, 15), // "MusECore::Part*"
QT_MOC_LITERAL(46, 581, 6), // "update"
QT_MOC_LITERAL(47, 588, 11), // "soloChanged"
QT_MOC_LITERAL(48, 600, 19), // "execDeliveredScript"
QT_MOC_LITERAL(49, 620, 14), // "execUserScript"
QT_MOC_LITERAL(50, 635, 11), // "focusCanvas"
QT_MOC_LITERAL(51, 647, 17), // "ourDrumMapChanged"
QT_MOC_LITERAL(52, 665, 14), // "horizontalZoom"
QT_MOC_LITERAL(53, 680, 7), // "zoom_in"
QT_MOC_LITERAL(54, 688, 8), // "glob_pos"
QT_MOC_LITERAL(55, 697, 3), // "mag"
QT_MOC_LITERAL(56, 701, 18), // "updateHScrollRange"
QT_MOC_LITERAL(57, 720, 21) // "storeInitialViewState"

    },
    "MusEGui::DrumEdit\0isDeleting\0\0"
    "MusEGui::TopWin*\0setRaster\0noteinfoChanged\0"
    "MusEGui::NoteInfo::ValType\0type\0val\0"
    "removeCtrl\0CtrlEdit*\0ctrl\0cmd\0"
    "clipboardChanged\0selectionChanged\0"
    "load\0save\0reset\0setTime\0follow\0"
    "newCanvasWidth\0configChanged\0songChanged1\0"
    "MusECore::SongChangedStruct_t\0setStep\0"
    "setSpeaker\0addCtrlClicked\0ctrlPopupTriggered\0"
    "QAction*\0act\0ctrlMenuAboutToShow\0"
    "ctrlMenuAboutToHide\0gridOnChanged\0"
    "set_ignore_hide\0showAllInstruments\0"
    "hideAllInstruments\0hideUnusedInstruments\0"
    "hideEmptyInstruments\0deltaModeChanged\0"
    "midiNote\0pitch\0velo\0setSelection\0tick\0"
    "MusECore::Event&\0MusECore::Part*\0"
    "update\0soloChanged\0execDeliveredScript\0"
    "execUserScript\0focusCanvas\0ourDrumMapChanged\0"
    "horizontalZoom\0zoom_in\0glob_pos\0mag\0"
    "updateHScrollRange\0storeInitialViewState"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__DrumEdit[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       4,    1,  212,    2, 0x08 /* Private */,
       5,    2,  215,    2, 0x08 /* Private */,
       9,    1,  220,    2, 0x08 /* Private */,
      12,    1,  223,    2, 0x08 /* Private */,
      13,    0,  226,    2, 0x08 /* Private */,
      14,    0,  227,    2, 0x08 /* Private */,
      15,    0,  228,    2, 0x08 /* Private */,
      16,    0,  229,    2, 0x08 /* Private */,
      17,    0,  230,    2, 0x08 /* Private */,
      18,    1,  231,    2, 0x08 /* Private */,
      19,    1,  234,    2, 0x08 /* Private */,
      20,    1,  237,    2, 0x08 /* Private */,
      21,    0,  240,    2, 0x08 /* Private */,
      22,    1,  241,    2, 0x08 /* Private */,
      24,    1,  244,    2, 0x08 /* Private */,
      25,    1,  247,    2, 0x08 /* Private */,
      26,    0,  250,    2, 0x08 /* Private */,
      27,    1,  251,    2, 0x08 /* Private */,
      30,    0,  254,    2, 0x08 /* Private */,
      31,    0,  255,    2, 0x08 /* Private */,
      32,    1,  256,    2, 0x08 /* Private */,
      33,    1,  259,    2, 0x08 /* Private */,
      34,    0,  262,    2, 0x08 /* Private */,
      35,    0,  263,    2, 0x08 /* Private */,
      36,    0,  264,    2, 0x08 /* Private */,
      37,    0,  265,    2, 0x08 /* Private */,
      38,    1,  266,    2, 0x08 /* Private */,
      39,    2,  269,    2, 0x08 /* Private */,
      42,    4,  274,    2, 0x0a /* Public */,
      47,    1,  283,    2, 0x0a /* Public */,
      48,    1,  286,    2, 0x0a /* Public */,
      49,    1,  289,    2, 0x0a /* Public */,
      50,    0,  292,    2, 0x0a /* Public */,
      51,    1,  293,    2, 0x0a /* Public */,
      52,    2,  296,    2, 0x0a /* Public */,
      52,    2,  301,    2, 0x0a /* Public */,
      56,    0,  306,    2, 0x0a /* Public */,
      57,    0,  307,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 6, QMetaType::Int,    7,    8,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::UInt,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 23,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 28,   29,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   40,   41,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 44, 0x80000000 | 45, QMetaType::Bool,   43,    2,    2,   46,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool, QMetaType::QPoint,   53,   54,
    QMetaType::Void, QMetaType::Int, QMetaType::QPoint,   55,   54,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void MusEGui::DrumEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DrumEdit *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->isDeleting((*reinterpret_cast< MusEGui::TopWin*(*)>(_a[1]))); break;
        case 1: _t->setRaster((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->noteinfoChanged((*reinterpret_cast< MusEGui::NoteInfo::ValType(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->removeCtrl((*reinterpret_cast< CtrlEdit*(*)>(_a[1]))); break;
        case 4: _t->cmd((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->clipboardChanged(); break;
        case 6: _t->selectionChanged(); break;
        case 7: _t->load(); break;
        case 8: _t->save(); break;
        case 9: _t->reset(); break;
        case 10: _t->setTime((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 11: _t->follow((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->newCanvasWidth((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->configChanged(); break;
        case 14: _t->songChanged1((*reinterpret_cast< MusECore::SongChangedStruct_t(*)>(_a[1]))); break;
        case 15: _t->setStep((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 16: _t->setSpeaker((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 17: _t->addCtrlClicked(); break;
        case 18: _t->ctrlPopupTriggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 19: _t->ctrlMenuAboutToShow(); break;
        case 20: _t->ctrlMenuAboutToHide(); break;
        case 21: _t->gridOnChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 22: _t->set_ignore_hide((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 23: _t->showAllInstruments(); break;
        case 24: _t->hideAllInstruments(); break;
        case 25: _t->hideUnusedInstruments(); break;
        case 26: _t->hideEmptyInstruments(); break;
        case 27: _t->deltaModeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 28: _t->midiNote((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 29: _t->setSelection((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< MusECore::Event(*)>(_a[2])),(*reinterpret_cast< MusECore::Part*(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
        case 30: _t->soloChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 31: _t->execDeliveredScript((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 32: _t->execUserScript((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 33: _t->focusCanvas(); break;
        case 34: _t->ourDrumMapChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 35: _t->horizontalZoom((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 36: _t->horizontalZoom((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 37: _t->updateHScrollRange(); break;
        case 38: _t->storeInitialViewState(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MusEGui::TopWin* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< CtrlEdit* >(); break;
            }
            break;
        case 18:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (DrumEdit::*)(MusEGui::TopWin * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DrumEdit::isDeleting)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::DrumEdit::staticMetaObject = { {
    QMetaObject::SuperData::link<MidiEditor::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__DrumEdit.data,
    qt_meta_data_MusEGui__DrumEdit,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *MusEGui::DrumEdit::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_MusEGui__DrumEdit.stringdata0))
        return static_cast<void*>(this);
    return MidiEditor::qt_metacast(_clname);
}

int MusEGui::DrumEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = MidiEditor::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 39)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 39;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 39)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 39;
    }
    return _id;
}

// SIGNAL 0
void MusEGui::DrumEdit::isDeleting(MusEGui::TopWin * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
