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

#include <memory>
#include "../../../../../qt3d/src/quick3d/quick3dextras/items/quick3dlevelofdetailloader_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QVector>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'quick3dlevelofdetailloader_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.5. 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_Qt3DExtras__Extras__Quick__Quick3DLevelOfDetailLoader_t {
    QByteArrayData data[25];
    char stringdata0[429];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3DExtras__Extras__Quick__Quick3DLevelOfDetailLoader_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3DExtras__Extras__Quick__Quick3DLevelOfDetailLoader_t qt_meta_stringdata_Qt3DExtras__Extras__Quick__Quick3DLevelOfDetailLoader = {
    {
QT_MOC_LITERAL(0, 0, 53), // "Qt3DExtras::Extras::Quick::Qu..."
QT_MOC_LITERAL(1, 54, 14), // "sourcesChanged"
QT_MOC_LITERAL(2, 69, 0), // ""
QT_MOC_LITERAL(3, 70, 13), // "cameraChanged"
QT_MOC_LITERAL(4, 84, 19), // "currentIndexChanged"
QT_MOC_LITERAL(5, 104, 20), // "thresholdTypeChanged"
QT_MOC_LITERAL(6, 125, 17), // "thresholdsChanged"
QT_MOC_LITERAL(7, 143, 21), // "volumeOverrideChanged"
QT_MOC_LITERAL(8, 165, 13), // "entityChanged"
QT_MOC_LITERAL(9, 179, 13), // "sourceChanged"
QT_MOC_LITERAL(10, 193, 20), // "createBoundingSphere"
QT_MOC_LITERAL(11, 214, 40), // "Qt3DRender::QLevelOfDetailBou..."
QT_MOC_LITERAL(12, 255, 6), // "center"
QT_MOC_LITERAL(13, 262, 6), // "radius"
QT_MOC_LITERAL(14, 269, 7), // "sources"
QT_MOC_LITERAL(15, 277, 6), // "camera"
QT_MOC_LITERAL(16, 284, 20), // "Qt3DRender::QCamera*"
QT_MOC_LITERAL(17, 305, 12), // "currentIndex"
QT_MOC_LITERAL(18, 318, 13), // "thresholdType"
QT_MOC_LITERAL(19, 332, 41), // "Qt3DRender::QLevelOfDetail::T..."
QT_MOC_LITERAL(20, 374, 10), // "thresholds"
QT_MOC_LITERAL(21, 385, 14), // "QVector<qreal>"
QT_MOC_LITERAL(22, 400, 14), // "volumeOverride"
QT_MOC_LITERAL(23, 415, 6), // "entity"
QT_MOC_LITERAL(24, 422, 6) // "source"

    },
    "Qt3DExtras::Extras::Quick::Quick3DLevelOfDetailLoader\0"
    "sourcesChanged\0\0cameraChanged\0"
    "currentIndexChanged\0thresholdTypeChanged\0"
    "thresholdsChanged\0volumeOverrideChanged\0"
    "entityChanged\0sourceChanged\0"
    "createBoundingSphere\0"
    "Qt3DRender::QLevelOfDetailBoundingSphere\0"
    "center\0radius\0sources\0camera\0"
    "Qt3DRender::QCamera*\0currentIndex\0"
    "thresholdType\0Qt3DRender::QLevelOfDetail::ThresholdType\0"
    "thresholds\0QVector<qreal>\0volumeOverride\0"
    "entity\0source"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3DExtras__Extras__Quick__Quick3DLevelOfDetailLoader[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x06 /* Public */,
       3,    0,   60,    2, 0x06 /* Public */,
       4,    0,   61,    2, 0x06 /* Public */,
       5,    0,   62,    2, 0x06 /* Public */,
       6,    0,   63,    2, 0x06 /* Public */,
       7,    0,   64,    2, 0x06 /* Public */,
       8,    0,   65,    2, 0x06 /* Public */,
       9,    0,   66,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
      10,    2,   67,    2, 0x02 /* Public */,

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

 // methods: parameters
    0x80000000 | 11, QMetaType::QVector3D, QMetaType::Float,   12,   13,

 // properties: name, type, flags
      14, QMetaType::QVariantList, 0x00495103,
      15, 0x80000000 | 16, 0x0049510b,
      17, QMetaType::Int, 0x00495103,
      18, 0x80000000 | 19, 0x0049510b,
      20, 0x80000000 | 21, 0x0049510b,
      22, 0x80000000 | 11, 0x0049510b,
      23, QMetaType::QObjectStar, 0x00495001,
      24, QMetaType::QUrl, 0x00495001,

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

       0        // eod
};

void Qt3DExtras::Extras::Quick::Quick3DLevelOfDetailLoader::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Quick3DLevelOfDetailLoader *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->sourcesChanged(); break;
        case 1: _t->cameraChanged(); break;
        case 2: _t->currentIndexChanged(); break;
        case 3: _t->thresholdTypeChanged(); break;
        case 4: _t->thresholdsChanged(); break;
        case 5: _t->volumeOverrideChanged(); break;
        case 6: _t->entityChanged(); break;
        case 7: _t->sourceChanged(); break;
        case 8: { Qt3DRender::QLevelOfDetailBoundingSphere _r = _t->createBoundingSphere((*reinterpret_cast< const QVector3D(*)>(_a[1])),(*reinterpret_cast< float(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< Qt3DRender::QLevelOfDetailBoundingSphere*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Quick3DLevelOfDetailLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Quick3DLevelOfDetailLoader::sourcesChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Quick3DLevelOfDetailLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Quick3DLevelOfDetailLoader::cameraChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Quick3DLevelOfDetailLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Quick3DLevelOfDetailLoader::currentIndexChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Quick3DLevelOfDetailLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Quick3DLevelOfDetailLoader::thresholdTypeChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Quick3DLevelOfDetailLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Quick3DLevelOfDetailLoader::thresholdsChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (Quick3DLevelOfDetailLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Quick3DLevelOfDetailLoader::volumeOverrideChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (Quick3DLevelOfDetailLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Quick3DLevelOfDetailLoader::entityChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (Quick3DLevelOfDetailLoader::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Quick3DLevelOfDetailLoader::sourceChanged)) {
                *result = 7;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<qreal> >(); break;
        case 5:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3DRender::QLevelOfDetailBoundingSphere >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<Quick3DLevelOfDetailLoader *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QVariantList*>(_v) = _t->sources(); break;
        case 1: *reinterpret_cast< Qt3DRender::QCamera**>(_v) = _t->camera(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->currentIndex(); break;
        case 3: *reinterpret_cast< Qt3DRender::QLevelOfDetail::ThresholdType*>(_v) = _t->thresholdType(); break;
        case 4: *reinterpret_cast< QVector<qreal>*>(_v) = _t->thresholds(); break;
        case 5: *reinterpret_cast< Qt3DRender::QLevelOfDetailBoundingSphere*>(_v) = _t->volumeOverride(); break;
        case 6: *reinterpret_cast< QObject**>(_v) = _t->entity(); break;
        case 7: *reinterpret_cast< QUrl*>(_v) = _t->source(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<Quick3DLevelOfDetailLoader *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSources(*reinterpret_cast< QVariantList*>(_v)); break;
        case 1: _t->setCamera(*reinterpret_cast< Qt3DRender::QCamera**>(_v)); break;
        case 2: _t->setCurrentIndex(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setThresholdType(*reinterpret_cast< Qt3DRender::QLevelOfDetail::ThresholdType*>(_v)); break;
        case 4: _t->setThresholds(*reinterpret_cast< QVector<qreal>*>(_v)); break;
        case 5: _t->setVolumeOverride(*reinterpret_cast< Qt3DRender::QLevelOfDetailBoundingSphere*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

static const QMetaObject::SuperData qt_meta_extradata_Qt3DExtras__Extras__Quick__Quick3DLevelOfDetailLoader[] = {
    QMetaObject::SuperData::link<Qt3DRender::QLevelOfDetail::staticMetaObject>(),
    nullptr
};

QT_INIT_METAOBJECT const QMetaObject Qt3DExtras::Extras::Quick::Quick3DLevelOfDetailLoader::staticMetaObject = { {
    QMetaObject::SuperData::link<Qt3DCore::QEntity::staticMetaObject>(),
    qt_meta_stringdata_Qt3DExtras__Extras__Quick__Quick3DLevelOfDetailLoader.data,
    qt_meta_data_Qt3DExtras__Extras__Quick__Quick3DLevelOfDetailLoader,
    qt_static_metacall,
    qt_meta_extradata_Qt3DExtras__Extras__Quick__Quick3DLevelOfDetailLoader,
    nullptr
} };


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

void *Qt3DExtras::Extras::Quick::Quick3DLevelOfDetailLoader::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Qt3DExtras__Extras__Quick__Quick3DLevelOfDetailLoader.stringdata0))
        return static_cast<void*>(this);
    return Qt3DCore::QEntity::qt_metacast(_clname);
}

int Qt3DExtras::Extras::Quick::Quick3DLevelOfDetailLoader::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Qt3DCore::QEntity::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
#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 -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Qt3DExtras::Extras::Quick::Quick3DLevelOfDetailLoader::sourcesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Qt3DExtras::Extras::Quick::Quick3DLevelOfDetailLoader::cameraChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Qt3DExtras::Extras::Quick::Quick3DLevelOfDetailLoader::currentIndexChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Qt3DExtras::Extras::Quick::Quick3DLevelOfDetailLoader::thresholdTypeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void Qt3DExtras::Extras::Quick::Quick3DLevelOfDetailLoader::thresholdsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void Qt3DExtras::Extras::Quick::Quick3DLevelOfDetailLoader::volumeOverrideChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void Qt3DExtras::Extras::Quick::Quick3DLevelOfDetailLoader::entityChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void Qt3DExtras::Extras::Quick::Quick3DLevelOfDetailLoader::sourceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
