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

#include "../../../../../qt3d/src/render/materialsystem/qgraphicsapifilter.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qgraphicsapifilter.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.12.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN10Qt3DRender18QGraphicsApiFilterE_t {};
} // unnamed namespace

template <> constexpr inline auto Qt3DRender::QGraphicsApiFilter::qt_create_metaobjectdata<qt_meta_tag_ZN10Qt3DRender18QGraphicsApiFilterE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Qt3DRender::QGraphicsApiFilter",
        "apiChanged",
        "",
        "Qt3DRender::QGraphicsApiFilter::Api",
        "api",
        "profileChanged",
        "Qt3DRender::QGraphicsApiFilter::OpenGLProfile",
        "profile",
        "minorVersionChanged",
        "minorVersion",
        "majorVersionChanged",
        "majorVersion",
        "extensionsChanged",
        "extensions",
        "vendorChanged",
        "vendor",
        "graphicsApiFilterChanged",
        "setApi",
        "Api",
        "setProfile",
        "OpenGLProfile",
        "setMinorVersion",
        "setMajorVersion",
        "setExtensions",
        "setVendor",
        "OpenGLES",
        "OpenGL",
        "Vulkan",
        "DirectX",
        "RHI",
        "NoProfile",
        "CoreProfile",
        "CompatibilityProfile"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'apiChanged'
        QtMocHelpers::SignalData<void(Qt3DRender::QGraphicsApiFilter::Api)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'profileChanged'
        QtMocHelpers::SignalData<void(Qt3DRender::QGraphicsApiFilter::OpenGLProfile)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Signal 'minorVersionChanged'
        QtMocHelpers::SignalData<void(int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Signal 'majorVersionChanged'
        QtMocHelpers::SignalData<void(int)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 11 },
        }}),
        // Signal 'extensionsChanged'
        QtMocHelpers::SignalData<void(const QStringList &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 13 },
        }}),
        // Signal 'vendorChanged'
        QtMocHelpers::SignalData<void(const QString &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
        // Signal 'graphicsApiFilterChanged'
        QtMocHelpers::SignalData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setApi'
        QtMocHelpers::SlotData<void(enum Api)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 4 },
        }}),
        // Slot 'setProfile'
        QtMocHelpers::SlotData<void(enum OpenGLProfile)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 20, 7 },
        }}),
        // Slot 'setMinorVersion'
        QtMocHelpers::SlotData<void(int)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 },
        }}),
        // Slot 'setMajorVersion'
        QtMocHelpers::SlotData<void(int)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 11 },
        }}),
        // Slot 'setExtensions'
        QtMocHelpers::SlotData<void(const QStringList &)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 13 },
        }}),
        // Slot 'setVendor'
        QtMocHelpers::SlotData<void(const QString &)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'api'
        QtMocHelpers::PropertyData<Qt3DRender::QGraphicsApiFilter::Api>(4, 0x80000000 | 3, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 0),
        // property 'profile'
        QtMocHelpers::PropertyData<Qt3DRender::QGraphicsApiFilter::OpenGLProfile>(7, 0x80000000 | 6, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 1),
        // property 'minorVersion'
        QtMocHelpers::PropertyData<int>(9, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'majorVersion'
        QtMocHelpers::PropertyData<int>(11, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'extensions'
        QtMocHelpers::PropertyData<QStringList>(13, QMetaType::QStringList, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'vendor'
        QtMocHelpers::PropertyData<QString>(15, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 5),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Api'
        QtMocHelpers::EnumData<enum Api>(18, 18, QMC::EnumFlags{}).add({
            {   25, Api::OpenGLES },
            {   26, Api::OpenGL },
            {   27, Api::Vulkan },
            {   28, Api::DirectX },
            {   29, Api::RHI },
        }),
        // enum 'OpenGLProfile'
        QtMocHelpers::EnumData<enum OpenGLProfile>(20, 20, QMC::EnumFlags{}).add({
            {   30, OpenGLProfile::NoProfile },
            {   31, OpenGLProfile::CoreProfile },
            {   32, OpenGLProfile::CompatibilityProfile },
        }),
    };
    return QtMocHelpers::metaObjectData<QGraphicsApiFilter, qt_meta_tag_ZN10Qt3DRender18QGraphicsApiFilterE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Qt3DRender::QGraphicsApiFilter::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DRender18QGraphicsApiFilterE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DRender18QGraphicsApiFilterE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10Qt3DRender18QGraphicsApiFilterE_t>.metaTypes,
    nullptr
} };

