/****************************************************************************
** Meta object code from reading C++ file 'qquick3dmodel_p.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 "../../../../kde-qtquick3d/src/quick3d/qquick3dmodel_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquick3dmodel_p.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_QQuick3DBounds3_t {
    QByteArrayData data[3];
    char stringdata0[32];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuick3DBounds3_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuick3DBounds3_t qt_meta_stringdata_QQuick3DBounds3 = {
    {
QT_MOC_LITERAL(0, 0, 15), // "QQuick3DBounds3"
QT_MOC_LITERAL(1, 16, 7), // "minimum"
QT_MOC_LITERAL(2, 24, 7) // "maximum"

    },
    "QQuick3DBounds3\0minimum\0maximum"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuick3DBounds3[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       2,   14, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       4,       // flags
       0,       // signalCount

 // properties: name, type, flags
       1, QMetaType::QVector3D, 0x00095401,
       2, QMetaType::QVector3D, 0x00095401,

       0        // eod
};

void QQuick3DBounds3::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        auto *_t = reinterpret_cast<QQuick3DBounds3 *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QVector3D*>(_v) = _t->minimum(); break;
        case 1: *reinterpret_cast< QVector3D*>(_v) = _t->maximum(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject QQuick3DBounds3::staticMetaObject = { {
    nullptr,
    qt_meta_stringdata_QQuick3DBounds3.data,
    qt_meta_data_QQuick3DBounds3,
    qt_static_metacall,
    nullptr,
    nullptr
} };

struct qt_meta_stringdata_QQuick3DModel_t {
    QByteArrayData data[45];
    char stringdata0[678];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuick3DModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuick3DModel_t qt_meta_stringdata_QQuick3DModel = {
    {
QT_MOC_LITERAL(0, 0, 13), // "QQuick3DModel"
QT_MOC_LITERAL(1, 14, 13), // "sourceChanged"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 23), // "tessellationModeChanged"
QT_MOC_LITERAL(4, 53, 23), // "edgeTessellationChanged"
QT_MOC_LITERAL(5, 77, 24), // "innerTessellationChanged"
QT_MOC_LITERAL(6, 102, 22), // "isWireframeModeChanged"
QT_MOC_LITERAL(7, 125, 19), // "castsShadowsChanged"
QT_MOC_LITERAL(8, 145, 22), // "receivesShadowsChanged"
QT_MOC_LITERAL(9, 168, 15), // "pickableChanged"
QT_MOC_LITERAL(10, 184, 15), // "geometryChanged"
QT_MOC_LITERAL(11, 200, 13), // "boundsChanged"
QT_MOC_LITERAL(12, 214, 9), // "setSource"
QT_MOC_LITERAL(13, 224, 6), // "source"
QT_MOC_LITERAL(14, 231, 19), // "setTessellationMode"
QT_MOC_LITERAL(15, 251, 26), // "QSSGTessellationModeValues"
QT_MOC_LITERAL(16, 278, 16), // "tessellationMode"
QT_MOC_LITERAL(17, 295, 19), // "setEdgeTessellation"
QT_MOC_LITERAL(18, 315, 16), // "edgeTessellation"
QT_MOC_LITERAL(19, 332, 20), // "setInnerTessellation"
QT_MOC_LITERAL(20, 353, 17), // "innerTessellation"
QT_MOC_LITERAL(21, 371, 18), // "setIsWireframeMode"
QT_MOC_LITERAL(22, 390, 15), // "isWireframeMode"
QT_MOC_LITERAL(23, 406, 15), // "setCastsShadows"
QT_MOC_LITERAL(24, 422, 12), // "castsShadows"
QT_MOC_LITERAL(25, 435, 18), // "setReceivesShadows"
QT_MOC_LITERAL(26, 454, 15), // "receivesShadows"
QT_MOC_LITERAL(27, 470, 11), // "setPickable"
QT_MOC_LITERAL(28, 482, 8), // "pickable"
QT_MOC_LITERAL(29, 491, 11), // "setGeometry"
QT_MOC_LITERAL(30, 503, 17), // "QQuick3DGeometry*"
QT_MOC_LITERAL(31, 521, 8), // "geometry"
QT_MOC_LITERAL(32, 530, 9), // "setBounds"
QT_MOC_LITERAL(33, 540, 3), // "min"
QT_MOC_LITERAL(34, 544, 3), // "max"
QT_MOC_LITERAL(35, 548, 19), // "onMaterialDestroyed"
QT_MOC_LITERAL(36, 568, 6), // "object"
QT_MOC_LITERAL(37, 575, 9), // "materials"
QT_MOC_LITERAL(38, 585, 34), // "QQmlListProperty<QQuick3DMate..."
QT_MOC_LITERAL(39, 620, 6), // "bounds"
QT_MOC_LITERAL(40, 627, 15), // "QQuick3DBounds3"
QT_MOC_LITERAL(41, 643, 14), // "NoTessellation"
QT_MOC_LITERAL(42, 658, 6), // "Linear"
QT_MOC_LITERAL(43, 665, 5), // "Phong"
QT_MOC_LITERAL(44, 671, 6) // "NPatch"

    },
    "QQuick3DModel\0sourceChanged\0\0"
    "tessellationModeChanged\0edgeTessellationChanged\0"
    "innerTessellationChanged\0"
    "isWireframeModeChanged\0castsShadowsChanged\0"
    "receivesShadowsChanged\0pickableChanged\0"
    "geometryChanged\0boundsChanged\0setSource\0"
    "source\0setTessellationMode\0"
    "QSSGTessellationModeValues\0tessellationMode\0"
    "setEdgeTessellation\0edgeTessellation\0"
    "setInnerTessellation\0innerTessellation\0"
    "setIsWireframeMode\0isWireframeMode\0"
    "setCastsShadows\0castsShadows\0"
    "setReceivesShadows\0receivesShadows\0"
    "setPickable\0pickable\0setGeometry\0"
    "QQuick3DGeometry*\0geometry\0setBounds\0"
    "min\0max\0onMaterialDestroyed\0object\0"
    "materials\0QQmlListProperty<QQuick3DMaterial>\0"
    "bounds\0QQuick3DBounds3\0NoTessellation\0"
    "Linear\0Phong\0NPatch"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuick3DModel[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      21,   14, // methods
      11,  164, // properties
       1,  219, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  119,    2, 0x06 /* Public */,
       3,    0,  120,    2, 0x06 /* Public */,
       4,    0,  121,    2, 0x06 /* Public */,
       5,    0,  122,    2, 0x06 /* Public */,
       6,    0,  123,    2, 0x06 /* Public */,
       7,    0,  124,    2, 0x06 /* Public */,
       8,    0,  125,    2, 0x06 /* Public */,
       9,    0,  126,    2, 0x06 /* Public */,
      10,    0,  127,    2, 0x06 /* Public */,
      11,    0,  128,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    1,  129,    2, 0x0a /* Public */,
      14,    1,  132,    2, 0x0a /* Public */,
      17,    1,  135,    2, 0x0a /* Public */,
      19,    1,  138,    2, 0x0a /* Public */,
      21,    1,  141,    2, 0x0a /* Public */,
      23,    1,  144,    2, 0x0a /* Public */,
      25,    1,  147,    2, 0x0a /* Public */,
      27,    1,  150,    2, 0x0a /* Public */,
      29,    1,  153,    2, 0x0a /* Public */,
      32,    2,  156,    2, 0x0a /* Public */,
      35,    1,  161,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QUrl,   13,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, QMetaType::Float,   18,
    QMetaType::Void, QMetaType::Float,   20,
    QMetaType::Void, QMetaType::Bool,   22,
    QMetaType::Void, QMetaType::Bool,   24,
    QMetaType::Void, QMetaType::Bool,   26,
    QMetaType::Void, QMetaType::Bool,   28,
    QMetaType::Void, 0x80000000 | 30,   31,
    QMetaType::Void, QMetaType::QVector3D, QMetaType::QVector3D,   33,   34,
    QMetaType::Void, QMetaType::QObjectStar,   36,

 // properties: name, type, flags
      13, QMetaType::QUrl, 0x00495103,
      16, 0x80000000 | 15, 0x0049510b,
      18, QMetaType::Float, 0x00495103,
      20, QMetaType::Float, 0x00495103,
      22, QMetaType::Bool, 0x00495103,
      24, QMetaType::Bool, 0x00495103,
      26, QMetaType::Bool, 0x00495103,
      37, 0x80000000 | 38, 0x00095009,
      28, QMetaType::Bool, 0x00495103,
      31, 0x80000000 | 30, 0x0049510b,
      39, 0x80000000 | 40, 0x00c95009,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       6,
       0,
       7,
       8,
       9,

 // properties: revision
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       1,

 // enums: name, alias, flags, count, data
      15,   15, 0x0,    4,  224,

 // enum data: key, value
      41, uint(QQuick3DModel::NoTessellation),
      42, uint(QQuick3DModel::Linear),
      43, uint(QQuick3DModel::Phong),
      44, uint(QQuick3DModel::NPatch),

       0        // eod
};

