/****************************************************************************
** Meta object code from reading C++ file 'decorationstyle.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 "../../windowstyle/decorationstyle.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 'decorationstyle.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_ZN4KWin15DecorationStyleE_t {};
} // unnamed namespace

template <> constexpr inline auto KWin::DecorationStyle::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin15DecorationStyleE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::DecorationStyle",
        "validPropertiesChanged",
        "",
        "validProperties",
        "themeChanged",
        "windowRadiusChanged",
        "borderWidthChanged",
        "borderColorChanged",
        "shadowRadiusChanged",
        "shadowOffectChanged",
        "shadowColorChanged",
        "mouseInputAreaMarginsChanged",
        "windowPixelRatioChanged",
        "windowEffectChanged",
        "windowStartUpEffectChanged",
        "setValidProperties",
        "theme",
        "windowRadius",
        "QPointF",
        "borderWidth",
        "borderColor",
        "QColor",
        "shadowRadius",
        "shadowOffset",
        "shadowColor",
        "mouseInputAreaMargins",
        "QMarginsF",
        "windowPixelRatio",
        "windowEffect",
        "windowStartUpEffect",
        "PropertyFlags",
        "PropertyFlag",
        "ThemeProperty",
        "WindowRadiusProperty",
        "BorderWidthProperty",
        "BorderColorProperty",
        "ShadowRadiusProperty",
        "ShadowOffsetProperty",
        "ShadowColorProperty",
        "MouseInputAreaMargins",
        "WindowPixelRatioProperty",
        "WindowEffectProperty",
        "WindowStartUpEffectProperty",
        "effectScenes",
        "effectScene",
        "effectNoRadius",
        "effectNoShadow",
        "effectNoBorder",
        "effectNoStart",
        "effectNoClose",
        "effectNoMax",
        "effectNoMin"
    };

    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),
        // Signal 'windowEffectChanged'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'windowStartUpEffectChanged'
        QtMocHelpers::SignalData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setValidProperties'
        QtMocHelpers::SlotData<void(qint64)>(15, 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>(16, QMetaType::QString, QMC::DefaultPropertyFlags, 1),
        // property 'windowRadius'
        QtMocHelpers::PropertyData<QPointF>(17, 0x80000000 | 18, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 2),
        // property 'borderWidth'
        QtMocHelpers::PropertyData<qreal>(19, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'borderColor'
        QtMocHelpers::PropertyData<QColor>(20, 0x80000000 | 21, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 4),
        // property 'shadowRadius'
        QtMocHelpers::PropertyData<qreal>(22, QMetaType::QReal, QMC::DefaultPropertyFlags, 5),
        // property 'shadowOffset'
        QtMocHelpers::PropertyData<QPointF>(23, 0x80000000 | 18, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 6),
        // property 'shadowColor'
        QtMocHelpers::PropertyData<QColor>(24, 0x80000000 | 21, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 7),
        // property 'mouseInputAreaMargins'
        QtMocHelpers::PropertyData<QMarginsF>(25, 0x80000000 | 26, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 8),
        // property 'windowPixelRatio'
        QtMocHelpers::PropertyData<qreal>(27, QMetaType::QReal, QMC::DefaultPropertyFlags, 9),
        // property 'windowEffect'
        QtMocHelpers::PropertyData<qint64>(28, QMetaType::LongLong, QMC::DefaultPropertyFlags, 10),
        // property 'windowStartUpEffect'
        QtMocHelpers::PropertyData<qreal>(29, QMetaType::QReal, QMC::DefaultPropertyFlags, 11),
    };
    QtMocHelpers::UintData qt_enums {
        // flag 'PropertyFlags'
        QtMocHelpers::EnumData<PropertyFlags>(30, 31, QMC::EnumIsFlag).add({
            {   32, PropertyFlag::ThemeProperty },
            {   33, PropertyFlag::WindowRadiusProperty },
            {   34, PropertyFlag::BorderWidthProperty },
            {   35, PropertyFlag::BorderColorProperty },
            {   36, PropertyFlag::ShadowRadiusProperty },
            {   37, PropertyFlag::ShadowOffsetProperty },
            {   38, PropertyFlag::ShadowColorProperty },
            {   39, PropertyFlag::MouseInputAreaMargins },
            {   40, PropertyFlag::WindowPixelRatioProperty },
            {   41, PropertyFlag::WindowEffectProperty },
            {   42, PropertyFlag::WindowStartUpEffectProperty },
        }),
        // flag 'effectScenes'
        QtMocHelpers::EnumData<effectScenes>(43, 44, QMC::EnumIsFlag).add({
            {   45, effectScene::effectNoRadius },
            {   46, effectScene::effectNoShadow },
            {   47, effectScene::effectNoBorder },
            {   48, effectScene::effectNoStart },
            {   49, effectScene::effectNoClose },
            {   50, effectScene::effectNoMax },
            {   51, effectScene::effectNoMin },
        }),
    };
    return QtMocHelpers::metaObjectData<DecorationStyle, qt_meta_tag_ZN4KWin15DecorationStyleE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWin::DecorationStyle::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15DecorationStyleE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15DecorationStyleE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4KWin15DecorationStyleE_t>.metaTypes,
    nullptr
} };

void KWin::DecorationStyle::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DecorationStyle *>(_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->windowEffectChanged(); break;
        case 11: _t->windowStartUpEffectChanged(); break;
        case 12: _t->setValidProperties((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DecorationStyle::*)(qint64 )>(_a, &DecorationStyle::validPropertiesChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DecorationStyle::*)()>(_a, &DecorationStyle::themeChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DecorationStyle::*)()>(_a, &DecorationStyle::windowRadiusChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (DecorationStyle::*)()>(_a, &DecorationStyle::borderWidthChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (DecorationStyle::*)()>(_a, &DecorationStyle::borderColorChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (DecorationStyle::*)()>(_a, &DecorationStyle::shadowRadiusChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (DecorationStyle::*)()>(_a, &DecorationStyle::shadowOffectChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (DecorationStyle::*)()>(_a, &DecorationStyle::shadowColorChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (DecorationStyle::*)()>(_a, &DecorationStyle::mouseInputAreaMarginsChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (DecorationStyle::*)()>(_a, &DecorationStyle::windowPixelRatioChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (DecorationStyle::*)()>(_a, &DecorationStyle::windowEffectChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (DecorationStyle::*)()>(_a, &DecorationStyle::windowStartUpEffectChanged, 11))
            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;
        case 10: *reinterpret_cast<qint64*>(_v) = _t->windowEffect(); break;
        case 11: *reinterpret_cast<qreal*>(_v) = _t->windowStartUpEffect(); 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;
        case 3: _t->setBorderWidth(*reinterpret_cast<qreal*>(_v)); break;
        case 4: _t->setBorderColor(*reinterpret_cast<QColor*>(_v)); break;
        case 7: _t->setShadowColor(*reinterpret_cast<QColor*>(_v)); break;
        default: break;
        }
    }
}

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

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

int KWin::DecorationStyle::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 -= 12;
    }
    return _id;
}

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

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

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

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

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

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

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

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

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

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

// SIGNAL 10
void KWin::DecorationStyle::windowEffectChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void KWin::DecorationStyle::windowStartUpEffectChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}
namespace {
struct qt_meta_tag_ZN4KWin18X11DecorationStyleE_t {};
} // unnamed namespace

template <> constexpr inline auto KWin::X11DecorationStyle::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin18X11DecorationStyleE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::X11DecorationStyle"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<X11DecorationStyle, qt_meta_tag_ZN4KWin18X11DecorationStyleE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWin::X11DecorationStyle::staticMetaObject = { {
    QMetaObject::SuperData::link<DecorationStyle::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin18X11DecorationStyleE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin18X11DecorationStyleE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4KWin18X11DecorationStyleE_t>.metaTypes,
    nullptr
} };

void KWin::X11DecorationStyle::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<X11DecorationStyle *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

void *KWin::X11DecorationStyle::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin18X11DecorationStyleE_t>.strings))
        return static_cast<void*>(this);
    return DecorationStyle::qt_metacast(_clname);
}

int KWin::X11DecorationStyle::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DecorationStyle::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN4KWin22WaylandDecorationStyleE_t {};
} // unnamed namespace

template <> constexpr inline auto KWin::WaylandDecorationStyle::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin22WaylandDecorationStyleE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::WaylandDecorationStyle"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<WaylandDecorationStyle, qt_meta_tag_ZN4KWin22WaylandDecorationStyleE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWin::WaylandDecorationStyle::staticMetaObject = { {
    QMetaObject::SuperData::link<DecorationStyle::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin22WaylandDecorationStyleE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin22WaylandDecorationStyleE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4KWin22WaylandDecorationStyleE_t>.metaTypes,
    nullptr
} };

void KWin::WaylandDecorationStyle::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<WaylandDecorationStyle *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

void *KWin::WaylandDecorationStyle::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin22WaylandDecorationStyleE_t>.strings))
        return static_cast<void*>(this);
    return DecorationStyle::qt_metacast(_clname);
}

int KWin::WaylandDecorationStyle::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DecorationStyle::qt_metacall(_c, _id, _a);
    return _id;
}
QT_WARNING_POP
