/****************************************************************************
** Meta object code from reading C++ file 'pianoroll.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/pianoroll.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'pianoroll.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__PianoRoll_t {
    QByteArrayData data[50];
    char stringdata0[683];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__PianoRoll_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__PianoRoll_t qt_meta_stringdata_MusEGui__PianoRoll = {
    {
QT_MOC_LITERAL(0, 0, 18), // "MusEGui::PianoRoll"
QT_MOC_LITERAL(1, 19, 10), // "isDeleting"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 16), // "MusEGui::TopWin*"
QT_MOC_LITERAL(4, 48, 12), // "setSelection"
QT_MOC_LITERAL(5, 61, 16), // "MusECore::Event&"
QT_MOC_LITERAL(6, 78, 15), // "MusECore::Part*"
QT_MOC_LITERAL(7, 94, 15), // "noteinfoChanged"
QT_MOC_LITERAL(8, 110, 26), // "MusEGui::NoteInfo::ValType"
QT_MOC_LITERAL(9, 137, 10), // "removeCtrl"
QT_MOC_LITERAL(10, 148, 9), // "CtrlEdit*"
QT_MOC_LITERAL(11, 158, 4), // "ctrl"
QT_MOC_LITERAL(12, 163, 11), // "soloChanged"
QT_MOC_LITERAL(13, 175, 4), // "flag"
QT_MOC_LITERAL(14, 180, 13), // "gridOnChanged"
QT_MOC_LITERAL(15, 194, 9), // "setRaster"
QT_MOC_LITERAL(16, 204, 3), // "cmd"
QT_MOC_LITERAL(17, 208, 10), // "setSteprec"
QT_MOC_LITERAL(18, 219, 21), // "eventColorModeChanged"
QT_MOC_LITERAL(19, 241, 18), // "MidiEventColorMode"
QT_MOC_LITERAL(20, 260, 16), // "clipboardChanged"
QT_MOC_LITERAL(21, 277, 16), // "selectionChanged"
QT_MOC_LITERAL(22, 294, 10), // "setSpeaker"
QT_MOC_LITERAL(23, 305, 24), // "setSpeakerSingleNoteMode"
QT_MOC_LITERAL(24, 330, 19), // "setSpeakerChordMode"
QT_MOC_LITERAL(25, 350, 7), // "setTime"
QT_MOC_LITERAL(26, 358, 6), // "follow"
QT_MOC_LITERAL(27, 365, 3), // "pos"
QT_MOC_LITERAL(28, 369, 12), // "songChanged1"
QT_MOC_LITERAL(29, 382, 29), // "MusECore::SongChangedStruct_t"
QT_MOC_LITERAL(30, 412, 13), // "configChanged"
QT_MOC_LITERAL(31, 426, 14), // "newCanvasWidth"
QT_MOC_LITERAL(32, 441, 16), // "deltaModeChanged"
QT_MOC_LITERAL(33, 458, 14), // "addCtrlClicked"
QT_MOC_LITERAL(34, 473, 18), // "ctrlPopupTriggered"
QT_MOC_LITERAL(35, 492, 8), // "QAction*"
QT_MOC_LITERAL(36, 501, 3), // "act"
QT_MOC_LITERAL(37, 505, 19), // "ctrlMenuAboutToShow"
QT_MOC_LITERAL(38, 525, 19), // "ctrlMenuAboutToHide"
QT_MOC_LITERAL(39, 545, 14), // "horizontalZoom"
QT_MOC_LITERAL(40, 560, 7), // "zoom_in"
QT_MOC_LITERAL(41, 568, 8), // "glob_pos"
QT_MOC_LITERAL(42, 577, 3), // "mag"
QT_MOC_LITERAL(43, 581, 18), // "updateHScrollRange"
QT_MOC_LITERAL(44, 600, 19), // "execDeliveredScript"
QT_MOC_LITERAL(45, 620, 2), // "id"
QT_MOC_LITERAL(46, 623, 14), // "execUserScript"
QT_MOC_LITERAL(47, 638, 11), // "focusCanvas"
QT_MOC_LITERAL(48, 650, 21), // "storeInitialViewState"
QT_MOC_LITERAL(49, 672, 10) // "pianoWidth"

    },
    "MusEGui::PianoRoll\0isDeleting\0\0"
    "MusEGui::TopWin*\0setSelection\0"
    "MusECore::Event&\0MusECore::Part*\0"
    "noteinfoChanged\0MusEGui::NoteInfo::ValType\0"
    "removeCtrl\0CtrlEdit*\0ctrl\0soloChanged\0"
    "flag\0gridOnChanged\0setRaster\0cmd\0"
    "setSteprec\0eventColorModeChanged\0"
    "MidiEventColorMode\0clipboardChanged\0"
    "selectionChanged\0setSpeaker\0"
    "setSpeakerSingleNoteMode\0setSpeakerChordMode\0"
    "setTime\0follow\0pos\0songChanged1\0"
    "MusECore::SongChangedStruct_t\0"
    "configChanged\0newCanvasWidth\0"
    "deltaModeChanged\0addCtrlClicked\0"
    "ctrlPopupTriggered\0QAction*\0act\0"
    "ctrlMenuAboutToShow\0ctrlMenuAboutToHide\0"
    "horizontalZoom\0zoom_in\0glob_pos\0mag\0"
    "updateHScrollRange\0execDeliveredScript\0"
    "id\0execUserScript\0focusCanvas\0"
    "storeInitialViewState\0pianoWidth"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__PianoRoll[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       4,    4,  177,    2, 0x08 /* Private */,
       7,    2,  186,    2, 0x08 /* Private */,
       9,    1,  191,    2, 0x08 /* Private */,
      12,    1,  194,    2, 0x08 /* Private */,
      14,    1,  197,    2, 0x08 /* Private */,
      15,    1,  200,    2, 0x08 /* Private */,
      16,    1,  203,    2, 0x08 /* Private */,
      17,    1,  206,    2, 0x08 /* Private */,
      18,    1,  209,    2, 0x08 /* Private */,
      20,    0,  212,    2, 0x08 /* Private */,
      21,    0,  213,    2, 0x08 /* Private */,
      22,    1,  214,    2, 0x08 /* Private */,
      23,    1,  217,    2, 0x08 /* Private */,
      24,    1,  220,    2, 0x08 /* Private */,
      25,    1,  223,    2, 0x08 /* Private */,
      26,    1,  226,    2, 0x08 /* Private */,
      28,    1,  229,    2, 0x08 /* Private */,
      30,    0,  232,    2, 0x08 /* Private */,
      31,    1,  233,    2, 0x08 /* Private */,
      32,    1,  236,    2, 0x08 /* Private */,
      33,    0,  239,    2, 0x08 /* Private */,
      34,    1,  240,    2, 0x08 /* Private */,
      37,    0,  243,    2, 0x08 /* Private */,
      38,    0,  244,    2, 0x08 /* Private */,
      39,    2,  245,    2, 0x0a /* Public */,
      39,    2,  250,    2, 0x0a /* Public */,
      43,    0,  255,    2, 0x0a /* Public */,
      44,    1,  256,    2, 0x0a /* Public */,
      46,    1,  259,    2, 0x0a /* Public */,
      47,    0,  262,    2, 0x0a /* Public */,
      48,    0,  263,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int, 0x80000000 | 5, 0x80000000 | 6, QMetaType::Bool,    2,    2,    2,    2,
    QMetaType::Void, 0x80000000 | 8, QMetaType::Int,    2,    2,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, 0x80000000 | 19,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::UInt,    2,
    QMetaType::Void, QMetaType::Int,   27,
    QMetaType::Void, 0x80000000 | 29,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 35,   36,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool, QMetaType::QPoint,   40,   41,
    QMetaType::Void, QMetaType::Int, QMetaType::QPoint,   42,   41,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   45,
    QMetaType::Void, QMetaType::Int,   45,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      49, QMetaType::Int, 0x00095103,

       0        // eod
};

