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

template <> constexpr inline auto KWin::Compositor::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin10CompositorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::Compositor",
        "compositingToggled",
        "",
        "active",
        "effectsEnabledChanged",
        "enabled",
        "aboutToDestroy",
        "aboutToToggleCompositing",
        "sceneCreated",
        "composite",
        "RenderLoop*",
        "renderLoop",
        "handleDConfigUserTypeChanged",
        "type",
        "handleFrameRequested",
        "skip",
        "handleScreenShotStart",
        "handlePropertiesChanged",
        "interfaceName",
        "QVariantMap",
        "properties",
        "handleScreenShotStop"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'compositingToggled'
        QtMocHelpers::SignalData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'effectsEnabledChanged'
        QtMocHelpers::SignalData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Signal 'aboutToDestroy'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'aboutToToggleCompositing'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sceneCreated'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'composite'
        QtMocHelpers::SlotData<void(RenderLoop *)>(9, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Slot 'handleDConfigUserTypeChanged'
        QtMocHelpers::SlotData<void(const QString &)>(12, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 13 },
        }}),
        // Slot 'handleFrameRequested'
        QtMocHelpers::SlotData<void(RenderLoop *, bool)>(14, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 10, 11 }, { QMetaType::Bool, 15 },
        }}),
        // Slot 'handleScreenShotStart'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'handlePropertiesChanged'
        QtMocHelpers::SlotData<void(const QString &, const QVariantMap &)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 18 }, { 0x80000000 | 19, 20 },
        }}),
        // Slot 'handleScreenShotStop'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Compositor, qt_meta_tag_ZN4KWin10CompositorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWin::Compositor::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin10CompositorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin10CompositorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4KWin10CompositorE_t>.metaTypes,
    nullptr
} };

void KWin::Compositor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Compositor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->compositingToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->effectsEnabledChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->aboutToDestroy(); break;
        case 3: _t->aboutToToggleCompositing(); break;
        case 4: _t->sceneCreated(); break;
        case 5: _t->composite((*reinterpret_cast<std::add_pointer_t<RenderLoop*>>(_a[1]))); break;
        case 6: _t->handleDConfigUserTypeChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 7: _t->handleFrameRequested((*reinterpret_cast<std::add_pointer_t<RenderLoop*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 8: _t->handleScreenShotStart(); break;
        case 9: _t->handlePropertiesChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[2]))); break;
        case 10: _t->handleScreenShotStop(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Compositor::*)(bool )>(_a, &Compositor::compositingToggled, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Compositor::*)(bool )>(_a, &Compositor::effectsEnabledChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Compositor::*)()>(_a, &Compositor::aboutToDestroy, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Compositor::*)()>(_a, &Compositor::aboutToToggleCompositing, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Compositor::*)()>(_a, &Compositor::sceneCreated, 4))
            return;
    }
}

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

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

int KWin::Compositor::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;
    }
    return _id;
}

// SIGNAL 0
void KWin::Compositor::compositingToggled(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

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

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

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

// SIGNAL 4
void KWin::Compositor::sceneCreated()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
namespace {
struct qt_meta_tag_ZN4KWin17WaylandCompositorE_t {};
} // unnamed namespace

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

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

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

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

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

int KWin::WaylandCompositor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Compositor::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN4KWin13X11CompositorE_t {};
} // unnamed namespace

template <> constexpr inline auto KWin::X11Compositor::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin13X11CompositorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::X11Compositor",
        "SuspendReason",
        "NoReasonSuspend",
        "UserSuspend",
        "BlockRuleSuspend",
        "ScriptSuspend",
        "AllReasonSuspend",
        "SuspendReasons"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'SuspendReason'
        QtMocHelpers::EnumData<enum SuspendReason>(1, 1, QMC::EnumFlags{}).add({
            {    2, SuspendReason::NoReasonSuspend },
            {    3, SuspendReason::UserSuspend },
            {    4, SuspendReason::BlockRuleSuspend },
            {    5, SuspendReason::ScriptSuspend },
            {    6, SuspendReason::AllReasonSuspend },
        }),
        // flag 'SuspendReasons'
        QtMocHelpers::EnumData<SuspendReasons>(7, 1, QMC::EnumIsFlag).add({
            {    2, SuspendReason::NoReasonSuspend },
            {    3, SuspendReason::UserSuspend },
            {    4, SuspendReason::BlockRuleSuspend },
            {    5, SuspendReason::ScriptSuspend },
            {    6, SuspendReason::AllReasonSuspend },
        }),
    };
    return QtMocHelpers::metaObjectData<X11Compositor, qt_meta_tag_ZN4KWin13X11CompositorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWin::X11Compositor::staticMetaObject = { {
    QMetaObject::SuperData::link<Compositor::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin13X11CompositorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin13X11CompositorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4KWin13X11CompositorE_t>.metaTypes,
    nullptr
} };

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

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

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

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