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

#include <memory>
#include "../../../../qtquick3d/src/quick3d/qquick3dabstractlight_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquick3dabstractlight_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.3. 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_QQuick3DAbstractLight_t {
    QByteArrayData data[38];
    char stringdata0[592];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuick3DAbstractLight_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuick3DAbstractLight_t qt_meta_stringdata_QQuick3DAbstractLight = {
    {
QT_MOC_LITERAL(0, 0, 21), // "QQuick3DAbstractLight"
QT_MOC_LITERAL(1, 22, 12), // "colorChanged"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 19), // "ambientColorChanged"
QT_MOC_LITERAL(4, 56, 17), // "brightnessChanged"
QT_MOC_LITERAL(5, 74, 12), // "scopeChanged"
QT_MOC_LITERAL(6, 87, 18), // "castsShadowChanged"
QT_MOC_LITERAL(7, 106, 17), // "shadowBiasChanged"
QT_MOC_LITERAL(8, 124, 19), // "shadowFactorChanged"
QT_MOC_LITERAL(9, 144, 23), // "shadowMapQualityChanged"
QT_MOC_LITERAL(10, 168, 19), // "shadowMapFarChanged"
QT_MOC_LITERAL(11, 188, 19), // "shadowFilterChanged"
QT_MOC_LITERAL(12, 208, 8), // "setColor"
QT_MOC_LITERAL(13, 217, 5), // "color"
QT_MOC_LITERAL(14, 223, 15), // "setAmbientColor"
QT_MOC_LITERAL(15, 239, 12), // "ambientColor"
QT_MOC_LITERAL(16, 252, 13), // "setBrightness"
QT_MOC_LITERAL(17, 266, 10), // "brightness"
QT_MOC_LITERAL(18, 277, 8), // "setScope"
QT_MOC_LITERAL(19, 286, 13), // "QQuick3DNode*"
QT_MOC_LITERAL(20, 300, 5), // "scope"
QT_MOC_LITERAL(21, 306, 14), // "setCastsShadow"
QT_MOC_LITERAL(22, 321, 11), // "castsShadow"
QT_MOC_LITERAL(23, 333, 13), // "setShadowBias"
QT_MOC_LITERAL(24, 347, 10), // "shadowBias"
QT_MOC_LITERAL(25, 358, 15), // "setShadowFactor"
QT_MOC_LITERAL(26, 374, 12), // "shadowFactor"
QT_MOC_LITERAL(27, 387, 19), // "setShadowMapQuality"
QT_MOC_LITERAL(28, 407, 20), // "QSSGShadowMapQuality"
QT_MOC_LITERAL(29, 428, 16), // "shadowMapQuality"
QT_MOC_LITERAL(30, 445, 15), // "setShadowMapFar"
QT_MOC_LITERAL(31, 461, 12), // "shadowMapFar"
QT_MOC_LITERAL(32, 474, 15), // "setShadowFilter"
QT_MOC_LITERAL(33, 490, 12), // "shadowFilter"
QT_MOC_LITERAL(34, 503, 19), // "ShadowMapQualityLow"
QT_MOC_LITERAL(35, 523, 22), // "ShadowMapQualityMedium"
QT_MOC_LITERAL(36, 546, 20), // "ShadowMapQualityHigh"
QT_MOC_LITERAL(37, 567, 24) // "ShadowMapQualityVeryHigh"

    },
    "QQuick3DAbstractLight\0colorChanged\0\0"
    "ambientColorChanged\0brightnessChanged\0"
    "scopeChanged\0castsShadowChanged\0"
    "shadowBiasChanged\0shadowFactorChanged\0"
    "shadowMapQualityChanged\0shadowMapFarChanged\0"
    "shadowFilterChanged\0setColor\0color\0"
    "setAmbientColor\0ambientColor\0setBrightness\0"
    "brightness\0setScope\0QQuick3DNode*\0"
    "scope\0setCastsShadow\0castsShadow\0"
    "setShadowBias\0shadowBias\0setShadowFactor\0"
    "shadowFactor\0setShadowMapQuality\0"
    "QSSGShadowMapQuality\0shadowMapQuality\0"
    "setShadowMapFar\0shadowMapFar\0"
    "setShadowFilter\0shadowFilter\0"
    "ShadowMapQualityLow\0ShadowMapQualityMedium\0"
    "ShadowMapQualityHigh\0ShadowMapQualityVeryHigh"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuick3DAbstractLight[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      20,   14, // methods
      10,  154, // properties
       1,  194, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  114,    2, 0x06 /* Public */,
       3,    0,  115,    2, 0x06 /* Public */,
       4,    0,  116,    2, 0x06 /* Public */,
       5,    0,  117,    2, 0x06 /* Public */,
       6,    0,  118,    2, 0x06 /* Public */,
       7,    0,  119,    2, 0x06 /* Public */,
       8,    0,  120,    2, 0x06 /* Public */,
       9,    0,  121,    2, 0x06 /* Public */,
      10,    0,  122,    2, 0x06 /* Public */,
      11,    0,  123,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    1,  124,    2, 0x0a /* Public */,
      14,    1,  127,    2, 0x0a /* Public */,
      16,    1,  130,    2, 0x0a /* Public */,
      18,    1,  133,    2, 0x0a /* Public */,
      21,    1,  136,    2, 0x0a /* Public */,
      23,    1,  139,    2, 0x0a /* Public */,
      25,    1,  142,    2, 0x0a /* Public */,
      27,    1,  145,    2, 0x0a /* Public */,
      30,    1,  148,    2, 0x0a /* Public */,
      32,    1,  151,    2, 0x0a /* Public */,

 // 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::QColor,   13,
    QMetaType::Void, QMetaType::QColor,   15,
    QMetaType::Void, QMetaType::Float,   17,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, QMetaType::Bool,   22,
    QMetaType::Void, QMetaType::Float,   24,
    QMetaType::Void, QMetaType::Float,   26,
    QMetaType::Void, 0x80000000 | 28,   29,
    QMetaType::Void, QMetaType::Float,   31,
    QMetaType::Void, QMetaType::Float,   33,

 // properties: name, type, flags
      13, QMetaType::QColor, 0x00495103,
      15, QMetaType::QColor, 0x00495103,
      17, QMetaType::Float, 0x00495103,
      20, 0x80000000 | 19, 0x0049510b,
      22, QMetaType::Bool, 0x00495103,
      24, QMetaType::Float, 0x00495103,
      26, QMetaType::Float, 0x00495103,
      29, 0x80000000 | 28, 0x0049510b,
      31, QMetaType::Float, 0x00495103,
      33, QMetaType::Float, 0x00495103,

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

 // enums: name, alias, flags, count, data
      28,   28, 0x2,    4,  199,

 // enum data: key, value
      34, uint(QQuick3DAbstractLight::QSSGShadowMapQuality::ShadowMapQualityLow),
      35, uint(QQuick3DAbstractLight::QSSGShadowMapQuality::ShadowMapQualityMedium),
      36, uint(QQuick3DAbstractLight::QSSGShadowMapQuality::ShadowMapQualityHigh),
      37, uint(QQuick3DAbstractLight::QSSGShadowMapQuality::ShadowMapQualityVeryHigh),

       0        // eod
};

void QQuick3DAbstractLight::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuick3DAbstractLight *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->colorChanged(); break;
        case 1: _t->ambientColorChanged(); break;
        case 2: _t->brightnessChanged(); break;
        case 3: _t->scopeChanged(); break;
        case 4: _t->castsShadowChanged(); break;
        case 5: _t->shadowBiasChanged(); break;
        case 6: _t->shadowFactorChanged(); break;
        case 7: _t->shadowMapQualityChanged(); break;
        case 8: _t->shadowMapFarChanged(); break;
        case 9: _t->shadowFilterChanged(); break;
        case 10: _t->setColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 11: _t->setAmbientColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 12: _t->setBrightness((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 13: _t->setScope((*reinterpret_cast< QQuick3DNode*(*)>(_a[1]))); break;
        case 14: _t->setCastsShadow((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->setShadowBias((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 16: _t->setShadowFactor((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 17: _t->setShadowMapQuality((*reinterpret_cast< QSSGShadowMapQuality(*)>(_a[1]))); break;
        case 18: _t->setShadowMapFar((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 19: _t->setShadowFilter((*reinterpret_cast< float(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DNode* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuick3DAbstractLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DAbstractLight::colorChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuick3DAbstractLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DAbstractLight::ambientColorChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuick3DAbstractLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DAbstractLight::brightnessChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QQuick3DAbstractLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DAbstractLight::scopeChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QQuick3DAbstractLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DAbstractLight::castsShadowChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QQuick3DAbstractLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DAbstractLight::shadowBiasChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QQuick3DAbstractLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DAbstractLight::shadowFactorChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QQuick3DAbstractLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DAbstractLight::shadowMapQualityChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (QQuick3DAbstractLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DAbstractLight::shadowMapFarChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (QQuick3DAbstractLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DAbstractLight::shadowFilterChanged)) {
                *result = 9;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuick3DNode* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuick3DAbstractLight *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QColor*>(_v) = _t->color(); break;
        case 1: *reinterpret_cast< QColor*>(_v) = _t->ambientColor(); break;
        case 2: *reinterpret_cast< float*>(_v) = _t->brightness(); break;
        case 3: *reinterpret_cast< QQuick3DNode**>(_v) = _t->scope(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->castsShadow(); break;
        case 5: *reinterpret_cast< float*>(_v) = _t->shadowBias(); break;
        case 6: *reinterpret_cast< float*>(_v) = _t->shadowFactor(); break;
        case 7: *reinterpret_cast< QSSGShadowMapQuality*>(_v) = _t->shadowMapQuality(); break;
        case 8: *reinterpret_cast< float*>(_v) = _t->shadowMapFar(); break;
        case 9: *reinterpret_cast< float*>(_v) = _t->shadowFilter(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuick3DAbstractLight *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setColor(*reinterpret_cast< QColor*>(_v)); break;
        case 1: _t->setAmbientColor(*reinterpret_cast< QColor*>(_v)); break;
        case 2: _t->setBrightness(*reinterpret_cast< float*>(_v)); break;
        case 3: _t->setScope(*reinterpret_cast< QQuick3DNode**>(_v)); break;
        case 4: _t->setCastsShadow(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setShadowBias(*reinterpret_cast< float*>(_v)); break;
        case 6: _t->setShadowFactor(*reinterpret_cast< float*>(_v)); break;
        case 7: _t->setShadowMapQuality(*reinterpret_cast< QSSGShadowMapQuality*>(_v)); break;
        case 8: _t->setShadowMapFar(*reinterpret_cast< float*>(_v)); break;
        case 9: _t->setShadowFilter(*reinterpret_cast< float*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QQuick3DAbstractLight::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuick3DNode::staticMetaObject>(),
    qt_meta_stringdata_QQuick3DAbstractLight.data,
    qt_meta_data_QQuick3DAbstractLight,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QQuick3DAbstractLight::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 < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    }
#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 -= 10;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 10;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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

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

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

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

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