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

template <> constexpr inline auto KWin::WindowStyleManager::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin18WindowStyleManagerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::WindowStyleManager",
        "sigRadiusChanged",
        "",
        "float&",
        "sigThemeChanged",
        "bool&",
        "sigScaleChanged",
        "onRadiusChange",
        "QVariant",
        "onThemeChange",
        "onWindowAdded",
        "Window*",
        "onWindowMaxiChanged",
        "onWindowActiveChanged",
        "onGeometryShapeChanged",
        "QRectF",
        "onCompositingChanged",
        "onWaylandWindowCustomEffect",
        "uint32_t",
        "onWaylandWindowStartUpEffect"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sigRadiusChanged'
        QtMocHelpers::SignalData<void(float &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'sigThemeChanged'
        QtMocHelpers::SignalData<void(bool &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 2 },
        }}),
        // Signal 'sigScaleChanged'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onRadiusChange'
        QtMocHelpers::SlotData<void(QVariant)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 2 },
        }}),
        // Slot 'onThemeChange'
        QtMocHelpers::SlotData<void(QVariant)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 2 },
        }}),
        // Slot 'onWindowAdded'
        QtMocHelpers::SlotData<void(Window *)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 2 },
        }}),
        // Slot 'onWindowMaxiChanged'
        QtMocHelpers::SlotData<void(Window *, bool, bool)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 2 }, { QMetaType::Bool, 2 }, { QMetaType::Bool, 2 },
        }}),
        // Slot 'onWindowActiveChanged'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onGeometryShapeChanged'
        QtMocHelpers::SlotData<void(Window *, QRectF)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 2 }, { 0x80000000 | 15, 2 },
        }}),
        // Slot 'onCompositingChanged'
        QtMocHelpers::SlotData<void(bool)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'onWaylandWindowCustomEffect'
        QtMocHelpers::SlotData<void(uint32_t)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 2 },
        }}),
        // Slot 'onWaylandWindowStartUpEffect'
        QtMocHelpers::SlotData<void(uint32_t)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<WindowStyleManager, qt_meta_tag_ZN4KWin18WindowStyleManagerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWin::WindowStyleManager::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin18WindowStyleManagerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin18WindowStyleManagerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4KWin18WindowStyleManagerE_t>.metaTypes,
    nullptr
} };

void KWin::WindowStyleManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<WindowStyleManager *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sigRadiusChanged((*reinterpret_cast<std::add_pointer_t<float&>>(_a[1]))); break;
        case 1: _t->sigThemeChanged((*reinterpret_cast<std::add_pointer_t<bool&>>(_a[1]))); break;
        case 2: _t->sigScaleChanged(); break;
        case 3: _t->onRadiusChange((*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[1]))); break;
        case 4: _t->onThemeChange((*reinterpret_cast<std::add_pointer_t<QVariant>>(_a[1]))); break;
        case 5: _t->onWindowAdded((*reinterpret_cast<std::add_pointer_t<Window*>>(_a[1]))); break;
        case 6: _t->onWindowMaxiChanged((*reinterpret_cast<std::add_pointer_t<Window*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 7: _t->onWindowActiveChanged(); break;
        case 8: _t->onGeometryShapeChanged((*reinterpret_cast<std::add_pointer_t<Window*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QRectF>>(_a[2]))); break;
        case 9: _t->onCompositingChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 10: _t->onWaylandWindowCustomEffect((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1]))); break;
        case 11: _t->onWaylandWindowStartUpEffect((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (WindowStyleManager::*)(float & )>(_a, &WindowStyleManager::sigRadiusChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (WindowStyleManager::*)(bool & )>(_a, &WindowStyleManager::sigThemeChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (WindowStyleManager::*)()>(_a, &WindowStyleManager::sigScaleChanged, 2))
            return;
    }
}

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

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

int KWin::WindowStyleManager::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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void KWin::WindowStyleManager::sigRadiusChanged(float & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void KWin::WindowStyleManager::sigThemeChanged(bool & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void KWin::WindowStyleManager::sigScaleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
