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

#include "qml_material/item/blur_mask.hpp"
#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 'blur_mask.hpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.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_ZN12qml_material8BlurMaskE_t {};
} // unnamed namespace

template <> constexpr inline auto qml_material::BlurMask::qt_create_metaobjectdata<qt_meta_tag_ZN12qml_material8BlurMaskE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "qml_material::BlurMask",
        "QML.Element",
        "BlurMaskImpl",
        "sigmaChanged",
        "",
        "radiusChanged",
        "colorChanged",
        "QColor",
        "cornersChanged",
        "CornersGroup",
        "styleChanged",
        "Style",
        "sigma",
        "radius",
        "color",
        "corners",
        "qml_material::CornersGroup",
        "style",
        "Normal",
        "Solid",
        "Outer",
        "Inner"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sigmaChanged'
        QtMocHelpers::SignalData<void(qreal)>(3, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QReal, 4 },
        }}),
        // Signal 'radiusChanged'
        QtMocHelpers::SignalData<void(qreal)>(5, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QReal, 4 },
        }}),
        // Signal 'colorChanged'
        QtMocHelpers::SignalData<void(QColor)>(6, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 4 },
        }}),
        // Signal 'cornersChanged'
        QtMocHelpers::SignalData<void(CornersGroup)>(8, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 4 },
        }}),
        // Signal 'styleChanged'
        QtMocHelpers::SignalData<void(enum Style)>(10, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'sigma'
        QtMocHelpers::PropertyData<qreal>(12, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 0),
        // property 'radius'
        QtMocHelpers::PropertyData<qreal>(13, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 1),
        // property 'color'
        QtMocHelpers::PropertyData<QColor>(14, 0x80000000 | 7, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 2),
        // property 'corners'
        QtMocHelpers::PropertyData<qml_material::CornersGroup>(15, 0x80000000 | 16, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 3),
        // property 'style'
        QtMocHelpers::PropertyData<enum Style>(17, 0x80000000 | 11, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 4),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Style'
        QtMocHelpers::EnumData<enum Style>(11, 11, QMC::EnumFlags{}).add({
            {   18, Style::Normal },
            {   19, Style::Solid },
            {   20, Style::Outer },
            {   21, Style::Inner },
        }),
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<BlurMask, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject qml_material::BlurMask::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuickItem::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12qml_material8BlurMaskE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12qml_material8BlurMaskE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12qml_material8BlurMaskE_t>.metaTypes,
    nullptr
} };

void qml_material::BlurMask::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<BlurMask *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sigmaChanged((*reinterpret_cast<std::add_pointer_t<qreal>>(_a[1]))); break;
        case 1: _t->radiusChanged((*reinterpret_cast<std::add_pointer_t<qreal>>(_a[1]))); break;
        case 2: _t->colorChanged((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1]))); break;
        case 3: _t->cornersChanged((*reinterpret_cast<std::add_pointer_t<CornersGroup>>(_a[1]))); break;
        case 4: _t->styleChanged((*reinterpret_cast<std::add_pointer_t<enum Style>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (BlurMask::*)(qreal )>(_a, &BlurMask::sigmaChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (BlurMask::*)(qreal )>(_a, &BlurMask::radiusChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (BlurMask::*)(QColor )>(_a, &BlurMask::colorChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (BlurMask::*)(CornersGroup )>(_a, &BlurMask::cornersChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (BlurMask::*)(Style )>(_a, &BlurMask::styleChanged, 4))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<qreal*>(_v) = _t->sigma(); break;
        case 1: *reinterpret_cast<qreal*>(_v) = _t->radius(); break;
        case 2: *reinterpret_cast<QColor*>(_v) = _t->color(); break;
        case 3: *reinterpret_cast<qml_material::CornersGroup*>(_v) = _t->corners(); break;
        case 4: *reinterpret_cast<enum Style*>(_v) = _t->style(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSigma(*reinterpret_cast<qreal*>(_v)); break;
        case 1: _t->setRadius(*reinterpret_cast<qreal*>(_v)); break;
        case 2: _t->setColor(*reinterpret_cast<QColor*>(_v)); break;
        case 3: _t->setCorners(*reinterpret_cast<qml_material::CornersGroup*>(_v)); break;
        case 4: _t->setStyle(*reinterpret_cast<enum Style*>(_v)); break;
        default: break;
        }
    }
}

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

void *qml_material::BlurMask::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12qml_material8BlurMaskE_t>.strings))
        return static_cast<void*>(this);
    return QQuickItem::qt_metacast(_clname);
}

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

// SIGNAL 0
void qml_material::BlurMask::sigmaChanged(qreal _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void qml_material::BlurMask::radiusChanged(qreal _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void qml_material::BlurMask::colorChanged(QColor _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void qml_material::BlurMask::cornersChanged(CornersGroup _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void qml_material::BlurMask::styleChanged(Style _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}
QT_WARNING_POP
