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

#include <memory>
#include "../../../../qtquick3d/src/quick3d/qquick3dspotlight_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquick3dspotlight_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.6. 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_QQuick3DSpotLight_t {
    QByteArrayData data[17];
    char stringdata0[258];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuick3DSpotLight_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuick3DSpotLight_t qt_meta_stringdata_QQuick3DSpotLight = {
    {
QT_MOC_LITERAL(0, 0, 17), // "QQuick3DSpotLight"
QT_MOC_LITERAL(1, 18, 19), // "constantFadeChanged"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 17), // "linearFadeChanged"
QT_MOC_LITERAL(4, 57, 20), // "quadraticFadeChanged"
QT_MOC_LITERAL(5, 78, 16), // "coneAngleChanged"
QT_MOC_LITERAL(6, 95, 21), // "innerConeAngleChanged"
QT_MOC_LITERAL(7, 117, 15), // "setConstantFade"
QT_MOC_LITERAL(8, 133, 12), // "constantFade"
QT_MOC_LITERAL(9, 146, 13), // "setLinearFade"
QT_MOC_LITERAL(10, 160, 10), // "linearFade"
QT_MOC_LITERAL(11, 171, 16), // "setQuadraticFade"
QT_MOC_LITERAL(12, 188, 13), // "quadraticFade"
QT_MOC_LITERAL(13, 202, 12), // "setConeAngle"
QT_MOC_LITERAL(14, 215, 9), // "coneAngle"
QT_MOC_LITERAL(15, 225, 17), // "setInnerConeAngle"
QT_MOC_LITERAL(16, 243, 14) // "innerConeAngle"

    },
    "QQuick3DSpotLight\0constantFadeChanged\0"
    "\0linearFadeChanged\0quadraticFadeChanged\0"
    "coneAngleChanged\0innerConeAngleChanged\0"
    "setConstantFade\0constantFade\0setLinearFade\0"
    "linearFade\0setQuadraticFade\0quadraticFade\0"
    "setConeAngle\0coneAngle\0setInnerConeAngle\0"
    "innerConeAngle"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuick3DSpotLight[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       5,   84, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,
       3,    0,   65,    2, 0x06 /* Public */,
       4,    0,   66,    2, 0x06 /* Public */,
       5,    0,   67,    2, 0x06 /* Public */,
       6,    0,   68,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   69,    2, 0x0a /* Public */,
       9,    1,   72,    2, 0x0a /* Public */,
      11,    1,   75,    2, 0x0a /* Public */,
      13,    1,   78,    2, 0x0a /* Public */,
      15,    1,   81,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Float,    8,
    QMetaType::Void, QMetaType::Float,   10,
    QMetaType::Void, QMetaType::Float,   12,
    QMetaType::Void, QMetaType::Float,   14,
    QMetaType::Void, QMetaType::Float,   16,

 // properties: name, type, flags
       8, QMetaType::Float, 0x00495103,
      10, QMetaType::Float, 0x00495103,
      12, QMetaType::Float, 0x00495103,
      14, QMetaType::Float, 0x00495103,
      16, QMetaType::Float, 0x00495103,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,

       0        // eod
};

void QQuick3DSpotLight::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuick3DSpotLight *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->constantFadeChanged(); break;
        case 1: _t->linearFadeChanged(); break;
        case 2: _t->quadraticFadeChanged(); break;
        case 3: _t->coneAngleChanged(); break;
        case 4: _t->innerConeAngleChanged(); break;
        case 5: _t->setConstantFade((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 6: _t->setLinearFade((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 7: _t->setQuadraticFade((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 8: _t->setConeAngle((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 9: _t->setInnerConeAngle((*reinterpret_cast< float(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuick3DSpotLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DSpotLight::constantFadeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuick3DSpotLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DSpotLight::linearFadeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuick3DSpotLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DSpotLight::quadraticFadeChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QQuick3DSpotLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DSpotLight::coneAngleChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QQuick3DSpotLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DSpotLight::innerConeAngleChanged)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuick3DSpotLight *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< float*>(_v) = _t->constantFade(); break;
        case 1: *reinterpret_cast< float*>(_v) = _t->linearFade(); break;
        case 2: *reinterpret_cast< float*>(_v) = _t->quadraticFade(); break;
        case 3: *reinterpret_cast< float*>(_v) = _t->coneAngle(); break;
        case 4: *reinterpret_cast< float*>(_v) = _t->innerConeAngle(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuick3DSpotLight *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setConstantFade(*reinterpret_cast< float*>(_v)); break;
        case 1: _t->setLinearFade(*reinterpret_cast< float*>(_v)); break;
        case 2: _t->setQuadraticFade(*reinterpret_cast< float*>(_v)); break;
        case 3: _t->setConeAngle(*reinterpret_cast< float*>(_v)); break;
        case 4: _t->setInnerConeAngle(*reinterpret_cast< float*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QQuick3DSpotLight::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuick3DAbstractLight::staticMetaObject>(),
    qt_meta_stringdata_QQuick3DSpotLight.data,
    qt_meta_data_QQuick3DSpotLight,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QQuick3DSpotLight::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuick3DAbstractLight::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
#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 -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

// SIGNAL 4
void QQuick3DSpotLight::innerConeAngleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
