/****************************************************************************
** Meta object code from reading C++ file 'cuboidgeometry_p.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 "../../../../../qtquick3d/src/helpers/cuboidgeometry_p.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 'cuboidgeometry_p.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_ZN14CuboidGeometryE_t {};
} // unnamed namespace

template <> constexpr inline auto CuboidGeometry::qt_create_metaobjectdata<qt_meta_tag_ZN14CuboidGeometryE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "CuboidGeometry",
        "QML.Element",
        "auto",
        "QML.AddedInVersion",
        "1545",
        "xExtentChanged",
        "",
        "yExtentChanged",
        "zExtentChanged",
        "yzMeshResolutionChanged",
        "xzMeshResolutionChanged",
        "xyMeshResolutionChanged",
        "asynchronousChanged",
        "statusChanged",
        "doUpdateGeometry",
        "requestFinished",
        "xExtent",
        "yExtent",
        "zExtent",
        "yzMeshResolution",
        "QSize",
        "xzMeshResolution",
        "xyMeshResolution",
        "asynchronous",
        "status",
        "Status",
        "Null",
        "Ready",
        "Loading",
        "Error"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'xExtentChanged'
        QtMocHelpers::SignalData<void()>(5, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'yExtentChanged'
        QtMocHelpers::SignalData<void()>(7, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'zExtentChanged'
        QtMocHelpers::SignalData<void()>(8, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'yzMeshResolutionChanged'
        QtMocHelpers::SignalData<void()>(9, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'xzMeshResolutionChanged'
        QtMocHelpers::SignalData<void()>(10, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'xyMeshResolutionChanged'
        QtMocHelpers::SignalData<void()>(11, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'asynchronousChanged'
        QtMocHelpers::SignalData<void()>(12, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'statusChanged'
        QtMocHelpers::SignalData<void()>(13, 6, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doUpdateGeometry'
        QtMocHelpers::SlotData<void()>(14, 6, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'requestFinished'
        QtMocHelpers::SlotData<void()>(15, 6, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'xExtent'
        QtMocHelpers::PropertyData<float>(16, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 0),
        // property 'yExtent'
        QtMocHelpers::PropertyData<float>(17, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 1),
        // property 'zExtent'
        QtMocHelpers::PropertyData<float>(18, QMetaType::Float, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 2),
        // property 'yzMeshResolution'
        QtMocHelpers::PropertyData<QSize>(19, 0x80000000 | 20, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 3),
        // property 'xzMeshResolution'
        QtMocHelpers::PropertyData<QSize>(21, 0x80000000 | 20, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 4),
        // property 'xyMeshResolution'
        QtMocHelpers::PropertyData<QSize>(22, 0x80000000 | 20, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 5),
        // property 'asynchronous'
        QtMocHelpers::PropertyData<bool>(23, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 6),
        // property 'status'
        QtMocHelpers::PropertyData<enum Status>(24, 0x80000000 | 25, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 7),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Status'
        QtMocHelpers::EnumData<enum Status>(25, 25, QMC::EnumFlags{}).add({
            {   26, Status::Null },
            {   27, Status::Ready },
            {   28, Status::Loading },
            {   29, Status::Error },
        }),
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
    });
    return QtMocHelpers::metaObjectData<CuboidGeometry, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject CuboidGeometry::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuick3DGeometry::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14CuboidGeometryE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14CuboidGeometryE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14CuboidGeometryE_t>.metaTypes,
    nullptr
} };

void CuboidGeometry::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CuboidGeometry *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->xExtentChanged(); break;
        case 1: _t->yExtentChanged(); break;
        case 2: _t->zExtentChanged(); break;
        case 3: _t->yzMeshResolutionChanged(); break;
        case 4: _t->xzMeshResolutionChanged(); break;
        case 5: _t->xyMeshResolutionChanged(); break;
        case 6: _t->asynchronousChanged(); break;
        case 7: _t->statusChanged(); break;
        case 8: _t->doUpdateGeometry(); break;
        case 9: _t->requestFinished(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (CuboidGeometry::*)()>(_a, &CuboidGeometry::xExtentChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (CuboidGeometry::*)()>(_a, &CuboidGeometry::yExtentChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (CuboidGeometry::*)()>(_a, &CuboidGeometry::zExtentChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (CuboidGeometry::*)()>(_a, &CuboidGeometry::yzMeshResolutionChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (CuboidGeometry::*)()>(_a, &CuboidGeometry::xzMeshResolutionChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (CuboidGeometry::*)()>(_a, &CuboidGeometry::xyMeshResolutionChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (CuboidGeometry::*)()>(_a, &CuboidGeometry::asynchronousChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (CuboidGeometry::*)()>(_a, &CuboidGeometry::statusChanged, 7))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<float*>(_v) = _t->xExtent(); break;
        case 1: *reinterpret_cast<float*>(_v) = _t->yExtent(); break;
        case 2: *reinterpret_cast<float*>(_v) = _t->zExtent(); break;
        case 3: *reinterpret_cast<QSize*>(_v) = _t->yzMeshResolution(); break;
        case 4: *reinterpret_cast<QSize*>(_v) = _t->xzMeshResolution(); break;
        case 5: *reinterpret_cast<QSize*>(_v) = _t->xyMeshResolution(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->asynchronous(); break;
        case 7: *reinterpret_cast<enum Status*>(_v) = _t->status(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setXExtent(*reinterpret_cast<float*>(_v)); break;
        case 1: _t->setYExtent(*reinterpret_cast<float*>(_v)); break;
        case 2: _t->setZExtent(*reinterpret_cast<float*>(_v)); break;
        case 3: _t->setYzMeshResolution(*reinterpret_cast<QSize*>(_v)); break;
        case 4: _t->setXzMeshResolution(*reinterpret_cast<QSize*>(_v)); break;
        case 5: _t->setXyMeshResolution(*reinterpret_cast<QSize*>(_v)); break;
        case 6: _t->setAsynchronous(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

void *CuboidGeometry::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14CuboidGeometryE_t>.strings))
        return static_cast<void*>(this);
    return QQuick3DGeometry::qt_metacast(_clname);
}

int CuboidGeometry::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuick3DGeometry::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 10;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    return _id;
}

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

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

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

// SIGNAL 3
void CuboidGeometry::yzMeshResolutionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void CuboidGeometry::xzMeshResolutionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void CuboidGeometry::xyMeshResolutionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void CuboidGeometry::asynchronousChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void CuboidGeometry::statusChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
