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

#include "../../../../../qt3d/src/core/geometry/qgeometryview.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 'qgeometryview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.12.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_ZN8Qt3DCore13QGeometryViewE_t {};
} // unnamed namespace

template <> constexpr inline auto Qt3DCore::QGeometryView::qt_create_metaobjectdata<qt_meta_tag_ZN8Qt3DCore13QGeometryViewE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Qt3DCore::QGeometryView",
        "instanceCountChanged",
        "",
        "instanceCount",
        "vertexCountChanged",
        "vertexCount",
        "indexOffsetChanged",
        "indexOffset",
        "firstInstanceChanged",
        "firstInstance",
        "firstVertexChanged",
        "firstVertex",
        "indexBufferByteOffsetChanged",
        "offset",
        "restartIndexValueChanged",
        "restartIndexValue",
        "verticesPerPatchChanged",
        "verticesPerPatch",
        "primitiveRestartEnabledChanged",
        "primitiveRestartEnabled",
        "geometryChanged",
        "QGeometry*",
        "geometry",
        "primitiveTypeChanged",
        "PrimitiveType",
        "primitiveType",
        "setInstanceCount",
        "setVertexCount",
        "setIndexOffset",
        "setFirstInstance",
        "setFirstVertex",
        "setIndexBufferByteOffset",
        "setRestartIndexValue",
        "index",
        "setVerticesPerPatch",
        "setPrimitiveRestartEnabled",
        "enabled",
        "setGeometry",
        "setPrimitiveType",
        "indexBufferByteOffset",
        "Qt3DCore::QGeometry*",
        "Points",
        "Lines",
        "LineLoop",
        "LineStrip",
        "Triangles",
        "TriangleStrip",
        "TriangleFan",
        "LinesAdjacency",
        "TrianglesAdjacency",
        "LineStripAdjacency",
        "TriangleStripAdjacency",
        "Patches"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'instanceCountChanged'
        QtMocHelpers::SignalData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'vertexCountChanged'
        QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 5 },
        }}),
        // Signal 'indexOffsetChanged'
        QtMocHelpers::SignalData<void(int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 7 },
        }}),
        // Signal 'firstInstanceChanged'
        QtMocHelpers::SignalData<void(int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Signal 'firstVertexChanged'
        QtMocHelpers::SignalData<void(int)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 11 },
        }}),
        // Signal 'indexBufferByteOffsetChanged'
        QtMocHelpers::SignalData<void(int)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 13 },
        }}),
        // Signal 'restartIndexValueChanged'
        QtMocHelpers::SignalData<void(int)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 15 },
        }}),
        // Signal 'verticesPerPatchChanged'
        QtMocHelpers::SignalData<void(int)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 17 },
        }}),
        // Signal 'primitiveRestartEnabledChanged'
        QtMocHelpers::SignalData<void(bool)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 19 },
        }}),
        // Signal 'geometryChanged'
        QtMocHelpers::SignalData<void(QGeometry *)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 21, 22 },
        }}),
        // Signal 'primitiveTypeChanged'
        QtMocHelpers::SignalData<void(enum PrimitiveType)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 24, 25 },
        }}),
        // Slot 'setInstanceCount'
        QtMocHelpers::SlotData<void(int)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Slot 'setVertexCount'
        QtMocHelpers::SlotData<void(int)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 5 },
        }}),
        // Slot 'setIndexOffset'
        QtMocHelpers::SlotData<void(int)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 7 },
        }}),
        // Slot 'setFirstInstance'
        QtMocHelpers::SlotData<void(int)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Slot 'setFirstVertex'
        QtMocHelpers::SlotData<void(int)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 11 },
        }}),
        // Slot 'setIndexBufferByteOffset'
        QtMocHelpers::SlotData<void(int)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 13 },
        }}),
        // Slot 'setRestartIndexValue'
        QtMocHelpers::SlotData<void(int)>(32, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 33 },
        }}),
        // Slot 'setVerticesPerPatch'
        QtMocHelpers::SlotData<void(int)>(34, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 17 },
        }}),
        // Slot 'setPrimitiveRestartEnabled'
        QtMocHelpers::SlotData<void(bool)>(35, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 36 },
        }}),
        // Slot 'setGeometry'
        QtMocHelpers::SlotData<void(QGeometry *)>(37, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 21, 22 },
        }}),
        // Slot 'setPrimitiveType'
        QtMocHelpers::SlotData<void(enum PrimitiveType)>(38, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 24, 25 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'instanceCount'
        QtMocHelpers::PropertyData<int>(3, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'vertexCount'
        QtMocHelpers::PropertyData<int>(5, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'indexOffset'
        QtMocHelpers::PropertyData<int>(7, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'firstInstance'
        QtMocHelpers::PropertyData<int>(9, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'firstVertex'
        QtMocHelpers::PropertyData<int>(11, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'indexBufferByteOffset'
        QtMocHelpers::PropertyData<int>(39, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 5),
        // property 'restartIndexValue'
        QtMocHelpers::PropertyData<int>(15, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 6),
        // property 'verticesPerPatch'
        QtMocHelpers::PropertyData<int>(17, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 7),
        // property 'primitiveRestartEnabled'
        QtMocHelpers::PropertyData<bool>(19, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 8),
        // property 'geometry'
        QtMocHelpers::PropertyData<Qt3DCore::QGeometry*>(22, 0x80000000 | 40, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 9),
        // property 'primitiveType'
        QtMocHelpers::PropertyData<enum PrimitiveType>(25, 0x80000000 | 24, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 10),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'PrimitiveType'
        QtMocHelpers::EnumData<enum PrimitiveType>(24, 24, QMC::EnumFlags{}).add({
            {   41, PrimitiveType::Points },
            {   42, PrimitiveType::Lines },
            {   43, PrimitiveType::LineLoop },
            {   44, PrimitiveType::LineStrip },
            {   45, PrimitiveType::Triangles },
            {   46, PrimitiveType::TriangleStrip },
            {   47, PrimitiveType::TriangleFan },
            {   48, PrimitiveType::LinesAdjacency },
            {   49, PrimitiveType::TrianglesAdjacency },
            {   50, PrimitiveType::LineStripAdjacency },
            {   51, PrimitiveType::TriangleStripAdjacency },
            {   52, PrimitiveType::Patches },
        }),
    };
    return QtMocHelpers::metaObjectData<QGeometryView, qt_meta_tag_ZN8Qt3DCore13QGeometryViewE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Qt3DCore::QGeometryView::staticMetaObject = { {
    QMetaObject::SuperData::link<Qt3DCore::QNode::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Qt3DCore13QGeometryViewE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Qt3DCore13QGeometryViewE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8Qt3DCore13QGeometryViewE_t>.metaTypes,
    nullptr
} };

void Qt3DCore::QGeometryView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QGeometryView *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->instanceCountChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->vertexCountChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->indexOffsetChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->firstInstanceChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 4: _t->firstVertexChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->indexBufferByteOffsetChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 6: _t->restartIndexValueChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 7: _t->verticesPerPatchChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->primitiveRestartEnabledChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->geometryChanged((*reinterpret_cast<std::add_pointer_t<QGeometry*>>(_a[1]))); break;
        case 10: _t->primitiveTypeChanged((*reinterpret_cast<std::add_pointer_t<enum PrimitiveType>>(_a[1]))); break;
        case 11: _t->setInstanceCount((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 12: _t->setVertexCount((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 13: _t->setIndexOffset((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 14: _t->setFirstInstance((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 15: _t->setFirstVertex((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 16: _t->setIndexBufferByteOffset((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 17: _t->setRestartIndexValue((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 18: _t->setVerticesPerPatch((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 19: _t->setPrimitiveRestartEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 20: _t->setGeometry((*reinterpret_cast<std::add_pointer_t<QGeometry*>>(_a[1]))); break;
        case 21: _t->setPrimitiveType((*reinterpret_cast<std::add_pointer_t<enum PrimitiveType>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QGeometry* >(); break;
            }
            break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QGeometry* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QGeometryView::*)(int )>(_a, &QGeometryView::instanceCountChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGeometryView::*)(int )>(_a, &QGeometryView::vertexCountChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGeometryView::*)(int )>(_a, &QGeometryView::indexOffsetChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGeometryView::*)(int )>(_a, &QGeometryView::firstInstanceChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGeometryView::*)(int )>(_a, &QGeometryView::firstVertexChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGeometryView::*)(int )>(_a, &QGeometryView::indexBufferByteOffsetChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGeometryView::*)(int )>(_a, &QGeometryView::restartIndexValueChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGeometryView::*)(int )>(_a, &QGeometryView::verticesPerPatchChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGeometryView::*)(bool )>(_a, &QGeometryView::primitiveRestartEnabledChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGeometryView::*)(QGeometry * )>(_a, &QGeometryView::geometryChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGeometryView::*)(PrimitiveType )>(_a, &QGeometryView::primitiveTypeChanged, 10))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 9:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DCore::QGeometry* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = _t->instanceCount(); break;
        case 1: *reinterpret_cast<int*>(_v) = _t->vertexCount(); break;
        case 2: *reinterpret_cast<int*>(_v) = _t->indexOffset(); break;
        case 3: *reinterpret_cast<int*>(_v) = _t->firstInstance(); break;
        case 4: *reinterpret_cast<int*>(_v) = _t->firstVertex(); break;
        case 5: *reinterpret_cast<int*>(_v) = _t->indexBufferByteOffset(); break;
        case 6: *reinterpret_cast<int*>(_v) = _t->restartIndexValue(); break;
        case 7: *reinterpret_cast<int*>(_v) = _t->verticesPerPatch(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->primitiveRestartEnabled(); break;
        case 9: *reinterpret_cast<Qt3DCore::QGeometry**>(_v) = _t->geometry(); break;
        case 10: *reinterpret_cast<enum PrimitiveType*>(_v) = _t->primitiveType(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setInstanceCount(*reinterpret_cast<int*>(_v)); break;
        case 1: _t->setVertexCount(*reinterpret_cast<int*>(_v)); break;
        case 2: _t->setIndexOffset(*reinterpret_cast<int*>(_v)); break;
        case 3: _t->setFirstInstance(*reinterpret_cast<int*>(_v)); break;
        case 4: _t->setFirstVertex(*reinterpret_cast<int*>(_v)); break;
        case 5: _t->setIndexBufferByteOffset(*reinterpret_cast<int*>(_v)); break;
        case 6: _t->setRestartIndexValue(*reinterpret_cast<int*>(_v)); break;
        case 7: _t->setVerticesPerPatch(*reinterpret_cast<int*>(_v)); break;
        case 8: _t->setPrimitiveRestartEnabled(*reinterpret_cast<bool*>(_v)); break;
        case 9: _t->setGeometry(*reinterpret_cast<Qt3DCore::QGeometry**>(_v)); break;
        case 10: _t->setPrimitiveType(*reinterpret_cast<enum PrimitiveType*>(_v)); break;
        default: break;
        }
    }
}

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

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

int Qt3DCore::QGeometryView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Qt3DCore::QNode::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void Qt3DCore::QGeometryView::instanceCountChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Qt3DCore::QGeometryView::vertexCountChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Qt3DCore::QGeometryView::indexOffsetChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Qt3DCore::QGeometryView::firstInstanceChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Qt3DCore::QGeometryView::firstVertexChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Qt3DCore::QGeometryView::indexBufferByteOffsetChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void Qt3DCore::QGeometryView::restartIndexValueChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void Qt3DCore::QGeometryView::verticesPerPatchChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void Qt3DCore::QGeometryView::primitiveRestartEnabledChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void Qt3DCore::QGeometryView::geometryChanged(QGeometry * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void Qt3DCore::QGeometryView::primitiveTypeChanged(PrimitiveType _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}
QT_WARNING_POP
