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

#include "../../../../../SuperCollider-3.14.1-Source/QtCollider/widgets/QcMultiSlider.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'QcMultiSlider.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN13QcMultiSliderE_t {};
} // unnamed namespace

template <> constexpr inline auto QcMultiSlider::qt_create_metaobjectdata<qt_meta_tag_ZN13QcMultiSliderE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "QcMultiSlider",
        "modified",
        "",
        "interacted",
        "action",
        "metaAction",
        "doAction",
        "sliderCount",
        "values",
        "QList<double>",
        "reference",
        "value",
        "step",
        "index",
        "selectionSize",
        "orientation",
        "Qt::Orientation",
        "elastic",
        "indexThumbSize",
        "valueThumbSize",
        "gap",
        "drawLines",
        "drawRects",
        "isFilled",
        "highlight",
        "editable",
        "startIndex",
        "background",
        "QColor",
        "fillColor",
        "strokeColor",
        "focusColor"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'modified'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'interacted'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'action'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'metaAction'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doAction'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'sliderCount'
        QtMocHelpers::PropertyData<int>(7, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'values'
        QtMocHelpers::PropertyData<QList<double>>(8, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'reference'
        QtMocHelpers::PropertyData<QList<double>>(10, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'value'
        QtMocHelpers::PropertyData<double>(11, QMetaType::Double, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'step'
        QtMocHelpers::PropertyData<double>(12, QMetaType::Double, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'index'
        QtMocHelpers::PropertyData<int>(13, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'selectionSize'
        QtMocHelpers::PropertyData<int>(14, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'orientation'
        QtMocHelpers::PropertyData<Qt::Orientation>(15, 0x80000000 | 16, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'elastic'
        QtMocHelpers::PropertyData<bool>(17, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'indexThumbSize'
        QtMocHelpers::PropertyData<int>(18, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'valueThumbSize'
        QtMocHelpers::PropertyData<float>(19, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'gap'
        QtMocHelpers::PropertyData<int>(20, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'drawLines'
        QtMocHelpers::PropertyData<bool>(21, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'drawRects'
        QtMocHelpers::PropertyData<bool>(22, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'isFilled'
        QtMocHelpers::PropertyData<bool>(23, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'highlight'
        QtMocHelpers::PropertyData<bool>(24, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'editable'
        QtMocHelpers::PropertyData<bool>(25, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'startIndex'
        QtMocHelpers::PropertyData<int>(26, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'background'
        QtMocHelpers::PropertyData<QColor>(27, 0x80000000 | 28, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'fillColor'
        QtMocHelpers::PropertyData<QColor>(29, 0x80000000 | 28, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'strokeColor'
        QtMocHelpers::PropertyData<QColor>(30, 0x80000000 | 28, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'focusColor'
        QtMocHelpers::PropertyData<QColor>(31, 0x80000000 | 28, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<QcMultiSlider, qt_meta_tag_ZN13QcMultiSliderE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject QcMultiSlider::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13QcMultiSliderE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13QcMultiSliderE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13QcMultiSliderE_t>.metaTypes,
    nullptr
} };

void QcMultiSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QcMultiSlider *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->modified(); break;
        case 1: _t->interacted(); break;
        case 2: _t->action(); break;
        case 3: _t->metaAction(); break;
        case 4: _t->doAction(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QcMultiSlider::*)()>(_a, &QcMultiSlider::modified, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QcMultiSlider::*)()>(_a, &QcMultiSlider::interacted, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QcMultiSlider::*)()>(_a, &QcMultiSlider::action, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QcMultiSlider::*)()>(_a, &QcMultiSlider::metaAction, 3))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<double> >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = _t->sliderCount(); break;
        case 1: *reinterpret_cast<QList<double>*>(_v) = _t->values(); break;
        case 2: *reinterpret_cast<QList<double>*>(_v) = _t->reference(); break;
        case 3: *reinterpret_cast<double*>(_v) = _t->value(); break;
        case 4: *reinterpret_cast<double*>(_v) = _t->step(); break;
        case 5: *reinterpret_cast<int*>(_v) = _t->index(); break;
        case 6: *reinterpret_cast<int*>(_v) = _t->selectionSize(); break;
        case 7: *reinterpret_cast<Qt::Orientation*>(_v) = _t->orientation(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->dummyBool(); break;
        case 9: *reinterpret_cast<int*>(_v) = _t->dummyFloat(); break;
        case 10: *reinterpret_cast<float*>(_v) = _t->dummyFloat(); break;
        case 11: *reinterpret_cast<int*>(_v) = _t->dummyInt(); break;
        case 12: *reinterpret_cast<bool*>(_v) = _t->dummyBool(); break;
        case 13: *reinterpret_cast<bool*>(_v) = _t->dummyBool(); break;
        case 14: *reinterpret_cast<bool*>(_v) = _t->dummyBool(); break;
        case 15: *reinterpret_cast<bool*>(_v) = _t->dummyBool(); break;
        case 16: *reinterpret_cast<bool*>(_v) = _t->dummyBool(); break;
        case 17: *reinterpret_cast<int*>(_v) = _t->dummyInt(); break;
        case 18: *reinterpret_cast<QColor*>(_v) = _t->background(); break;
        case 19: *reinterpret_cast<QColor*>(_v) = _t->fillColor(); break;
        case 20: *reinterpret_cast<QColor*>(_v) = _t->strokeColor(); break;
        case 21: *reinterpret_cast<QColor*>(_v) = _t->focusColor(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSliderCount(*reinterpret_cast<int*>(_v)); break;
        case 1: _t->setValues(*reinterpret_cast<QList<double>*>(_v)); break;
        case 2: _t->setReference(*reinterpret_cast<QList<double>*>(_v)); break;
        case 3: _t->setValue(*reinterpret_cast<double*>(_v)); break;
        case 4: _t->setStep(*reinterpret_cast<double*>(_v)); break;
        case 5: _t->setIndex(*reinterpret_cast<int*>(_v)); break;
        case 6: _t->setSelectionSize(*reinterpret_cast<int*>(_v)); break;
        case 7: _t->setOrientation(*reinterpret_cast<Qt::Orientation*>(_v)); break;
        case 8: _t->setElastic(*reinterpret_cast<bool*>(_v)); break;
        case 9: _t->setIndexThumbSize(*reinterpret_cast<int*>(_v)); break;
        case 10: _t->setValueThumbSize(*reinterpret_cast<float*>(_v)); break;
        case 11: _t->setGap(*reinterpret_cast<int*>(_v)); break;
        case 12: _t->setDrawLines(*reinterpret_cast<bool*>(_v)); break;
        case 13: _t->setDrawRects(*reinterpret_cast<bool*>(_v)); break;
        case 14: _t->setIsFilled(*reinterpret_cast<bool*>(_v)); break;
        case 15: _t->setHighlight(*reinterpret_cast<bool*>(_v)); break;
        case 16: _t->setEditable(*reinterpret_cast<bool*>(_v)); break;
        case 17: _t->setStartIndex(*reinterpret_cast<int*>(_v)); break;
        case 18: _t->setBackground(*reinterpret_cast<QColor*>(_v)); break;
        case 19: _t->setFillColor(*reinterpret_cast<QColor*>(_v)); break;
        case 20: _t->setStrokeColor(*reinterpret_cast<QColor*>(_v)); break;
        case 21: _t->setFocusColor(*reinterpret_cast<QColor*>(_v)); break;
        default: break;
        }
    }
}

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

void *QcMultiSlider::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13QcMultiSliderE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QcHelper"))
        return static_cast< QcHelper*>(this);
    if (!strcmp(_clname, "QtCollider::Style::Client"))
        return static_cast< QtCollider::Style::Client*>(this);
    return QWidget::qt_metacast(_clname);
}

int QcMultiSlider::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 < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 5;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    }
    return _id;
}

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

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

// SIGNAL 2
void QcMultiSlider::action()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void QcMultiSlider::metaAction()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
