/****************************************************************************
** Meta object code from reading C++ file 'qquick3dpointlight_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/qquick3dpointlight_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquick3dpointlight_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_QQuick3DPointLight_t {
    QByteArrayData data[11];
    char stringdata0[164];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuick3DPointLight_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuick3DPointLight_t qt_meta_stringdata_QQuick3DPointLight = {
    {
QT_MOC_LITERAL(0, 0, 18), // "QQuick3DPointLight"
QT_MOC_LITERAL(1, 19, 19), // "constantFadeChanged"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 17), // "linearFadeChanged"
QT_MOC_LITERAL(4, 58, 20), // "quadraticFadeChanged"
QT_MOC_LITERAL(5, 79, 15), // "setConstantFade"
QT_MOC_LITERAL(6, 95, 12), // "constantFade"
QT_MOC_LITERAL(7, 108, 13), // "setLinearFade"
QT_MOC_LITERAL(8, 122, 10), // "linearFade"
QT_MOC_LITERAL(9, 133, 16), // "setQuadraticFade"
QT_MOC_LITERAL(10, 150, 13) // "quadraticFade"

    },
    "QQuick3DPointLight\0constantFadeChanged\0"
    "\0linearFadeChanged\0quadraticFadeChanged\0"
    "setConstantFade\0constantFade\0setLinearFade\0"
    "linearFade\0setQuadraticFade\0quadraticFade"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuick3DPointLight[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
       3,   56, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   44,    2, 0x06 /* Public */,
       3,    0,   45,    2, 0x06 /* Public */,
       4,    0,   46,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,   47,    2, 0x0a /* Public */,
       7,    1,   50,    2, 0x0a /* Public */,
       9,    1,   53,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Float,    6,
    QMetaType::Void, QMetaType::Float,    8,
    QMetaType::Void, QMetaType::Float,   10,

 // properties: name, type, flags
       6, QMetaType::Float, 0x00495103,
       8, QMetaType::Float, 0x00495103,
      10, QMetaType::Float, 0x00495103,

 // properties: notify_signal_id
       0,
       1,
       2,

       0        // eod
};

void QQuick3DPointLight::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuick3DPointLight *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->constantFadeChanged(); break;
        case 1: _t->linearFadeChanged(); break;
        case 2: _t->quadraticFadeChanged(); break;
        case 3: _t->setConstantFade((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 4: _t->setLinearFade((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 5: _t->setQuadraticFade((*reinterpret_cast< float(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuick3DPointLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DPointLight::constantFadeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuick3DPointLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DPointLight::linearFadeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuick3DPointLight::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuick3DPointLight::quadraticFadeChanged)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuick3DPointLight *>(_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;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuick3DPointLight *>(_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;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QQuick3DPointLight::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuick3DAbstractLight::staticMetaObject>(),
    qt_meta_stringdata_QQuick3DPointLight.data,
    qt_meta_data_QQuick3DPointLight,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QQuick3DPointLight::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 < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
#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 -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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