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

#include <memory>
#include "../../sonic-visualiser-4.5/svgui/widgets/Thumbwheel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Thumbwheel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.5. 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_Thumbwheel_t {
    QByteArrayData data[28];
    char stringdata0[286];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Thumbwheel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Thumbwheel_t qt_meta_stringdata_Thumbwheel = {
    {
QT_MOC_LITERAL(0, 0, 10), // "Thumbwheel"
QT_MOC_LITERAL(1, 11, 12), // "valueChanged"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 12), // "mouseEntered"
QT_MOC_LITERAL(4, 38, 9), // "mouseLeft"
QT_MOC_LITERAL(5, 48, 15), // "setMinimumValue"
QT_MOC_LITERAL(6, 64, 3), // "min"
QT_MOC_LITERAL(7, 68, 15), // "setMaximumValue"
QT_MOC_LITERAL(8, 84, 3), // "max"
QT_MOC_LITERAL(9, 88, 15), // "setDefaultValue"
QT_MOC_LITERAL(10, 104, 4), // "deft"
QT_MOC_LITERAL(11, 109, 8), // "setSpeed"
QT_MOC_LITERAL(12, 118, 5), // "speed"
QT_MOC_LITERAL(13, 124, 11), // "setTracking"
QT_MOC_LITERAL(14, 136, 8), // "tracking"
QT_MOC_LITERAL(15, 145, 12), // "setShowScale"
QT_MOC_LITERAL(16, 158, 4), // "show"
QT_MOC_LITERAL(17, 163, 8), // "setValue"
QT_MOC_LITERAL(18, 172, 5), // "value"
QT_MOC_LITERAL(19, 178, 14), // "setMappedValue"
QT_MOC_LITERAL(20, 193, 11), // "mappedValue"
QT_MOC_LITERAL(21, 205, 6), // "scroll"
QT_MOC_LITERAL(22, 212, 2), // "up"
QT_MOC_LITERAL(23, 215, 14), // "resetToDefault"
QT_MOC_LITERAL(24, 230, 4), // "edit"
QT_MOC_LITERAL(25, 235, 17), // "updateMappedValue"
QT_MOC_LITERAL(26, 253, 11), // "updateTitle"
QT_MOC_LITERAL(27, 265, 20) // "contextMenuRequested"

    },
    "Thumbwheel\0valueChanged\0\0mouseEntered\0"
    "mouseLeft\0setMinimumValue\0min\0"
    "setMaximumValue\0max\0setDefaultValue\0"
    "deft\0setSpeed\0speed\0setTracking\0"
    "tracking\0setShowScale\0show\0setValue\0"
    "value\0setMappedValue\0mappedValue\0"
    "scroll\0up\0resetToDefault\0edit\0"
    "updateMappedValue\0updateTitle\0"
    "contextMenuRequested"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Thumbwheel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   99,    2, 0x06 /* Public */,
       3,    0,  102,    2, 0x06 /* Public */,
       4,    0,  103,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,  104,    2, 0x0a /* Public */,
       7,    1,  107,    2, 0x0a /* Public */,
       9,    1,  110,    2, 0x0a /* Public */,
      11,    1,  113,    2, 0x0a /* Public */,
      13,    1,  116,    2, 0x0a /* Public */,
      15,    1,  119,    2, 0x0a /* Public */,
      17,    1,  122,    2, 0x0a /* Public */,
      19,    1,  125,    2, 0x0a /* Public */,
      21,    1,  128,    2, 0x0a /* Public */,
      23,    0,  131,    2, 0x0a /* Public */,
      24,    0,  132,    2, 0x0a /* Public */,
      25,    1,  133,    2, 0x09 /* Protected */,
      26,    0,  136,    2, 0x09 /* Protected */,
      27,    1,  137,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Float,   12,
    QMetaType::Void, QMetaType::Bool,   14,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void, QMetaType::Double,   20,
    QMetaType::Void, QMetaType::Bool,   22,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   18,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,    2,

       0        // eod
};

void Thumbwheel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Thumbwheel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->mouseEntered(); break;
        case 2: _t->mouseLeft(); break;
        case 3: _t->setMinimumValue((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->setMaximumValue((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->setDefaultValue((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->setSpeed((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 7: _t->setTracking((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->setShowScale((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->setValue((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->setMappedValue((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 11: _t->scroll((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->resetToDefault(); break;
        case 13: _t->edit(); break;
        case 14: _t->updateMappedValue((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->updateTitle(); break;
        case 16: _t->contextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Thumbwheel::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Thumbwheel::valueChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Thumbwheel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Thumbwheel::mouseEntered)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Thumbwheel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Thumbwheel::mouseLeft)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Thumbwheel::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_Thumbwheel.data,
    qt_meta_data_Thumbwheel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

// SIGNAL 1
void Thumbwheel::mouseEntered()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

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