/****************************************************************************
** Meta object code from reading C++ file 'qutewidget.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 "../../src/qutewidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qutewidget.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_QuteWidget_t {
    QByteArrayData data[22];
    char stringdata0[268];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QuteWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QuteWidget_t qt_meta_stringdata_QuteWidget = {
    {
QT_MOC_LITERAL(0, 0, 10), // "QuteWidget"
QT_MOC_LITERAL(1, 11, 8), // "newValue"
QT_MOC_LITERAL(2, 20, 0), // ""
QT_MOC_LITERAL(3, 21, 21), // "QPair<QString,double>"
QT_MOC_LITERAL(4, 43, 12), // "channelValue"
QT_MOC_LITERAL(5, 56, 22), // "QPair<QString,QString>"
QT_MOC_LITERAL(6, 79, 13), // "widgetChanged"
QT_MOC_LITERAL(7, 93, 11), // "QuteWidget*"
QT_MOC_LITERAL(8, 105, 6), // "widget"
QT_MOC_LITERAL(9, 112, 16), // "deleteThisWidget"
QT_MOC_LITERAL(10, 129, 10), // "thisWidget"
QT_MOC_LITERAL(11, 140, 18), // "propertiesAccepted"
QT_MOC_LITERAL(12, 159, 13), // "showMidiLearn"
QT_MOC_LITERAL(13, 173, 14), // "addChn_kSignal"
QT_MOC_LITERAL(14, 188, 7), // "channel"
QT_MOC_LITERAL(15, 196, 9), // "popUpMenu"
QT_MOC_LITERAL(16, 206, 3), // "pos"
QT_MOC_LITERAL(17, 210, 14), // "openProperties"
QT_MOC_LITERAL(18, 225, 5), // "apply"
QT_MOC_LITERAL(19, 231, 12), // "deleteWidget"
QT_MOC_LITERAL(20, 244, 14), // "openMidiDialog"
QT_MOC_LITERAL(21, 259, 8) // "addChn_k"

    },
    "QuteWidget\0newValue\0\0QPair<QString,double>\0"
    "channelValue\0QPair<QString,QString>\0"
    "widgetChanged\0QuteWidget*\0widget\0"
    "deleteThisWidget\0thisWidget\0"
    "propertiesAccepted\0showMidiLearn\0"
    "addChn_kSignal\0channel\0popUpMenu\0pos\0"
    "openProperties\0apply\0deleteWidget\0"
    "openMidiDialog\0addChn_k"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QuteWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       1,    1,   82,    2, 0x06 /* Public */,
       6,    1,   85,    2, 0x06 /* Public */,
       9,    1,   88,    2, 0x06 /* Public */,
      11,    0,   91,    2, 0x06 /* Public */,
      12,    1,   92,    2, 0x06 /* Public */,
      13,    1,   95,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,   98,    2, 0x0a /* Public */,
      17,    0,  101,    2, 0x0a /* Public */,
      18,    0,  102,    2, 0x09 /* Protected */,
      19,    0,  103,    2, 0x09 /* Protected */,
      20,    0,  104,    2, 0x09 /* Protected */,
      21,    0,  105,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 5,    4,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,   10,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, QMetaType::QString,   14,

 // slots: parameters
    QMetaType::Void, QMetaType::QPoint,   16,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void QuteWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QuteWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->newValue((*reinterpret_cast< QPair<QString,double>(*)>(_a[1]))); break;
        case 1: _t->newValue((*reinterpret_cast< QPair<QString,QString>(*)>(_a[1]))); break;
        case 2: _t->widgetChanged((*reinterpret_cast< QuteWidget*(*)>(_a[1]))); break;
        case 3: _t->deleteThisWidget((*reinterpret_cast< QuteWidget*(*)>(_a[1]))); break;
        case 4: _t->propertiesAccepted(); break;
        case 5: _t->showMidiLearn((*reinterpret_cast< QuteWidget*(*)>(_a[1]))); break;
        case 6: _t->addChn_kSignal((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 7: _t->popUpMenu((*reinterpret_cast< QPoint(*)>(_a[1]))); break;
        case 8: _t->openProperties(); break;
        case 9: _t->apply(); break;
        case 10: _t->deleteWidget(); break;
        case 11: _t->openMidiDialog(); break;
        case 12: _t->addChn_k(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QuteWidget* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QuteWidget* >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QuteWidget* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QuteWidget::*)(QPair<QString,double> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QuteWidget::newValue)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QuteWidget::*)(QPair<QString,QString> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QuteWidget::newValue)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QuteWidget::*)(QuteWidget * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QuteWidget::widgetChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QuteWidget::*)(QuteWidget * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QuteWidget::deleteThisWidget)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QuteWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QuteWidget::propertiesAccepted)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QuteWidget::*)(QuteWidget * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QuteWidget::showMidiLearn)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QuteWidget::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QuteWidget::addChn_kSignal)) {
                *result = 6;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QuteWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_QuteWidget.data,
    qt_meta_data_QuteWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void QuteWidget::newValue(QPair<QString,double> _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QuteWidget::newValue(QPair<QString,QString> _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

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

// SIGNAL 4
void QuteWidget::propertiesAccepted()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void QuteWidget::showMidiLearn(QuteWidget * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void QuteWidget::addChn_kSignal(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
