/****************************************************************************
** Meta object code from reading C++ file 'canvas.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/canvas.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'canvas.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__Canvas_t {
    QByteArrayData data[20];
    char stringdata0[250];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__Canvas_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__Canvas_t qt_meta_stringdata_MusEGui__Canvas = {
    {
QT_MOC_LITERAL(0, 0, 15), // "MusEGui::Canvas"
QT_MOC_LITERAL(1, 16, 11), // "followEvent"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 11), // "toolChanged"
QT_MOC_LITERAL(4, 41, 14), // "verticalScroll"
QT_MOC_LITERAL(5, 56, 16), // "horizontalScroll"
QT_MOC_LITERAL(6, 73, 23), // "horizontalScrollNoLimit"
QT_MOC_LITERAL(7, 97, 14), // "horizontalZoom"
QT_MOC_LITERAL(8, 112, 7), // "zoom_in"
QT_MOC_LITERAL(9, 120, 8), // "glob_pos"
QT_MOC_LITERAL(10, 129, 3), // "mag"
QT_MOC_LITERAL(11, 133, 17), // "curPartHasChanged"
QT_MOC_LITERAL(12, 151, 15), // "MusECore::Part*"
QT_MOC_LITERAL(13, 167, 7), // "setTool"
QT_MOC_LITERAL(14, 175, 1), // "t"
QT_MOC_LITERAL(15, 177, 6), // "setPos"
QT_MOC_LITERAL(16, 184, 15), // "adjustScrollbar"
QT_MOC_LITERAL(17, 200, 15), // "scrollTimerDone"
QT_MOC_LITERAL(18, 216, 20), // "redirectedWheelEvent"
QT_MOC_LITERAL(19, 237, 12) // "QWheelEvent*"

    },
    "MusEGui::Canvas\0followEvent\0\0toolChanged\0"
    "verticalScroll\0horizontalScroll\0"
    "horizontalScrollNoLimit\0horizontalZoom\0"
    "zoom_in\0glob_pos\0mag\0curPartHasChanged\0"
    "MusECore::Part*\0setTool\0t\0setPos\0"
    "adjustScrollbar\0scrollTimerDone\0"
    "redirectedWheelEvent\0QWheelEvent*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__Canvas[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       3,    1,   77,    2, 0x06 /* Public */,
       4,    1,   80,    2, 0x06 /* Public */,
       5,    1,   83,    2, 0x06 /* Public */,
       6,    1,   86,    2, 0x06 /* Public */,
       7,    2,   89,    2, 0x06 /* Public */,
       7,    2,   94,    2, 0x06 /* Public */,
      11,    1,   99,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    1,  102,    2, 0x0a /* Public */,
      15,    3,  105,    2, 0x0a /* Public */,
      17,    0,  112,    2, 0x0a /* Public */,
      18,    1,  113,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::UInt,    2,
    QMetaType::Void, QMetaType::UInt,    2,
    QMetaType::Void, QMetaType::UInt,    2,
    QMetaType::Void, QMetaType::Bool, QMetaType::QPoint,    8,    9,
    QMetaType::Void, QMetaType::Int, QMetaType::QPoint,   10,    9,
    QMetaType::Void, 0x80000000 | 12,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   14,
    QMetaType::Void, QMetaType::Int, QMetaType::UInt, QMetaType::Bool,    2,    2,   16,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 19,    2,

       0        // eod
};

void MusEGui::Canvas::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Canvas *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->followEvent((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->toolChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->verticalScroll((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 3: _t->horizontalScroll((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 4: _t->horizontalScrollNoLimit((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 5: _t->horizontalZoom((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 6: _t->horizontalZoom((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 7: _t->curPartHasChanged((*reinterpret_cast< MusECore::Part*(*)>(_a[1]))); break;
        case 8: _t->setTool((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->setPos((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 10: _t->scrollTimerDone(); break;
        case 11: _t->redirectedWheelEvent((*reinterpret_cast< QWheelEvent*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Canvas::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Canvas::followEvent)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Canvas::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Canvas::toolChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Canvas::*)(unsigned  );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Canvas::verticalScroll)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Canvas::*)(unsigned  );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Canvas::horizontalScroll)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Canvas::*)(unsigned  );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Canvas::horizontalScrollNoLimit)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (Canvas::*)(bool , const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Canvas::horizontalZoom)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (Canvas::*)(int , const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Canvas::horizontalZoom)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (Canvas::*)(MusECore::Part * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Canvas::curPartHasChanged)) {
                *result = 7;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::Canvas::staticMetaObject = { {
    QMetaObject::SuperData::link<View::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__Canvas.data,
    qt_meta_data_MusEGui__Canvas,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

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

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

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

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

// SIGNAL 5
void MusEGui::Canvas::horizontalZoom(bool _t1, const QPoint & _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, 5, _a);
}

// SIGNAL 6
void MusEGui::Canvas::horizontalZoom(int _t1, const QPoint & _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, 6, _a);
}

// SIGNAL 7
void MusEGui::Canvas::curPartHasChanged(MusECore::Part * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
