/****************************************************************************
** Meta object code from reading C++ file 'lfowidget.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 "lfowidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'lfowidget.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_LfoWidget_t {
    QByteArrayData data[20];
    char stringdata0[209];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_LfoWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_LfoWidget_t qt_meta_stringdata_LfoWidget = {
    {
QT_MOC_LITERAL(0, 0, 9), // "LfoWidget"
QT_MOC_LITERAL(1, 10, 14), // "patternChanged"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 8), // "mouseSig"
QT_MOC_LITERAL(4, 35, 9), // "setRecord"
QT_MOC_LITERAL(5, 45, 2), // "on"
QT_MOC_LITERAL(6, 48, 14), // "updateWaveForm"
QT_MOC_LITERAL(7, 63, 9), // "updateRes"
QT_MOC_LITERAL(8, 73, 10), // "updateSize"
QT_MOC_LITERAL(9, 84, 10), // "updateLoop"
QT_MOC_LITERAL(10, 95, 10), // "updateFreq"
QT_MOC_LITERAL(11, 106, 3), // "val"
QT_MOC_LITERAL(12, 110, 9), // "updateAmp"
QT_MOC_LITERAL(13, 120, 10), // "updateOffs"
QT_MOC_LITERAL(14, 131, 11), // "updatePhase"
QT_MOC_LITERAL(15, 143, 10), // "mouseEvent"
QT_MOC_LITERAL(16, 154, 7), // "pressed"
QT_MOC_LITERAL(17, 162, 10), // "mouseWheel"
QT_MOC_LITERAL(18, 173, 12), // "copyToCustom"
QT_MOC_LITERAL(19, 186, 22) // "updateFlipWaveVertical"

    },
    "LfoWidget\0patternChanged\0\0mouseSig\0"
    "setRecord\0on\0updateWaveForm\0updateRes\0"
    "updateSize\0updateLoop\0updateFreq\0val\0"
    "updateAmp\0updateOffs\0updatePhase\0"
    "mouseEvent\0pressed\0mouseWheel\0"
    "copyToCustom\0updateFlipWaveVertical"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_LfoWidget[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       4,    1,   99,    2, 0x0a /* Public */,
       6,    1,  102,    2, 0x0a /* Public */,
       7,    1,  105,    2, 0x0a /* Public */,
       8,    1,  108,    2, 0x0a /* Public */,
       9,    1,  111,    2, 0x0a /* Public */,
      10,    1,  114,    2, 0x0a /* Public */,
      12,    1,  117,    2, 0x0a /* Public */,
      13,    1,  120,    2, 0x0a /* Public */,
      14,    1,  123,    2, 0x0a /* Public */,
      15,    4,  126,    2, 0x0a /* Public */,
      17,    1,  135,    2, 0x0a /* Public */,
      18,    0,  138,    2, 0x0a /* Public */,
      19,    0,  139,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Double, QMetaType::Double, QMetaType::Int, QMetaType::Int,    2,    2,    2,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::Double, QMetaType::Double, QMetaType::Int, QMetaType::Int,    2,    2,    2,   16,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void LfoWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<LfoWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->patternChanged(); break;
        case 1: _t->mouseSig((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 2: _t->setRecord((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->updateWaveForm((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->updateRes((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->updateSize((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->updateLoop((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->updateFreq((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->updateAmp((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->updateOffs((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->updatePhase((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->mouseEvent((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 12: _t->mouseWheel((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->copyToCustom(); break;
        case 14: _t->updateFlipWaveVertical(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (LfoWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LfoWidget::patternChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (LfoWidget::*)(double , double , int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LfoWidget::mouseSig)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject LfoWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<ModuleWidget::staticMetaObject>(),
    qt_meta_stringdata_LfoWidget.data,
    qt_meta_data_LfoWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int LfoWidget::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 < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 15;
    }
    return _id;
}

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

// SIGNAL 1
void LfoWidget::mouseSig(double _t1, double _t2, int _t3, int _t4)
{
    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))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