void Qt3DRender::QGraphicsApiFilter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QGraphicsApiFilter *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->apiChanged((*reinterpret_cast<std::add_pointer_t<Qt3DRender::QGraphicsApiFilter::Api>>(_a[1]))); break;
        case 1: _t->profileChanged((*reinterpret_cast<std::add_pointer_t<Qt3DRender::QGraphicsApiFilter::OpenGLProfile>>(_a[1]))); break;
        case 2: _t->minorVersionChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->majorVersionChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 4: _t->extensionsChanged((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 5: _t->vendorChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 6: _t->graphicsApiFilterChanged(); break;
        case 7: _t->setApi((*reinterpret_cast<std::add_pointer_t<enum Api>>(_a[1]))); break;
        case 8: _t->setProfile((*reinterpret_cast<std::add_pointer_t<enum OpenGLProfile>>(_a[1]))); break;
        case 9: _t->setMinorVersion((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 10: _t->setMajorVersion((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 11: _t->setExtensions((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 12: _t->setVendor((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QGraphicsApiFilter::*)(Qt3DRender::QGraphicsApiFilter::Api )>(_a, &QGraphicsApiFilter::apiChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGraphicsApiFilter::*)(Qt3DRender::QGraphicsApiFilter::OpenGLProfile )>(_a, &QGraphicsApiFilter::profileChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGraphicsApiFilter::*)(int )>(_a, &QGraphicsApiFilter::minorVersionChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGraphicsApiFilter::*)(int )>(_a, &QGraphicsApiFilter::majorVersionChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGraphicsApiFilter::*)(const QStringList & )>(_a, &QGraphicsApiFilter::extensionsChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGraphicsApiFilter::*)(const QString & )>(_a, &QGraphicsApiFilter::vendorChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (QGraphicsApiFilter::*)()>(_a, &QGraphicsApiFilter::graphicsApiFilterChanged, 6))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<Qt3DRender::QGraphicsApiFilter::Api*>(_v) = _t->api(); break;
        case 1: *reinterpret_cast<Qt3DRender::QGraphicsApiFilter::OpenGLProfile*>(_v) = _t->profile(); break;
        case 2: *reinterpret_cast<int*>(_v) = _t->minorVersion(); break;
        case 3: *reinterpret_cast<int*>(_v) = _t->majorVersion(); break;
        case 4: *reinterpret_cast<QStringList*>(_v) = _t->extensions(); break;
        case 5: *reinterpret_cast<QString*>(_v) = _t->vendor(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setApi(*reinterpret_cast<Qt3DRender::QGraphicsApiFilter::Api*>(_v)); break;
        case 1: _t->setProfile(*reinterpret_cast<Qt3DRender::QGraphicsApiFilter::OpenGLProfile*>(_v)); break;
        case 2: _t->setMinorVersion(*reinterpret_cast<int*>(_v)); break;
        case 3: _t->setMajorVersion(*reinterpret_cast<int*>(_v)); break;
        case 4: _t->setExtensions(*reinterpret_cast<QStringList*>(_v)); break;
        case 5: _t->setVendor(*reinterpret_cast<QString*>(_v)); break;
        default: break;
        }
    }
}

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

void *Qt3DRender::QGraphicsApiFilter::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10Qt3DRender18QGraphicsApiFilterE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int Qt3DRender::QGraphicsApiFilter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 13;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    return _id;
}

// SIGNAL 0
void Qt3DRender::QGraphicsApiFilter::apiChanged(Qt3DRender::QGraphicsApiFilter::Api _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Qt3DRender::QGraphicsApiFilter::profileChanged(Qt3DRender::QGraphicsApiFilter::OpenGLProfile _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Qt3DRender::QGraphicsApiFilter::minorVersionChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Qt3DRender::QGraphicsApiFilter::majorVersionChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Qt3DRender::QGraphicsApiFilter::extensionsChanged(const QStringList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Qt3DRender::QGraphicsApiFilter::vendorChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void Qt3DRender::QGraphicsApiFilter::graphicsApiFilterChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
