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

#include <memory>
#include "../../../../qt3d/src/extras/defaults/qphongalphamaterial.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qphongalphamaterial.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.2. 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__QPhongAlphaMaterial_t {
    QByteArrayData data[34];
    char stringdata0[593];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3DExtras__QPhongAlphaMaterial_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3DExtras__QPhongAlphaMaterial_t qt_meta_stringdata_Qt3DExtras__QPhongAlphaMaterial = {
    {
QT_MOC_LITERAL(0, 0, 31), // "Qt3DExtras::QPhongAlphaMaterial"
QT_MOC_LITERAL(1, 32, 14), // "ambientChanged"
QT_MOC_LITERAL(2, 47, 0), // ""
QT_MOC_LITERAL(3, 48, 7), // "ambient"
QT_MOC_LITERAL(4, 56, 14), // "diffuseChanged"
QT_MOC_LITERAL(5, 71, 7), // "diffuse"
QT_MOC_LITERAL(6, 79, 15), // "specularChanged"
QT_MOC_LITERAL(7, 95, 8), // "specular"
QT_MOC_LITERAL(8, 104, 16), // "shininessChanged"
QT_MOC_LITERAL(9, 121, 9), // "shininess"
QT_MOC_LITERAL(10, 131, 12), // "alphaChanged"
QT_MOC_LITERAL(11, 144, 5), // "alpha"
QT_MOC_LITERAL(12, 150, 19), // "sourceRgbArgChanged"
QT_MOC_LITERAL(13, 170, 45), // "Qt3DRender::QBlendEquationArg..."
QT_MOC_LITERAL(14, 216, 12), // "sourceRgbArg"
QT_MOC_LITERAL(15, 229, 24), // "destinationRgbArgChanged"
QT_MOC_LITERAL(16, 254, 17), // "destinationRgbArg"
QT_MOC_LITERAL(17, 272, 21), // "sourceAlphaArgChanged"
QT_MOC_LITERAL(18, 294, 14), // "sourceAlphaArg"
QT_MOC_LITERAL(19, 309, 26), // "destinationAlphaArgChanged"
QT_MOC_LITERAL(20, 336, 19), // "destinationAlphaArg"
QT_MOC_LITERAL(21, 356, 23), // "blendFunctionArgChanged"
QT_MOC_LITERAL(22, 380, 41), // "Qt3DRender::QBlendEquation::B..."
QT_MOC_LITERAL(23, 422, 16), // "blendFunctionArg"
QT_MOC_LITERAL(24, 439, 10), // "setAmbient"
QT_MOC_LITERAL(25, 450, 10), // "setDiffuse"
QT_MOC_LITERAL(26, 461, 11), // "setSpecular"
QT_MOC_LITERAL(27, 473, 12), // "setShininess"
QT_MOC_LITERAL(28, 486, 8), // "setAlpha"
QT_MOC_LITERAL(29, 495, 15), // "setSourceRgbArg"
QT_MOC_LITERAL(30, 511, 20), // "setDestinationRgbArg"
QT_MOC_LITERAL(31, 532, 17), // "setSourceAlphaArg"
QT_MOC_LITERAL(32, 550, 22), // "setDestinationAlphaArg"
QT_MOC_LITERAL(33, 573, 19) // "setBlendFunctionArg"

    },
    "Qt3DExtras::QPhongAlphaMaterial\0"
    "ambientChanged\0\0ambient\0diffuseChanged\0"
    "diffuse\0specularChanged\0specular\0"
    "shininessChanged\0shininess\0alphaChanged\0"
    "alpha\0sourceRgbArgChanged\0"
    "Qt3DRender::QBlendEquationArguments::Blending\0"
    "sourceRgbArg\0destinationRgbArgChanged\0"
    "destinationRgbArg\0sourceAlphaArgChanged\0"
    "sourceAlphaArg\0destinationAlphaArgChanged\0"
    "destinationAlphaArg\0blendFunctionArgChanged\0"
    "Qt3DRender::QBlendEquation::BlendFunction\0"
    "blendFunctionArg\0setAmbient\0setDiffuse\0"
    "setSpecular\0setShininess\0setAlpha\0"
    "setSourceRgbArg\0setDestinationRgbArg\0"
    "setSourceAlphaArg\0setDestinationAlphaArg\0"
    "setBlendFunctionArg"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3DExtras__QPhongAlphaMaterial[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  114,    2, 0x06 /* Public */,
       4,    1,  117,    2, 0x06 /* Public */,
       6,    1,  120,    2, 0x06 /* Public */,
       8,    1,  123,    2, 0x06 /* Public */,
      10,    1,  126,    2, 0x06 /* Public */,
      12,    1,  129,    2, 0x06 /* Public */,
      15,    1,  132,    2, 0x06 /* Public */,
      17,    1,  135,    2, 0x06 /* Public */,
      19,    1,  138,    2, 0x06 /* Public */,
      21,    1,  141,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      24,    1,  144,    2, 0x0a /* Public */,
      25,    1,  147,    2, 0x0a /* Public */,
      26,    1,  150,    2, 0x0a /* Public */,
      27,    1,  153,    2, 0x0a /* Public */,
      28,    1,  156,    2, 0x0a /* Public */,
      29,    1,  159,    2, 0x0a /* Public */,
      30,    1,  162,    2, 0x0a /* Public */,
      31,    1,  165,    2, 0x0a /* Public */,
      32,    1,  168,    2, 0x0a /* Public */,
      33,    1,  171,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QColor,    3,
    QMetaType::Void, QMetaType::QColor,    5,
    QMetaType::Void, QMetaType::QColor,    7,
    QMetaType::Void, QMetaType::Float,    9,
    QMetaType::Void, QMetaType::Float,   11,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, 0x80000000 | 13,   16,
    QMetaType::Void, 0x80000000 | 13,   18,
    QMetaType::Void, 0x80000000 | 13,   20,
    QMetaType::Void, 0x80000000 | 22,   23,

 // slots: parameters
    QMetaType::Void, QMetaType::QColor,    3,
    QMetaType::Void, QMetaType::QColor,    5,
    QMetaType::Void, QMetaType::QColor,    7,
    QMetaType::Void, QMetaType::Float,    9,
    QMetaType::Void, QMetaType::Float,   11,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, 0x80000000 | 13,   16,
    QMetaType::Void, 0x80000000 | 13,   18,
    QMetaType::Void, 0x80000000 | 13,   20,
    QMetaType::Void, 0x80000000 | 22,   23,

 // properties: name, type, flags
       3, QMetaType::QColor, 0x00495103,
       5, QMetaType::QColor, 0x00495103,
       7, QMetaType::QColor, 0x00495103,
       9, QMetaType::Float, 0x00495103,
      11, QMetaType::Float, 0x00495103,
      14, 0x80000000 | 13, 0x0049510b,
      16, 0x80000000 | 13, 0x0049510b,
      18, 0x80000000 | 13, 0x0049510b,
      20, 0x80000000 | 13, 0x0049510b,
      23, 0x80000000 | 22, 0x0049510b,

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

       0        // eod
};

void Qt3DExtras::QPhongAlphaMaterial::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QPhongAlphaMaterial *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->ambientChanged((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 1: _t->diffuseChanged((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 2: _t->specularChanged((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 3: _t->shininessChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 4: _t->alphaChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 5: _t->sourceRgbArgChanged((*reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending(*)>(_a[1]))); break;
        case 6: _t->destinationRgbArgChanged((*reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending(*)>(_a[1]))); break;
        case 7: _t->sourceAlphaArgChanged((*reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending(*)>(_a[1]))); break;
        case 8: _t->destinationAlphaArgChanged((*reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending(*)>(_a[1]))); break;
        case 9: _t->blendFunctionArgChanged((*reinterpret_cast< Qt3DRender::QBlendEquation::BlendFunction(*)>(_a[1]))); break;
        case 10: _t->setAmbient((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 11: _t->setDiffuse((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 12: _t->setSpecular((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 13: _t->setShininess((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 14: _t->setAlpha((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 15: _t->setSourceRgbArg((*reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending(*)>(_a[1]))); break;
        case 16: _t->setDestinationRgbArg((*reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending(*)>(_a[1]))); break;
        case 17: _t->setSourceAlphaArg((*reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending(*)>(_a[1]))); break;
        case 18: _t->setDestinationAlphaArg((*reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending(*)>(_a[1]))); break;
        case 19: _t->setBlendFunctionArg((*reinterpret_cast< Qt3DRender::QBlendEquation::BlendFunction(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QPhongAlphaMaterial::*)(const QColor & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPhongAlphaMaterial::ambientChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QPhongAlphaMaterial::*)(const QColor & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPhongAlphaMaterial::diffuseChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QPhongAlphaMaterial::*)(const QColor & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPhongAlphaMaterial::specularChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QPhongAlphaMaterial::*)(float );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPhongAlphaMaterial::shininessChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QPhongAlphaMaterial::*)(float );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPhongAlphaMaterial::alphaChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QPhongAlphaMaterial::*)(Qt3DRender::QBlendEquationArguments::Blending );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPhongAlphaMaterial::sourceRgbArgChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QPhongAlphaMaterial::*)(Qt3DRender::QBlendEquationArguments::Blending );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPhongAlphaMaterial::destinationRgbArgChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QPhongAlphaMaterial::*)(Qt3DRender::QBlendEquationArguments::Blending );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPhongAlphaMaterial::sourceAlphaArgChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (QPhongAlphaMaterial::*)(Qt3DRender::QBlendEquationArguments::Blending );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPhongAlphaMaterial::destinationAlphaArgChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (QPhongAlphaMaterial::*)(Qt3DRender::QBlendEquation::BlendFunction );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QPhongAlphaMaterial::blendFunctionArgChanged)) {
                *result = 9;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QPhongAlphaMaterial *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QColor*>(_v) = _t->ambient(); break;
        case 1: *reinterpret_cast< QColor*>(_v) = _t->diffuse(); break;
        case 2: *reinterpret_cast< QColor*>(_v) = _t->specular(); break;
        case 3: *reinterpret_cast< float*>(_v) = _t->shininess(); break;
        case 4: *reinterpret_cast< float*>(_v) = _t->alpha(); break;
        case 5: *reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending*>(_v) = _t->sourceRgbArg(); break;
        case 6: *reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending*>(_v) = _t->destinationRgbArg(); break;
        case 7: *reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending*>(_v) = _t->sourceAlphaArg(); break;
        case 8: *reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending*>(_v) = _t->destinationAlphaArg(); break;
        case 9: *reinterpret_cast< Qt3DRender::QBlendEquation::BlendFunction*>(_v) = _t->blendFunctionArg(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QPhongAlphaMaterial *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setAmbient(*reinterpret_cast< QColor*>(_v)); break;
        case 1: _t->setDiffuse(*reinterpret_cast< QColor*>(_v)); break;
        case 2: _t->setSpecular(*reinterpret_cast< QColor*>(_v)); break;
        case 3: _t->setShininess(*reinterpret_cast< float*>(_v)); break;
        case 4: _t->setAlpha(*reinterpret_cast< float*>(_v)); break;
        case 5: _t->setSourceRgbArg(*reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending*>(_v)); break;
        case 6: _t->setDestinationRgbArg(*reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending*>(_v)); break;
        case 7: _t->setSourceAlphaArg(*reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending*>(_v)); break;
        case 8: _t->setDestinationAlphaArg(*reinterpret_cast< Qt3DRender::QBlendEquationArguments::Blending*>(_v)); break;
        case 9: _t->setBlendFunctionArg(*reinterpret_cast< Qt3DRender::QBlendEquation::BlendFunction*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

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

QT_INIT_METAOBJECT const QMetaObject Qt3DExtras::QPhongAlphaMaterial::staticMetaObject = { {
    QMetaObject::SuperData::link<Qt3DRender::QMaterial::staticMetaObject>(),
    qt_meta_stringdata_Qt3DExtras__QPhongAlphaMaterial.data,
    qt_meta_data_Qt3DExtras__QPhongAlphaMaterial,
    qt_static_metacall,
    qt_meta_extradata_Qt3DExtras__QPhongAlphaMaterial,
    nullptr
} };


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

void *Qt3DExtras::QPhongAlphaMaterial::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Qt3DExtras__QPhongAlphaMaterial.stringdata0))
        return static_cast<void*>(this);
    return Qt3DRender::QMaterial::qt_metacast(_clname);
}

int Qt3DExtras::QPhongAlphaMaterial::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Qt3DRender::QMaterial::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)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _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 Qt3DExtras::QPhongAlphaMaterial::ambientChanged(const QColor & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Qt3DExtras::QPhongAlphaMaterial::diffuseChanged(const QColor & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Qt3DExtras::QPhongAlphaMaterial::specularChanged(const QColor & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Qt3DExtras::QPhongAlphaMaterial::shininessChanged(float _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Qt3DExtras::QPhongAlphaMaterial::alphaChanged(float _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Qt3DExtras::QPhongAlphaMaterial::sourceRgbArgChanged(Qt3DRender::QBlendEquationArguments::Blending _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Qt3DExtras::QPhongAlphaMaterial::destinationRgbArgChanged(Qt3DRender::QBlendEquationArguments::Blending _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Qt3DExtras::QPhongAlphaMaterial::sourceAlphaArgChanged(Qt3DRender::QBlendEquationArguments::Blending _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Qt3DExtras::QPhongAlphaMaterial::destinationAlphaArgChanged(Qt3DRender::QBlendEquationArguments::Blending _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void Qt3DExtras::QPhongAlphaMaterial::blendFunctionArgChanged(Qt3DRender::QBlendEquation::BlendFunction _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
