/****************************************************************************
** Meta object code from reading C++ file 'pcanvas.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/pcanvas.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'pcanvas.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__PartCanvas_t {
    QByteArrayData data[34];
    char stringdata0[485];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__PartCanvas_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__PartCanvas_t qt_meta_stringdata_MusEGui__PartCanvas = {
    {
QT_MOC_LITERAL(0, 0, 19), // "MusEGui::PartCanvas"
QT_MOC_LITERAL(1, 20, 11), // "timeChanged"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 16), // "tracklistChanged"
QT_MOC_LITERAL(4, 50, 10), // "dclickPart"
QT_MOC_LITERAL(5, 61, 16), // "MusECore::Track*"
QT_MOC_LITERAL(6, 78, 12), // "dropSongFile"
QT_MOC_LITERAL(7, 91, 12), // "dropMidiFile"
QT_MOC_LITERAL(8, 104, 11), // "setUsedTool"
QT_MOC_LITERAL(9, 116, 12), // "trackChanged"
QT_MOC_LITERAL(10, 129, 16), // "selectTrackAbove"
QT_MOC_LITERAL(11, 146, 16), // "selectTrackBelow"
QT_MOC_LITERAL(12, 163, 16), // "editTrackNameSig"
QT_MOC_LITERAL(13, 180, 18), // "muteSelectedTracks"
QT_MOC_LITERAL(14, 199, 18), // "soloSelectedTracks"
QT_MOC_LITERAL(15, 218, 20), // "volumeSelectedTracks"
QT_MOC_LITERAL(16, 239, 17), // "panSelectedTracks"
QT_MOC_LITERAL(17, 257, 24), // "curPartColorIndexChanged"
QT_MOC_LITERAL(18, 282, 11), // "startEditor"
QT_MOC_LITERAL(19, 294, 19), // "MusECore::PartList*"
QT_MOC_LITERAL(20, 314, 13), // "returnPressed"
QT_MOC_LITERAL(21, 328, 13), // "redirKeypress"
QT_MOC_LITERAL(22, 342, 10), // "QKeyEvent*"
QT_MOC_LITERAL(23, 353, 1), // "e"
QT_MOC_LITERAL(24, 355, 17), // "controllerChanged"
QT_MOC_LITERAL(25, 373, 22), // "const MusECore::Track*"
QT_MOC_LITERAL(26, 396, 1), // "t"
QT_MOC_LITERAL(27, 398, 6), // "ctrlId"
QT_MOC_LITERAL(28, 405, 5), // "frame"
QT_MOC_LITERAL(29, 411, 30), // "MusECore::CtrlGUIMessage::Type"
QT_MOC_LITERAL(30, 442, 4), // "type"
QT_MOC_LITERAL(31, 447, 12), // "setPartColor"
QT_MOC_LITERAL(32, 460, 3), // "idx"
QT_MOC_LITERAL(33, 464, 20) // "setCurrentColorIndex"

    },
    "MusEGui::PartCanvas\0timeChanged\0\0"
    "tracklistChanged\0dclickPart\0"
    "MusECore::Track*\0dropSongFile\0"
    "dropMidiFile\0setUsedTool\0trackChanged\0"
    "selectTrackAbove\0selectTrackBelow\0"
    "editTrackNameSig\0muteSelectedTracks\0"
    "soloSelectedTracks\0volumeSelectedTracks\0"
    "panSelectedTracks\0curPartColorIndexChanged\0"
    "startEditor\0MusECore::PartList*\0"
    "returnPressed\0redirKeypress\0QKeyEvent*\0"
    "e\0controllerChanged\0const MusECore::Track*\0"
    "t\0ctrlId\0frame\0MusECore::CtrlGUIMessage::Type\0"
    "type\0setPartColor\0idx\0setCurrentColorIndex"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__PartCanvas[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  134,    2, 0x06 /* Public */,
       3,    0,  137,    2, 0x06 /* Public */,
       4,    1,  138,    2, 0x06 /* Public */,
       6,    1,  141,    2, 0x06 /* Public */,
       7,    1,  144,    2, 0x06 /* Public */,
       8,    1,  147,    2, 0x06 /* Public */,
       9,    1,  150,    2, 0x06 /* Public */,
      10,    0,  153,    2, 0x06 /* Public */,
      11,    0,  154,    2, 0x06 /* Public */,
      12,    0,  155,    2, 0x06 /* Public */,
      13,    0,  156,    2, 0x06 /* Public */,
      14,    0,  157,    2, 0x06 /* Public */,
      15,    1,  158,    2, 0x06 /* Public */,
      16,    1,  161,    2, 0x06 /* Public */,
      17,    1,  164,    2, 0x06 /* Public */,
      18,    2,  167,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      20,    0,  172,    2, 0x08 /* Private */,
      21,    1,  173,    2, 0x0a /* Public */,
      24,    4,  176,    2, 0x0a /* Public */,
      24,    3,  185,    2, 0x2a /* Public | MethodCloned */,
      24,    2,  192,    2, 0x2a /* Public | MethodCloned */,
      24,    1,  197,    2, 0x2a /* Public | MethodCloned */,
      31,    1,  200,    2, 0x0a /* Public */,
      33,    1,  203,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::UInt,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 5,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 19, QMetaType::Int,    2,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 22,   23,
    QMetaType::Void, 0x80000000 | 25, QMetaType::Int, QMetaType::UInt, 0x80000000 | 29,   26,   27,   28,   30,
    QMetaType::Void, 0x80000000 | 25, QMetaType::Int, QMetaType::UInt,   26,   27,   28,
    QMetaType::Void, 0x80000000 | 25, QMetaType::Int,   26,   27,
    QMetaType::Void, 0x80000000 | 25,   26,
    QMetaType::Void, QMetaType::Int,   32,
    QMetaType::Void, QMetaType::Int,   32,

       0        // eod
};

