/****************************************************************************
** Meta object code from reading C++ file 'modulewidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.18)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "modulewidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'modulewidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_ModuleWidget_t {
    QByteArrayData data[39];
    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_ModuleWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ModuleWidget_t qt_meta_stringdata_ModuleWidget = {
    {
QT_MOC_LITERAL(0, 0, 12), // "ModuleWidget"
QT_MOC_LITERAL(1, 13, 12), // "removeModule"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 10), // "dockRename"
QT_MOC_LITERAL(4, 38, 5), // "mname"
QT_MOC_LITERAL(5, 44, 2), // "ID"
QT_MOC_LITERAL(6, 47, 11), // "cloneModule"
QT_MOC_LITERAL(7, 59, 12), // "moduleDelete"
QT_MOC_LITERAL(8, 72, 12), // "moduleRename"
QT_MOC_LITERAL(9, 85, 11), // "moduleClone"
QT_MOC_LITERAL(10, 97, 21), // "setInputFilterVisible"
QT_MOC_LITERAL(11, 119, 2), // "on"
QT_MOC_LITERAL(12, 122, 11), // "storeParams"
QT_MOC_LITERAL(13, 134, 2), // "ix"
QT_MOC_LITERAL(14, 137, 5), // "empty"
QT_MOC_LITERAL(15, 143, 13), // "restoreParams"
QT_MOC_LITERAL(16, 157, 14), // "copyParamsFrom"
QT_MOC_LITERAL(17, 172, 13), // "ModuleWidget*"
QT_MOC_LITERAL(18, 186, 10), // "fromWidget"
QT_MOC_LITERAL(19, 197, 16), // "updateChannelOut"
QT_MOC_LITERAL(20, 214, 5), // "value"
QT_MOC_LITERAL(21, 220, 16), // "updateCcnumberIn"
QT_MOC_LITERAL(22, 237, 13), // "updatePortOut"
QT_MOC_LITERAL(23, 251, 10), // "updateChIn"
QT_MOC_LITERAL(24, 262, 13), // "updateIndexIn"
QT_MOC_LITERAL(25, 276, 13), // "updateRangeIn"
QT_MOC_LITERAL(26, 290, 18), // "updateEnableNoteIn"
QT_MOC_LITERAL(27, 309, 17), // "updateEnableVelIn"
QT_MOC_LITERAL(28, 327, 19), // "updateEnableNoteOff"
QT_MOC_LITERAL(29, 347, 24), // "updateEnableRestartByKbd"
QT_MOC_LITERAL(30, 372, 21), // "updateEnableTrigByKbd"
QT_MOC_LITERAL(31, 394, 16), // "updateTrigLegato"
QT_MOC_LITERAL(32, 411, 10), // "updateNRep"
QT_MOC_LITERAL(33, 422, 4), // "nrep"
QT_MOC_LITERAL(34, 427, 14), // "updateCcnumber"
QT_MOC_LITERAL(35, 442, 3), // "val"
QT_MOC_LITERAL(36, 446, 18), // "updateDeferChanges"
QT_MOC_LITERAL(37, 465, 8), // "setMuted"
QT_MOC_LITERAL(38, 474, 10) // "getReverse"

    },
    "ModuleWidget\0removeModule\0\0dockRename\0"
    "mname\0ID\0cloneModule\0moduleDelete\0"
    "moduleRename\0moduleClone\0setInputFilterVisible\0"
    "on\0storeParams\0ix\0empty\0restoreParams\0"
    "copyParamsFrom\0ModuleWidget*\0fromWidget\0"
    "updateChannelOut\0value\0updateCcnumberIn\0"
    "updatePortOut\0updateChIn\0updateIndexIn\0"
    "updateRangeIn\0updateEnableNoteIn\0"
    "updateEnableVelIn\0updateEnableNoteOff\0"
    "updateEnableRestartByKbd\0updateEnableTrigByKbd\0"
    "updateTrigLegato\0updateNRep\0nrep\0"
    "updateCcnumber\0val\0updateDeferChanges\0"
    "setMuted\0getReverse"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ModuleWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  154,    2, 0x06 /* Public */,
       3,    2,  155,    2, 0x06 /* Public */,
       6,    0,  160,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,  161,    2, 0x0a /* Public */,
       8,    0,  162,    2, 0x0a /* Public */,
       9,    0,  163,    2, 0x0a /* Public */,
      10,    1,  164,    2, 0x0a /* Public */,
      12,    2,  167,    2, 0x0a /* Public */,
      12,    1,  172,    2, 0x2a /* Public | MethodCloned */,
      15,    1,  175,    2, 0x0a /* Public */,
      16,    1,  178,    2, 0x0a /* Public */,
      19,    1,  181,    2, 0x0a /* Public */,
      21,    1,  184,    2, 0x0a /* Public */,
      22,    1,  187,    2, 0x0a /* Public */,
      23,    1,  190,    2, 0x0a /* Public */,
      24,    1,  193,    2, 0x0a /* Public */,
      25,    1,  196,    2, 0x0a /* Public */,
      26,    1,  199,    2, 0x0a /* Public */,
      27,    1,  202,    2, 0x0a /* Public */,
      28,    1,  205,    2, 0x0a /* Public */,
      29,    1,  208,    2, 0x0a /* Public */,
      30,    1,  211,    2, 0x0a /* Public */,
      31,    1,  214,    2, 0x0a /* Public */,
      32,    1,  217,    2, 0x0a /* Public */,
      34,    1,  220,    2, 0x0a /* Public */,
      36,    1,  223,    2, 0x0a /* Public */,
      37,    1,  226,    2, 0x0a /* Public */,
      38,    0,  229,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    4,    5,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,   13,   14,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void, 0x80000000 | 17,   18,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Int,   33,
    QMetaType::Void, QMetaType::Int,   35,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Bool,

       0        // eod
};

void ModuleWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ModuleWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->removeModule(); break;
        case 1: _t->dockRename((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->cloneModule(); break;
        case 3: _t->moduleDelete(); break;
        case 4: _t->moduleRename(); break;
        case 5: _t->moduleClone(); break;
        case 6: _t->setInputFilterVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->storeParams((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 8: _t->storeParams((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->restoreParams((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->copyParamsFrom((*reinterpret_cast< ModuleWidget*(*)>(_a[1]))); break;
        case 11: _t->updateChannelOut((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->updateCcnumberIn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->updatePortOut((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->updateChIn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->updateIndexIn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 16: _t->updateRangeIn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 17: _t->updateEnableNoteIn((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 18: _t->updateEnableVelIn((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 19: _t->updateEnableNoteOff((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 20: _t->updateEnableRestartByKbd((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 21: _t->updateEnableTrigByKbd((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 22: _t->updateTrigLegato((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 23: _t->updateNRep((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 24: _t->updateCcnumber((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 25: _t->updateDeferChanges((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 26: _t->setMuted((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 27: { bool _r = _t->getReverse();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ModuleWidget* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ModuleWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ModuleWidget::removeModule)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (ModuleWidget::*)(const QString & , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ModuleWidget::dockRename)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (ModuleWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ModuleWidget::cloneModule)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject ModuleWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_ModuleWidget.data,
    qt_meta_data_ModuleWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void ModuleWidget::removeModule()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void ModuleWidget::dockRename(const QString & _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, 1, _a);
}

// SIGNAL 2
void ModuleWidget::cloneModule()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
