/****************************************************************************
** Meta object code from reading C++ file 'compact_knob.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 "../../../muse-4.2.1/src/muse/components/compact_knob.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'compact_knob.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_MusEGui__CompactKnob_t {
    QByteArrayData data[33];
    char stringdata0[336];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MusEGui__CompactKnob_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MusEGui__CompactKnob_t qt_meta_stringdata_MusEGui__CompactKnob = {
    {
QT_MOC_LITERAL(0, 0, 20), // "MusEGui::CompactKnob"
QT_MOC_LITERAL(1, 21, 17), // "valueStateChanged"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 5), // "value"
QT_MOC_LITERAL(4, 46, 3), // "off"
QT_MOC_LITERAL(5, 50, 2), // "id"
QT_MOC_LITERAL(6, 53, 10), // "scrollMode"
QT_MOC_LITERAL(7, 64, 19), // "editorReturnPressed"
QT_MOC_LITERAL(8, 84, 19), // "editorEscapePressed"
QT_MOC_LITERAL(9, 104, 7), // "margins"
QT_MOC_LITERAL(10, 112, 7), // "xMargin"
QT_MOC_LITERAL(11, 120, 7), // "yMargin"
QT_MOC_LITERAL(12, 128, 9), // "knobWidth"
QT_MOC_LITERAL(13, 138, 10), // "totalAngle"
QT_MOC_LITERAL(14, 149, 11), // "borderWidth"
QT_MOC_LITERAL(15, 161, 9), // "faceColor"
QT_MOC_LITERAL(16, 171, 12), // "altFaceColor"
QT_MOC_LITERAL(17, 184, 10), // "shinyColor"
QT_MOC_LITERAL(18, 195, 11), // "markerColor"
QT_MOC_LITERAL(19, 207, 11), // "activeColor"
QT_MOC_LITERAL(20, 219, 9), // "labelText"
QT_MOC_LITERAL(21, 229, 9), // "valPrefix"
QT_MOC_LITERAL(22, 239, 9), // "valSuffix"
QT_MOC_LITERAL(23, 249, 16), // "specialValueText"
QT_MOC_LITERAL(24, 266, 7), // "offText"
QT_MOC_LITERAL(25, 274, 13), // "valueDecimals"
QT_MOC_LITERAL(26, 288, 7), // "style3d"
QT_MOC_LITERAL(27, 296, 6), // "radius"
QT_MOC_LITERAL(28, 303, 6), // "symbol"
QT_MOC_LITERAL(29, 310, 6), // "Symbol"
QT_MOC_LITERAL(30, 317, 9), // "drawChord"
QT_MOC_LITERAL(31, 327, 4), // "Line"
QT_MOC_LITERAL(32, 332, 3) // "Dot"

    },
    "MusEGui::CompactKnob\0valueStateChanged\0"
    "\0value\0off\0id\0scrollMode\0editorReturnPressed\0"
    "editorEscapePressed\0margins\0xMargin\0"
    "yMargin\0knobWidth\0totalAngle\0borderWidth\0"
    "faceColor\0altFaceColor\0shinyColor\0"
    "markerColor\0activeColor\0labelText\0"
    "valPrefix\0valSuffix\0specialValueText\0"
    "offText\0valueDecimals\0style3d\0radius\0"
    "symbol\0Symbol\0drawChord\0Line\0Dot"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MusEGui__CompactKnob[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       7,    0,   38,    2, 0x08 /* Private */,
       8,    0,   39,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Double, QMetaType::Bool, QMetaType::Int, QMetaType::Int,    3,    4,    5,    6,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
       9, QMetaType::QSize, 0x00095103,
      10, QMetaType::Int, 0x00095103,
      11, QMetaType::Int, 0x00095103,
      12, QMetaType::Int, 0x00095103,
      13, QMetaType::Double, 0x00095103,
      14, QMetaType::Int, 0x00095103,
      15, QMetaType::QColor, 0x00095103,
      16, QMetaType::QColor, 0x00095103,
      17, QMetaType::QColor, 0x00095103,
      18, QMetaType::QColor, 0x00095103,
      19, QMetaType::QColor, 0x00095103,
      20, QMetaType::QString, 0x00095103,
      21, QMetaType::QString, 0x00095103,
      22, QMetaType::QString, 0x00095103,
      23, QMetaType::QString, 0x00095103,
      24, QMetaType::QString, 0x00095103,
      25, QMetaType::Int, 0x00095103,
      26, QMetaType::Bool, 0x00095103,
      27, QMetaType::Int, 0x00095103,
      28, 0x80000000 | 29, 0x0009510b,
      30, QMetaType::Bool, 0x00095103,

 // enums: name, alias, flags, count, data
      29,   29, 0x0,    2,  108,

 // enum data: key, value
      31, uint(MusEGui::CompactKnob::Line),
      32, uint(MusEGui::CompactKnob::Dot),

       0        // eod
};