void MusEGui::PianoRoll::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<PianoRoll *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->isDeleting((*reinterpret_cast< MusEGui::TopWin*(*)>(_a[1]))); break;
        case 1: _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 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->soloChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->gridOnChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->setRaster((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->cmd((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->setSteprec((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->eventColorModeChanged((*reinterpret_cast< MidiEventColorMode(*)>(_a[1]))); break;
        case 10: _t->clipboardChanged(); break;
        case 11: _t->selectionChanged(); break;
        case 12: _t->setSpeaker((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->setSpeakerSingleNoteMode((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->setSpeakerChordMode((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->setTime((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 16: _t->follow((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 17: _t->songChanged1((*reinterpret_cast< MusECore::SongChangedStruct_t(*)>(_a[1]))); break;
        case 18: _t->configChanged(); break;
        case 19: _t->newCanvasWidth((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 20: _t->deltaModeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 21: _t->addCtrlClicked(); break;
        case 22: _t->ctrlPopupTriggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 23: _t->ctrlMenuAboutToShow(); break;
        case 24: _t->ctrlMenuAboutToHide(); break;
        case 25: _t->horizontalZoom((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 26: _t->horizontalZoom((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 27: _t->updateHScrollRange(); break;
        case 28: _t->execDeliveredScript((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 29: _t->execUserScript((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 30: _t->focusCanvas(); break;
        case 31: _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 22:
            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 (PianoRoll::*)(MusEGui::TopWin * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PianoRoll::isDeleting)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<PianoRoll *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->pianoWidth(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<PianoRoll *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setPianoWidth(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::PianoRoll::staticMetaObject = { {
    QMetaObject::SuperData::link<MidiEditor::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__PianoRoll.data,
    qt_meta_data_MusEGui__PianoRoll,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int MusEGui::PianoRoll::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 < 32)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 32;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 32)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 32;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void MusEGui::PianoRoll::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
