/****************************************************************************
** Meta object code from reading C++ file 'arranger.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/arranger/arranger.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'arranger.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__Arranger_t {
    QByteArrayData data[45];
    char stringdata0[590];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__Arranger_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__Arranger_t qt_meta_stringdata_MusEGui__Arranger = {
    {
QT_MOC_LITERAL(0, 0, 17), // "MusEGui::Arranger"
QT_MOC_LITERAL(1, 18, 8), // "editPart"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 16), // "MusECore::Track*"
QT_MOC_LITERAL(4, 45, 12), // "dropSongFile"
QT_MOC_LITERAL(5, 58, 12), // "dropMidiFile"
QT_MOC_LITERAL(6, 71, 11), // "startEditor"
QT_MOC_LITERAL(7, 83, 19), // "MusECore::PartList*"
QT_MOC_LITERAL(8, 103, 11), // "toolChanged"
QT_MOC_LITERAL(9, 115, 11), // "setUsedTool"
QT_MOC_LITERAL(10, 127, 13), // "rasterChanged"
QT_MOC_LITERAL(11, 141, 6), // "raster"
QT_MOC_LITERAL(12, 148, 14), // "songlenChanged"
QT_MOC_LITERAL(13, 163, 13), // "showTrackInfo"
QT_MOC_LITERAL(14, 177, 21), // "trackSelectionChanged"
QT_MOC_LITERAL(15, 199, 11), // "songChanged"
QT_MOC_LITERAL(16, 211, 29), // "MusECore::SongChangedStruct_t"
QT_MOC_LITERAL(17, 241, 7), // "setTime"
QT_MOC_LITERAL(18, 249, 18), // "globalPitchChanged"
QT_MOC_LITERAL(19, 268, 18), // "globalTempoChanged"
QT_MOC_LITERAL(20, 287, 10), // "setTempo50"
QT_MOC_LITERAL(21, 298, 11), // "setTempo100"
QT_MOC_LITERAL(22, 310, 11), // "setTempo200"
QT_MOC_LITERAL(23, 322, 13), // "gridOnChanged"
QT_MOC_LITERAL(24, 336, 1), // "v"
QT_MOC_LITERAL(25, 338, 14), // "horizontalZoom"
QT_MOC_LITERAL(26, 353, 7), // "zoom_in"
QT_MOC_LITERAL(27, 361, 8), // "glob_pos"
QT_MOC_LITERAL(28, 370, 3), // "mag"
QT_MOC_LITERAL(29, 374, 15), // "updateTracklist"
QT_MOC_LITERAL(30, 390, 10), // "dclickPart"
QT_MOC_LITERAL(31, 401, 7), // "setTool"
QT_MOC_LITERAL(32, 409, 15), // "updateTrackInfo"
QT_MOC_LITERAL(33, 425, 5), // "flags"
QT_MOC_LITERAL(34, 431, 13), // "configChanged"
QT_MOC_LITERAL(35, 445, 17), // "controllerChanged"
QT_MOC_LITERAL(36, 463, 22), // "const MusECore::Track*"
QT_MOC_LITERAL(37, 486, 1), // "t"
QT_MOC_LITERAL(38, 488, 6), // "CtrlId"
QT_MOC_LITERAL(39, 495, 5), // "frame"
QT_MOC_LITERAL(40, 501, 30), // "MusECore::CtrlGUIMessage::Type"
QT_MOC_LITERAL(41, 532, 4), // "type"
QT_MOC_LITERAL(42, 537, 11), // "focusCanvas"
QT_MOC_LITERAL(43, 549, 21), // "verticalScrollSetYpos"
QT_MOC_LITERAL(44, 571, 18) // "toggleTrackHeights"

    },
    "MusEGui::Arranger\0editPart\0\0"
    "MusECore::Track*\0dropSongFile\0"
    "dropMidiFile\0startEditor\0MusECore::PartList*\0"
    "toolChanged\0setUsedTool\0rasterChanged\0"
    "raster\0songlenChanged\0showTrackInfo\0"
    "trackSelectionChanged\0songChanged\0"
    "MusECore::SongChangedStruct_t\0setTime\0"
    "globalPitchChanged\0globalTempoChanged\0"
    "setTempo50\0setTempo100\0setTempo200\0"
    "gridOnChanged\0v\0horizontalZoom\0zoom_in\0"
    "glob_pos\0mag\0updateTracklist\0dclickPart\0"
    "setTool\0updateTrackInfo\0flags\0"
    "configChanged\0controllerChanged\0"
    "const MusECore::Track*\0t\0CtrlId\0frame\0"
    "MusECore::CtrlGUIMessage::Type\0type\0"
    "focusCanvas\0verticalScrollSetYpos\0"
    "toggleTrackHeights"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__Arranger[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  169,    2, 0x06 /* Public */,
       4,    1,  172,    2, 0x06 /* Public */,
       5,    1,  175,    2, 0x06 /* Public */,
       6,    2,  178,    2, 0x06 /* Public */,
       8,    1,  183,    2, 0x06 /* Public */,
       9,    1,  186,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    1,  189,    2, 0x08 /* Private */,
      12,    1,  192,    2, 0x08 /* Private */,
      13,    1,  195,    2, 0x08 /* Private */,
      14,    0,  198,    2, 0x08 /* Private */,
      15,    1,  199,    2, 0x08 /* Private */,
      17,    1,  202,    2, 0x08 /* Private */,
      18,    1,  205,    2, 0x08 /* Private */,
      19,    1,  208,    2, 0x08 /* Private */,
      20,    0,  211,    2, 0x08 /* Private */,
      21,    0,  212,    2, 0x08 /* Private */,
      22,    0,  213,    2, 0x08 /* Private */,
      23,    1,  214,    2, 0x08 /* Private */,
      25,    2,  217,    2, 0x08 /* Private */,
      25,    2,  222,    2, 0x08 /* Private */,
      29,    0,  227,    2, 0x08 /* Private */,
      30,    1,  228,    2, 0x0a /* Public */,
      31,    1,  231,    2, 0x0a /* Public */,
      32,    1,  234,    2, 0x0a /* Public */,
      34,    0,  237,    2, 0x0a /* Public */,
      35,    4,  238,    2, 0x0a /* Public */,
      35,    3,  247,    2, 0x2a /* Public | MethodCloned */,
      35,    2,  254,    2, 0x2a /* Public | MethodCloned */,
      42,    0,  259,    2, 0x0a /* Public */,
      43,    1,  260,    2, 0x0a /* Public */,
      44,    0,  263,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,    2,
    QMetaType::Void, QMetaType::UInt,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   24,
    QMetaType::Void, QMetaType::Bool, QMetaType::QPoint,   26,   27,
    QMetaType::Void, QMetaType::Int, QMetaType::QPoint,   28,   27,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 16,   33,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 36, QMetaType::Int, QMetaType::UInt, 0x80000000 | 40,   37,   38,   39,   41,
    QMetaType::Void, 0x80000000 | 36, QMetaType::Int, QMetaType::UInt,   37,   38,   39,
    QMetaType::Void, 0x80000000 | 36, QMetaType::Int,   37,   38,
    QMetaType::Void,
    QMetaType::Void, QMetaType::UInt,    2,
    QMetaType::Void,

       0        // eod
};