void MusEGui::CompactKnob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<CompactKnob *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->valueStateChanged((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 1: _t->editorReturnPressed(); break;
        case 2: _t->editorEscapePressed(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (CompactKnob::*)(double , bool , int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompactKnob::valueStateChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<CompactKnob *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QSize*>(_v) = _t->margins(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->xMargin(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->yMargin(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->knobWidth(); break;
        case 4: *reinterpret_cast< double*>(_v) = _t->totalAngle(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->borderWidth(); break;
        case 6: *reinterpret_cast< QColor*>(_v) = _t->faceColor(); break;
        case 7: *reinterpret_cast< QColor*>(_v) = _t->altFaceColor(); break;
        case 8: *reinterpret_cast< QColor*>(_v) = _t->shinyColor(); break;
        case 9: *reinterpret_cast< QColor*>(_v) = _t->markerColor(); break;
        case 10: *reinterpret_cast< QColor*>(_v) = _t->activeColor(); break;
        case 11: *reinterpret_cast< QString*>(_v) = _t->labelText(); break;
        case 12: *reinterpret_cast< QString*>(_v) = _t->valPrefix(); break;
        case 13: *reinterpret_cast< QString*>(_v) = _t->valSuffix(); break;
        case 14: *reinterpret_cast< QString*>(_v) = _t->specialValueText(); break;
        case 15: *reinterpret_cast< QString*>(_v) = _t->offText(); break;
        case 16: *reinterpret_cast< int*>(_v) = _t->valueDecimals(); break;
        case 17: *reinterpret_cast< bool*>(_v) = _t->style3d(); break;
        case 18: *reinterpret_cast< int*>(_v) = _t->radius(); break;
        case 19: *reinterpret_cast< Symbol*>(_v) = _t->symbol(); break;
        case 20: *reinterpret_cast< bool*>(_v) = _t->drawChord(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<CompactKnob *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMargins(*reinterpret_cast< QSize*>(_v)); break;
        case 1: _t->setXMargin(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setYMargin(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setKnobWidth(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setTotalAngle(*reinterpret_cast< double*>(_v)); break;
        case 5: _t->setBorderWidth(*reinterpret_cast< int*>(_v)); break;
        case 6: _t->setFaceColor(*reinterpret_cast< QColor*>(_v)); break;
        case 7: _t->setAltFaceColor(*reinterpret_cast< QColor*>(_v)); break;
        case 8: _t->setShinyColor(*reinterpret_cast< QColor*>(_v)); break;
        case 9: _t->setMarkerColor(*reinterpret_cast< QColor*>(_v)); break;
        case 10: _t->setActiveColor(*reinterpret_cast< QColor*>(_v)); break;
        case 11: _t->setLabelText(*reinterpret_cast< QString*>(_v)); break;
        case 12: _t->setValPrefix(*reinterpret_cast< QString*>(_v)); break;
        case 13: _t->setValSuffix(*reinterpret_cast< QString*>(_v)); break;
        case 14: _t->setSpecialValueText(*reinterpret_cast< QString*>(_v)); break;
        case 15: _t->setOffText(*reinterpret_cast< QString*>(_v)); break;
        case 16: _t->setValueDecimals(*reinterpret_cast< int*>(_v)); break;
        case 17: _t->setStyle3d(*reinterpret_cast< bool*>(_v)); break;
        case 18: _t->setRadius(*reinterpret_cast< int*>(_v)); break;
        case 19: _t->setSymbol(*reinterpret_cast< Symbol*>(_v)); break;
        case 20: _t->setDrawChord(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject MusEGui::CompactKnob::staticMetaObject = { {
    QMetaObject::SuperData::link<SliderBase::staticMetaObject>(),
    qt_meta_stringdata_MusEGui__CompactKnob.data,
    qt_meta_data_MusEGui__CompactKnob,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *MusEGui::CompactKnob::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_MusEGui__CompactKnob.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ScaleIf"))
        return static_cast< ScaleIf*>(this);
    return SliderBase::qt_metacast(_clname);
}

int MusEGui::CompactKnob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = SliderBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
#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 -= 21;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 21;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 21;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 21;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 21;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 21;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void MusEGui::CompactKnob::valueStateChanged(double _t1, bool _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, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
