/****************************************************************************
** Meta object code from reading C++ file 'ctrledit.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/ctrl/ctrledit.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ctrledit.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__CtrlEdit_t {
    QByteArrayData data[21];
    char stringdata0[219];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__CtrlEdit_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__CtrlEdit_t qt_meta_stringdata_MusEGui__CtrlEdit = {
    {
QT_MOC_LITERAL(0, 0, 17), // "MusEGui::CtrlEdit"
QT_MOC_LITERAL(1, 18, 11), // "timeChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 13), // "destroyedCtrl"
QT_MOC_LITERAL(4, 45, 9), // "CtrlEdit*"
QT_MOC_LITERAL(5, 55, 11), // "enterCanvas"
QT_MOC_LITERAL(6, 67, 11), // "yposChanged"
QT_MOC_LITERAL(7, 79, 18), // "redirectWheelEvent"
QT_MOC_LITERAL(8, 98, 12), // "QWheelEvent*"
QT_MOC_LITERAL(9, 111, 7), // "destroy"
QT_MOC_LITERAL(10, 119, 7), // "setTool"
QT_MOC_LITERAL(11, 127, 4), // "tool"
QT_MOC_LITERAL(12, 132, 7), // "setXPos"
QT_MOC_LITERAL(13, 140, 3), // "val"
QT_MOC_LITERAL(14, 144, 7), // "setXMag"
QT_MOC_LITERAL(15, 152, 14), // "setCanvasWidth"
QT_MOC_LITERAL(16, 167, 1), // "w"
QT_MOC_LITERAL(17, 169, 13), // "setController"
QT_MOC_LITERAL(18, 183, 1), // "n"
QT_MOC_LITERAL(19, 185, 17), // "curPartHasChanged"
QT_MOC_LITERAL(20, 203, 15) // "MusECore::Part*"

    },
    "MusEGui::CtrlEdit\0timeChanged\0\0"
    "destroyedCtrl\0CtrlEdit*\0enterCanvas\0"
    "yposChanged\0redirectWheelEvent\0"
    "QWheelEvent*\0destroy\0setTool\0tool\0"
    "setXPos\0val\0setXMag\0setCanvasWidth\0w\0"
    "setController\0n\0curPartHasChanged\0"
    "MusECore::Part*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__CtrlEdit[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       3,    1,   77,    2, 0x06 /* Public */,
       5,    0,   80,    2, 0x06 /* Public */,
       6,    1,   81,    2, 0x06 /* Public */,
       7,    1,   84,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,   87,    2, 0x08 /* Private */,
      10,    1,   88,    2, 0x0a /* Public */,
      12,    1,   91,    2, 0x0a /* Public */,
      14,    1,   94,    2, 0x0a /* Public */,
      15,    1,   97,    2, 0x0a /* Public */,
      17,    1,  100,    2, 0x0a /* Public */,
      19,    1,  103,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::UInt,    2,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 8,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void, 0x80000000 | 20,    2,

       0        // eod
};

void MusEGui::CtrlEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<CtrlEdit *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->timeChanged((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 1: _t->destroyedCtrl((*reinterpret_cast< CtrlEdit*(*)>(_a[1]))); break;
        case 2: _t->enterCanvas(); break;
        case 3: _t->yposChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->redirectWheelEvent((*reinterpret_cast< QWheelEvent*(*)>(_a[1]))); break;
        case 5: _t->destroy(); break;
        case 6: _t->setTool((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->setXPos((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->setXMag((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->setCanvasWidth((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->setController((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->curPartHasChanged((*reinterpret_cast< MusECore::Part*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (CtrlEdit::*)(unsigned  );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CtrlEdit::timeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (CtrlEdit::*)(CtrlEdit * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CtrlEdit::destroyedCtrl)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (CtrlEdit::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CtrlEdit::enterCanvas)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (CtrlEdit::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CtrlEdit::yposChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (CtrlEdit::*)(QWheelEvent * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CtrlEdit::redirectWheelEvent)) {
                *result = 4;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::CtrlEdit::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__CtrlEdit.data,
    qt_meta_data_MusEGui__CtrlEdit,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int MusEGui::CtrlEdit::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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void MusEGui::CtrlEdit::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::CtrlEdit::destroyedCtrl(CtrlEdit * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void MusEGui::CtrlEdit::enterCanvas()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

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

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