void MusEGui::Arranger::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Arranger *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->editPart((*reinterpret_cast< MusECore::Track*(*)>(_a[1]))); break;
        case 1: _t->dropSongFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->dropMidiFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->startEditor((*reinterpret_cast< MusECore::PartList*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->toolChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->setUsedTool((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->rasterChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->songlenChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->showTrackInfo((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->trackSelectionChanged(); break;
        case 10: _t->songChanged((*reinterpret_cast< MusECore::SongChangedStruct_t(*)>(_a[1]))); break;
        case 11: _t->setTime((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 12: _t->globalPitchChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->globalTempoChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->setTempo50(); break;
        case 15: _t->setTempo100(); break;
        case 16: _t->setTempo200(); break;
        case 17: _t->gridOnChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 18: _t->horizontalZoom((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 19: _t->horizontalZoom((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 20: _t->updateTracklist(); break;
        case 21: _t->dclickPart((*reinterpret_cast< MusECore::Track*(*)>(_a[1]))); break;
        case 22: _t->setTool((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 23: _t->updateTrackInfo((*reinterpret_cast< MusECore::SongChangedStruct_t(*)>(_a[1]))); break;
        case 24: _t->configChanged(); break;
        case 25: _t->controllerChanged((*reinterpret_cast< const MusECore::Track*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< MusECore::CtrlGUIMessage::Type(*)>(_a[4]))); break;
        case 26: _t->controllerChanged((*reinterpret_cast< const MusECore::Track*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
        case 27: _t->controllerChanged((*reinterpret_cast< const MusECore::Track*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 28: _t->focusCanvas(); break;
        case 29: _t->verticalScrollSetYpos((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 30: _t->toggleTrackHeights(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Arranger::*)(MusECore::Track * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Arranger::editPart)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Arranger::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Arranger::dropSongFile)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Arranger::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Arranger::dropMidiFile)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Arranger::*)(MusECore::PartList * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Arranger::startEditor)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Arranger::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Arranger::toolChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (Arranger::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Arranger::setUsedTool)) {
                *result = 5;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::Arranger::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__Arranger.data,
    qt_meta_data_MusEGui__Arranger,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void MusEGui::Arranger::editPart(MusECore::Track * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void MusEGui::Arranger::dropSongFile(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void MusEGui::Arranger::dropMidiFile(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void MusEGui::Arranger::startEditor(MusECore::PartList * _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void MusEGui::Arranger::toolChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

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