/****************************************************************************
** Meta object code from reading C++ file 'AudioDial.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/AudioDial.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'AudioDial.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_AudioDial_t {
    QByteArrayData data[22];
    char stringdata0[261];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AudioDial_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AudioDial_t qt_meta_stringdata_AudioDial = {
    {
QT_MOC_LITERAL(0, 0, 9), // "AudioDial"
QT_MOC_LITERAL(1, 10, 12), // "mouseEntered"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 9), // "mouseLeft"
QT_MOC_LITERAL(4, 34, 12), // "setKnobColor"
QT_MOC_LITERAL(5, 47, 5), // "color"
QT_MOC_LITERAL(6, 53, 13), // "setMeterColor"
QT_MOC_LITERAL(7, 67, 12), // "setMouseDial"
QT_MOC_LITERAL(8, 80, 9), // "mouseDial"
QT_MOC_LITERAL(9, 90, 15), // "setDefaultValue"
QT_MOC_LITERAL(10, 106, 12), // "defaultValue"
QT_MOC_LITERAL(11, 119, 8), // "setValue"
QT_MOC_LITERAL(12, 128, 5), // "value"
QT_MOC_LITERAL(13, 134, 21), // "setDefaultMappedValue"
QT_MOC_LITERAL(14, 156, 11), // "mappedValue"
QT_MOC_LITERAL(15, 168, 14), // "setMappedValue"
QT_MOC_LITERAL(16, 183, 12), // "setToDefault"
QT_MOC_LITERAL(17, 196, 4), // "edit"
QT_MOC_LITERAL(18, 201, 17), // "updateMappedValue"
QT_MOC_LITERAL(19, 219, 20), // "contextMenuRequested"
QT_MOC_LITERAL(20, 240, 9), // "knobColor"
QT_MOC_LITERAL(21, 250, 10) // "meterColor"

    },
    "AudioDial\0mouseEntered\0\0mouseLeft\0"
    "setKnobColor\0color\0setMeterColor\0"
    "setMouseDial\0mouseDial\0setDefaultValue\0"
    "defaultValue\0setValue\0value\0"
    "setDefaultMappedValue\0mappedValue\0"
    "setMappedValue\0setToDefault\0edit\0"
    "updateMappedValue\0contextMenuRequested\0"
    "knobColor\0meterColor"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AudioDial[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       4,    1,   81,    2, 0x0a /* Public */,
       6,    1,   84,    2, 0x0a /* Public */,
       7,    1,   87,    2, 0x0a /* Public */,
       9,    1,   90,    2, 0x0a /* Public */,
      11,    1,   93,    2, 0x0a /* Public */,
      13,    1,   96,    2, 0x0a /* Public */,
      15,    1,   99,    2, 0x0a /* Public */,
      16,    0,  102,    2, 0x0a /* Public */,
      17,    0,  103,    2, 0x0a /* Public */,
      18,    1,  104,    2, 0x09 /* Protected */,
      19,    1,  107,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QColor,    5,
    QMetaType::Void, QMetaType::QColor,    5,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, QMetaType::Double,   14,
    QMetaType::Void, QMetaType::Double,   14,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, QMetaType::QPoint,    2,

 // properties: name, type, flags
      20, QMetaType::QColor, 0x00095103,
      21, QMetaType::QColor, 0x00095103,
       8, QMetaType::Bool, 0x00095103,

       0        // eod
};

void AudioDial::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<AudioDial *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->mouseEntered(); break;
        case 1: _t->mouseLeft(); break;
        case 2: _t->setKnobColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 3: _t->setMeterColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 4: _t->setMouseDial((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->setDefaultValue((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->setValue((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->setDefaultMappedValue((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 8: _t->setMappedValue((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 9: _t->setToDefault(); break;
        case 10: _t->edit(); break;
        case 11: _t->updateMappedValue((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _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 (AudioDial::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioDial::mouseEntered)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (AudioDial::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AudioDial::mouseLeft)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<AudioDial *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QColor*>(_v) = _t->getKnobColor(); break;
        case 1: *reinterpret_cast< QColor*>(_v) = _t->getMeterColor(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->getMouseDial(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<AudioDial *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setKnobColor(*reinterpret_cast< QColor*>(_v)); break;
        case 1: _t->setMeterColor(*reinterpret_cast< QColor*>(_v)); break;
        case 2: _t->setMouseDial(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject AudioDial::staticMetaObject = { {
    QMetaObject::SuperData::link<QDial::staticMetaObject>(),
    qt_meta_stringdata_AudioDial.data,
    qt_meta_data_AudioDial,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int AudioDial::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDial::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)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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