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

#include "../../../../../qt3d/src/extras/geometries/qconegeometryview.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qconegeometryview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.2. 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_ZN10Qt3DExtras17QConeGeometryViewE_t {};
} // unnamed namespace

template <> constexpr inline auto Qt3DExtras::QConeGeometryView::qt_create_metaobjectdata<qt_meta_tag_ZN10Qt3DExtras17QConeGeometryViewE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Qt3DExtras::QConeGeometryView",
        "hasTopEndcapChanged",
        "",
        "hasTopEndcap",
        "hasBottomEndcapChanged",
        "hasBottomEndcap",
        "topRadiusChanged",
        "topRadius",
        "bottomRadiusChanged",
        "bottomRadius",
        "ringsChanged",
        "rings",
        "slicesChanged",
        "slices",
        "lengthChanged",
        "length",
        "setHasTopEndcap",
        "setHasBottomEndcap",
        "setTopRadius",
        "setBottomRadius",
        "setRings",
        "setSlices",
        "setLength"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'hasTopEndcapChanged'
        QtMocHelpers::SignalData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'hasBottomEndcapChanged'
        QtMocHelpers::SignalData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Signal 'topRadiusChanged'
        QtMocHelpers::SignalData<void(float)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 7 },
        }}),
        // Signal 'bottomRadiusChanged'
        QtMocHelpers::SignalData<void(float)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 9 },
        }}),
        // Signal 'ringsChanged'
        QtMocHelpers::SignalData<void(int)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 11 },
        }}),
        // Signal 'slicesChanged'
        QtMocHelpers::SignalData<void(int)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 13 },
        }}),
        // Signal 'lengthChanged'
        QtMocHelpers::SignalData<void(float)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 15 },
        }}),
        // Slot 'setHasTopEndcap'
        QtMocHelpers::SlotData<void(bool)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Slot 'setHasBottomEndcap'
        QtMocHelpers::SlotData<void(bool)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Slot 'setTopRadius'
        QtMocHelpers::SlotData<void(float)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 7 },
        }}),
        // Slot 'setBottomRadius'
        QtMocHelpers::SlotData<void(float)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 9 },
        }}),
        // Slot 'setRings'
        QtMocHelpers::SlotData<void(int)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 11 },
        }}),
        // Slot 'setSlices'
        QtMocHelpers::SlotData<void(int)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 13 },
        }}),
        // Slot 'setLength'
        QtMocHelpers::SlotData<void(float)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 15 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'rings'
        QtMocHelpers::PropertyData<int>(11, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'slices'
        QtMocHelpers::PropertyData<int>(13, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 5),
        // property 'hasTopEndcap'
        QtMocHelpers::PropertyData<bool>(3, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'hasBottomEndcap'
        QtMocHelpers::PropertyData<bool>(5, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'topRadius'
        QtMocHelpers::PropertyData<float>(7, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'bottomRadius'
        QtMocHelpers::PropertyData<float>(9, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'length'
        QtMocHelpers::PropertyData<float>(15, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 6),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<QConeGeometryView, qt_meta_tag_ZN10Qt3DExtras17QConeGeometryViewE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Qt3DExtras::QConeGeometryView::staticMetaObject = { {
    QMetaObject::SuperData::link<Qt3DCore::QGeometryView::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DExtras17QConeGeometryViewE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DExtras17QConeGeometryViewE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10Qt3DExtras17QConeGeometryViewE_t>.metaTypes,
    nullptr
} };

void Qt3DExtras::QConeGeometryView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QConeGeometryView *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->hasTopEndcapChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->hasBottomEndcapChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->topRadiusChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 3: _t->bottomRadiusChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 4: _t->ringsChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->slicesChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 6: _t->lengthChanged((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 7: _t->setHasTopEndcap((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 8: _t->setHasBottomEndcap((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->setTopRadius((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 10: _t->setBottomRadius((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 11: _t->setRings((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 12: _t->setSlices((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 13: _t->setLength((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QConeGeometryView::*)(bool )>(_a, &QConeGeometryView::hasTopEndcapChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QConeGeometryView::*)(bool )>(_a, &QConeGeometryView::hasBottomEndcapChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QConeGeometryView::*)(float )>(_a, &QConeGeometryView::topRadiusChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QConeGeometryView::*)(float )>(_a, &QConeGeometryView::bottomRadiusChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (QConeGeometryView::*)(int )>(_a, &QConeGeometryView::ringsChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (QConeGeometryView::*)(int )>(_a, &QConeGeometryView::slicesChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (QConeGeometryView::*)(float )>(_a, &QConeGeometryView::lengthChanged, 6))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = _t->rings(); break;
        case 1: *reinterpret_cast<int*>(_v) = _t->slices(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->hasTopEndcap(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->hasBottomEndcap(); break;
        case 4: *reinterpret_cast<float*>(_v) = _t->topRadius(); break;
        case 5: *reinterpret_cast<float*>(_v) = _t->bottomRadius(); break;
        case 6: *reinterpret_cast<float*>(_v) = _t->length(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setRings(*reinterpret_cast<int*>(_v)); break;
        case 1: _t->setSlices(*reinterpret_cast<int*>(_v)); break;
        case 2: _t->setHasTopEndcap(*reinterpret_cast<bool*>(_v)); break;
        case 3: _t->setHasBottomEndcap(*reinterpret_cast<bool*>(_v)); break;
        case 4: _t->setTopRadius(*reinterpret_cast<float*>(_v)); break;
        case 5: _t->setBottomRadius(*reinterpret_cast<float*>(_v)); break;
        case 6: _t->setLength(*reinterpret_cast<float*>(_v)); break;
        default: break;
        }
    }
}

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

void *Qt3DExtras::QConeGeometryView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DExtras17QConeGeometryViewE_t>.strings))
        return static_cast<void*>(this);
    return Qt3DCore::QGeometryView::qt_metacast(_clname);
}

int Qt3DExtras::QConeGeometryView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Qt3DCore::QGeometryView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 14;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void Qt3DExtras::QConeGeometryView::hasTopEndcapChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Qt3DExtras::QConeGeometryView::hasBottomEndcapChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Qt3DExtras::QConeGeometryView::topRadiusChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Qt3DExtras::QConeGeometryView::bottomRadiusChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Qt3DExtras::QConeGeometryView::ringsChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Qt3DExtras::QConeGeometryView::slicesChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void Qt3DExtras::QConeGeometryView::lengthChanged(float _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}
QT_WARNING_POP