void QQuick3DModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuick3DModel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->sourceChanged(); break;
        case 1: _t->tessellationModeChanged(); break;
        case 2: _t->edgeTessellationChanged(); break;
        case 3: _t->innerTessellationChanged(); break;
        case 4: _t->isWireframeModeChanged(); break;
        case 5: _t->castsShadowsChanged(); break;
        case 6: _t->receivesShadowsChanged(); break;
        case 7: _t->pickableChanged(); break;
        case 8: _t->geometryChanged(); break;
        case 9: _t->boundsChanged(); break;
        case 10: _t->setSource((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 11: _t->setTessellationMode((*reinterpret_cast< QSSGTessellationModeValues(*)>(_a[1]))); break;
        case 12: _t->setEdgeTessellation((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 13: _t->setInnerTessellation((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 14: _t->setIsWireframeMode((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->setCastsShadows((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->setReceivesShadows((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 17: _t->setPickable((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 18: _t->setGeometry((*reinterpret_cast< QQuick3DGeometry*(*)>(_a[1]))); break;
        case 19: _t->setBounds((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< const QVector3D(*)>(_a[2]))); break;
        case 20: _t->onMaterialDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 18:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DGeometry* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuick3DModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DModel::sourceChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuick3DModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DModel::tessellationModeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuick3DModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DModel::edgeTessellationChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QQuick3DModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DModel::innerTessellationChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QQuick3DModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DModel::isWireframeModeChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QQuick3DModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DModel::castsShadowsChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QQuick3DModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DModel::receivesShadowsChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QQuick3DModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DModel::pickableChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (QQuick3DModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DModel::geometryChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (QQuick3DModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DModel::boundsChanged)) {
                *result = 9;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 10:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DBounds3 >(); break;
        case 9:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DGeometry* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuick3DModel *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QUrl*>(_v) = _t->source(); break;
        case 1: *reinterpret_cast< QSSGTessellationModeValues*>(_v) = _t->tessellationMode(); break;
        case 2: *reinterpret_cast< float*>(_v) = _t->edgeTessellation(); break;
        case 3: *reinterpret_cast< float*>(_v) = _t->innerTessellation(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->isWireframeMode(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->castsShadows(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->receivesShadows(); break;
        case 7: *reinterpret_cast< QQmlListProperty<QQuick3DMaterial>*>(_v) = _t->materials(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->pickable(); break;
        case 9: *reinterpret_cast< QQuick3DGeometry**>(_v) = _t->geometry(); break;
        case 10: *reinterpret_cast< QQuick3DBounds3*>(_v) = _t->bounds(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuick3DModel *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSource(*reinterpret_cast< QUrl*>(_v)); break;
        case 1: _t->setTessellationMode(*reinterpret_cast< QSSGTessellationModeValues*>(_v)); break;
        case 2: _t->setEdgeTessellation(*reinterpret_cast< float*>(_v)); break;
        case 3: _t->setInnerTessellation(*reinterpret_cast< float*>(_v)); break;
        case 4: _t->setIsWireframeMode(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setCastsShadows(*reinterpret_cast< bool*>(_v)); break;
        case 6: _t->setReceivesShadows(*reinterpret_cast< bool*>(_v)); break;
        case 8: _t->setPickable(*reinterpret_cast< bool*>(_v)); break;
        case 9: _t->setGeometry(*reinterpret_cast< QQuick3DGeometry**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QQuick3DModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuick3DNode::staticMetaObject>(),
    qt_meta_stringdata_QQuick3DModel.data,
    qt_meta_data_QQuick3DModel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QQuick3DModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QQuick3DModel.stringdata0))
        return static_cast<void*>(this);
    return QQuick3DNode::qt_metacast(_clname);
}

int QQuick3DModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuick3DNode::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
#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 -= 11;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 11;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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

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

// SIGNAL 7
void QQuick3DModel::pickableChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void QQuick3DModel::geometryChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void QQuick3DModel::boundsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