void MusEGui::PartCanvas::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<PartCanvas *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->timeChanged((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 1: _t->tracklistChanged(); break;
        case 2: _t->dclickPart((*reinterpret_cast< MusECore::Track*(*)>(_a[1]))); break;
        case 3: _t->dropSongFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->dropMidiFile((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->setUsedTool((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->trackChanged((*reinterpret_cast< MusECore::Track*(*)>(_a[1]))); break;
        case 7: _t->selectTrackAbove(); break;
        case 8: _t->selectTrackBelow(); break;
        case 9: _t->editTrackNameSig(); break;
        case 10: _t->muteSelectedTracks(); break;
        case 11: _t->soloSelectedTracks(); break;
        case 12: _t->volumeSelectedTracks((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->panSelectedTracks((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->curPartColorIndexChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->startEditor((*reinterpret_cast< MusECore::PartList*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 16: _t->returnPressed(); break;
        case 17: _t->redirKeypress((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
        case 18: _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 19: _t->controllerChanged((*reinterpret_cast< const MusECore::Track*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
        case 20: _t->controllerChanged((*reinterpret_cast< const MusECore::Track*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 21: _t->controllerChanged((*reinterpret_cast< const MusECore::Track*(*)>(_a[1]))); break;
        case 22: _t->setPartColor((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 23: _t->setCurrentColorIndex((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (PartCanvas::*)(unsigned  );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::timeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (PartCanvas::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::tracklistChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (PartCanvas::*)(MusECore::Track * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::dclickPart)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (PartCanvas::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::dropSongFile)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (PartCanvas::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::dropMidiFile)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (PartCanvas::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::setUsedTool)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (PartCanvas::*)(MusECore::Track * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::trackChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (PartCanvas::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::selectTrackAbove)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (PartCanvas::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::selectTrackBelow)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (PartCanvas::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::editTrackNameSig)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (PartCanvas::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::muteSelectedTracks)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (PartCanvas::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::soloSelectedTracks)) {
                *result = 11;
                return;
            }
        }
        {
            using _t = void (PartCanvas::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::volumeSelectedTracks)) {
                *result = 12;
                return;
            }
        }
        {
            using _t = void (PartCanvas::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::panSelectedTracks)) {
                *result = 13;
                return;
            }
        }
        {
            using _t = void (PartCanvas::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::curPartColorIndexChanged)) {
                *result = 14;
                return;
            }
        }
        {
            using _t = void (PartCanvas::*)(MusECore::PartList * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PartCanvas::startEditor)) {
                *result = 15;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::PartCanvas::staticMetaObject = { {
    QMetaObject::SuperData::link<Canvas::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__PartCanvas.data,
    qt_meta_data_MusEGui__PartCanvas,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

// SIGNAL 1
void MusEGui::PartCanvas::tracklistChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

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

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

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

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

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

// SIGNAL 7
void MusEGui::PartCanvas::selectTrackAbove()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void MusEGui::PartCanvas::selectTrackBelow()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void MusEGui::PartCanvas::editTrackNameSig()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void MusEGui::PartCanvas::muteSelectedTracks()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void MusEGui::PartCanvas::soloSelectedTracks()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

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

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

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

// SIGNAL 15
void MusEGui::PartCanvas::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, 15, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
