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

#include "../../chameleonwindowtheme.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 'chameleonwindowtheme.h' 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_ZN20ChameleonWindowThemeE_t {};
} // unnamed namespace

template <> constexpr inline auto ChameleonWindowTheme::qt_create_metaobjectdata<qt_meta_tag_ZN20ChameleonWindowThemeE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ChameleonWindowTheme",
        "validPropertiesChanged",
        "",
        "validProperties",
        "themeChanged",
        "windowRadiusChanged",
        "borderWidthChanged",
        "borderColorChanged",
        "shadowRadiusChanged",
        "shadowOffectChanged",
        "shadowColorChanged",
        "mouseInputAreaMarginsChanged",
        "windowPixelRatioChanged",
        "setValidProperties",
        "theme",
        "windowRadius",
        "QPointF",
        "borderWidth",
        "borderColor",
        "QColor",
        "shadowRadius",
        "shadowOffset",
        "shadowColor",
        "mouseInputAreaMargins",
        "QMarginsF",
        "windowPixelRatio",
        "PropertyFlags",
        "PropertyFlag",
        "ThemeProperty",
        "WindowRadiusProperty",
        "BorderWidthProperty",
        "BorderColorProperty",
        "ShadowRadiusProperty",
        "ShadowOffsetProperty",
        "ShadowColorProperty",
        "MouseInputAreaMargins",
        "WindowPixelRatioProperty"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'validPropertiesChanged'
        QtMocHelpers::SignalData<void(qint64)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 3 },
        }}),
        // Signal 'themeChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'windowRadiusChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'borderWidthChanged'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'borderColorChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'shadowRadiusChanged'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'shadowOffectChanged'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'shadowColorChanged'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'mouseInputAreaMarginsChanged'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'windowPixelRatioChanged'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setValidProperties'
        QtMocHelpers::SlotData<void(qint64)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 3 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'validProperties'
        QtMocHelpers::PropertyData<qint64>(3, QMetaType::LongLong, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'theme'
        QtMocHelpers::PropertyData<QString>(14, QMetaType::QString, QMC::DefaultPropertyFlags, 1),
        // property 'windowRadius'
        QtMocHelpers::PropertyData<QPointF>(15, 0x80000000 | 16, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 2),
        // property 'borderWidth'
        QtMocHelpers::PropertyData<qreal>(17, QMetaType::QReal, QMC::DefaultPropertyFlags, 3),
        // property 'borderColor'
        QtMocHelpers::PropertyData<QColor>(18, 0x80000000 | 19, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 4),
        // property 'shadowRadius'
        QtMocHelpers::PropertyData<qreal>(20, QMetaType::QReal, QMC::DefaultPropertyFlags, 5),
        // property 'shadowOffset'
        QtMocHelpers::PropertyData<QPointF>(21, 0x80000000 | 16, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 6),
        // property 'shadowColor'
        QtMocHelpers::PropertyData<QColor>(22, 0x80000000 | 19, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 7),
        // property 'mouseInputAreaMargins'
        QtMocHelpers::PropertyData<QMarginsF>(23, 0x80000000 | 24, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 8),
        // property 'windowPixelRatio'
        QtMocHelpers::PropertyData<qreal>(25, QMetaType::QReal, QMC::DefaultPropertyFlags, 9),
    };
    QtMocHelpers::UintData qt_enums {
        // flag 'PropertyFlags'
        QtMocHelpers::EnumData<PropertyFlags>(26, 27, QMC::EnumIsFlag).add({
            {   28, PropertyFlag::ThemeProperty },
            {   29, PropertyFlag::WindowRadiusProperty },
            {   30, PropertyFlag::BorderWidthProperty },
            {   31, PropertyFlag::BorderColorProperty },
            {   32, PropertyFlag::ShadowRadiusProperty },
            {   33, PropertyFlag::ShadowOffsetProperty },
            {   34, PropertyFlag::ShadowColorProperty },
            {   35, PropertyFlag::MouseInputAreaMargins },
            {   36, PropertyFlag::WindowPixelRatioProperty },
        }),
    };
    return QtMocHelpers::metaObjectData<ChameleonWindowTheme, qt_meta_tag_ZN20ChameleonWindowThemeE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ChameleonWindowTheme::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20ChameleonWindowThemeE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20ChameleonWindowThemeE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN20ChameleonWindowThemeE_t>.metaTypes,
    nullptr
} };

void ChameleonWindowTheme::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ChameleonWindowTheme *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->validPropertiesChanged((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
        case 1: _t->themeChanged(); break;
        case 2: _t->windowRadiusChanged(); break;
        case 3: _t->borderWidthChanged(); break;
        case 4: _t->borderColorChanged(); break;
        case 5: _t->shadowRadiusChanged(); break;
        case 6: _t->shadowOffectChanged(); break;
        case 7: _t->shadowColorChanged(); break;
        case 8: _t->mouseInputAreaMarginsChanged(); break;
        case 9: _t->windowPixelRatioChanged(); break;
        case 10: _t->setValidProperties((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ChameleonWindowTheme::*)(qint64 )>(_a, &ChameleonWindowTheme::validPropertiesChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ChameleonWindowTheme::*)()>(_a, &ChameleonWindowTheme::themeChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ChameleonWindowTheme::*)()>(_a, &ChameleonWindowTheme::windowRadiusChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ChameleonWindowTheme::*)()>(_a, &ChameleonWindowTheme::borderWidthChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (ChameleonWindowTheme::*)()>(_a, &ChameleonWindowTheme::borderColorChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (ChameleonWindowTheme::*)()>(_a, &ChameleonWindowTheme::shadowRadiusChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (ChameleonWindowTheme::*)()>(_a, &ChameleonWindowTheme::shadowOffectChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (ChameleonWindowTheme::*)()>(_a, &ChameleonWindowTheme::shadowColorChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (ChameleonWindowTheme::*)()>(_a, &ChameleonWindowTheme::mouseInputAreaMarginsChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (ChameleonWindowTheme::*)()>(_a, &ChameleonWindowTheme::windowPixelRatioChanged, 9))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 8:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMarginsF >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<qint64*>(_v) = _t->validProperties(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->theme(); break;
        case 2: *reinterpret_cast<QPointF*>(_v) = _t->windowRadius(); break;
        case 3: *reinterpret_cast<qreal*>(_v) = _t->borderWidth(); break;
        case 4: *reinterpret_cast<QColor*>(_v) = _t->borderColor(); break;
        case 5: *reinterpret_cast<qreal*>(_v) = _t->shadowRadius(); break;
        case 6: *reinterpret_cast<QPointF*>(_v) = _t->shadowOffset(); break;
        case 7: *reinterpret_cast<QColor*>(_v) = _t->shadowColor(); break;
        case 8: *reinterpret_cast<QMarginsF*>(_v) = _t->mouseInputAreaMargins(); break;
        case 9: *reinterpret_cast<qreal*>(_v) = _t->windowPixelRatio(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setValidProperties(*reinterpret_cast<qint64*>(_v)); break;
        case 2: _t->setWindowRadius(*reinterpret_cast<QPointF*>(_v)); break;
        default: break;
        }
    }
}

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

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

int ChameleonWindowTheme::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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 11;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void ChameleonWindowTheme::validPropertiesChanged(qint64 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

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

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

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

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

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

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

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

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

// SIGNAL 9
void ChameleonWindowTheme::windowPixelRatioChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
