/****************************************************************************
** Meta object code from reading C++ file 'arpwidget.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 "arpwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'arpwidget.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_ArpWidget_t {
    QByteArrayData data[31];
    char stringdata0[435];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ArpWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ArpWidget_t qt_meta_stringdata_ArpWidget = {
    {
QT_MOC_LITERAL(0, 0, 9), // "ArpWidget"
QT_MOC_LITERAL(1, 10, 14), // "presetsChanged"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 5), // "pname"
QT_MOC_LITERAL(4, 32, 7), // "pattern"
QT_MOC_LITERAL(5, 40, 5), // "index"
QT_MOC_LITERAL(6, 46, 16), // "updateOctaveMode"
QT_MOC_LITERAL(7, 63, 5), // "value"
QT_MOC_LITERAL(8, 69, 15), // "updateOctaveLow"
QT_MOC_LITERAL(9, 85, 16), // "updateOctaveHigh"
QT_MOC_LITERAL(10, 102, 23), // "updateRandomVelocityAmp"
QT_MOC_LITERAL(11, 126, 19), // "updateRandomTickAmp"
QT_MOC_LITERAL(12, 146, 21), // "updateRandomLengthAmp"
QT_MOC_LITERAL(13, 168, 16), // "updateAttackTime"
QT_MOC_LITERAL(14, 185, 17), // "updateReleaseTime"
QT_MOC_LITERAL(15, 203, 16), // "checkIfRandomSet"
QT_MOC_LITERAL(16, 220, 18), // "checkIfEnvelopeSet"
QT_MOC_LITERAL(17, 239, 10), // "updateText"
QT_MOC_LITERAL(18, 250, 7), // "newtext"
QT_MOC_LITERAL(19, 258, 19), // "updateRepeatPattern"
QT_MOC_LITERAL(20, 278, 19), // "selectPatternPreset"
QT_MOC_LITERAL(21, 298, 20), // "updatePatternPresets"
QT_MOC_LITERAL(22, 319, 1), // "n"
QT_MOC_LITERAL(23, 321, 1), // "p"
QT_MOC_LITERAL(24, 323, 18), // "openTextEditWindow"
QT_MOC_LITERAL(25, 342, 2), // "on"
QT_MOC_LITERAL(26, 345, 19), // "storeCurrentPattern"
QT_MOC_LITERAL(27, 365, 20), // "removeCurrentPattern"
QT_MOC_LITERAL(28, 386, 16), // "setRandomVisible"
QT_MOC_LITERAL(29, 403, 18), // "setEnvelopeVisible"
QT_MOC_LITERAL(30, 422, 12) // "setLatchMode"

    },
    "ArpWidget\0presetsChanged\0\0pname\0pattern\0"
    "index\0updateOctaveMode\0value\0"
    "updateOctaveLow\0updateOctaveHigh\0"
    "updateRandomVelocityAmp\0updateRandomTickAmp\0"
    "updateRandomLengthAmp\0updateAttackTime\0"
    "updateReleaseTime\0checkIfRandomSet\0"
    "checkIfEnvelopeSet\0updateText\0newtext\0"
    "updateRepeatPattern\0selectPatternPreset\0"
    "updatePatternPresets\0n\0p\0openTextEditWindow\0"
    "on\0storeCurrentPattern\0removeCurrentPattern\0"
    "setRandomVisible\0setEnvelopeVisible\0"
    "setLatchMode"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ArpWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,  119,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,  126,    2, 0x0a /* Public */,
       8,    1,  129,    2, 0x0a /* Public */,
       9,    1,  132,    2, 0x0a /* Public */,
      10,    1,  135,    2, 0x0a /* Public */,
      11,    1,  138,    2, 0x0a /* Public */,
      12,    1,  141,    2, 0x0a /* Public */,
      13,    1,  144,    2, 0x0a /* Public */,
      14,    1,  147,    2, 0x0a /* Public */,
      15,    0,  150,    2, 0x0a /* Public */,
      16,    0,  151,    2, 0x0a /* Public */,
      17,    1,  152,    2, 0x0a /* Public */,
      19,    1,  155,    2, 0x0a /* Public */,
      20,    1,  158,    2, 0x0a /* Public */,
      21,    3,  161,    2, 0x0a /* Public */,
      24,    1,  168,    2, 0x0a /* Public */,
      26,    0,  171,    2, 0x0a /* Public */,
      27,    0,  172,    2, 0x0a /* Public */,
      28,    1,  173,    2, 0x0a /* Public */,
      29,    1,  176,    2, 0x0a /* Public */,
      30,    1,  179,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   18,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Int,   22,   23,    5,
    QMetaType::Void, QMetaType::Bool,   25,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   25,
    QMetaType::Void, QMetaType::Bool,   25,
    QMetaType::Void, QMetaType::Bool,    2,

       0        // eod
};

void ArpWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ArpWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->presetsChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 1: _t->updateOctaveMode((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->updateOctaveLow((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->updateOctaveHigh((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->updateRandomVelocityAmp((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->updateRandomTickAmp((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->updateRandomLengthAmp((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->updateAttackTime((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->updateReleaseTime((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->checkIfRandomSet(); break;
        case 10: _t->checkIfEnvelopeSet(); break;
        case 11: _t->updateText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->updateRepeatPattern((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->selectPatternPreset((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->updatePatternPresets((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 15: _t->openTextEditWindow((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->storeCurrentPattern(); break;
        case 17: _t->removeCurrentPattern(); break;
        case 18: _t->setRandomVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 19: _t->setEnvelopeVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 20: _t->setLatchMode((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ArpWidget::*)(const QString & , const QString & , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ArpWidget::presetsChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject ArpWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<ModuleWidget::staticMetaObject>(),
    qt_meta_stringdata_ArpWidget.data,
    qt_meta_data_ArpWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void ArpWidget::presetsChanged(const QString & _t1, const QString & _t2, int _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
