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

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

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

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

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

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

int KWin::X11DecorationRenderer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DecorationRenderer::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN4KWin9X11WindowE_t {};
} // unnamed namespace

template <> constexpr inline auto KWin::X11Window::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin9X11WindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::X11Window",
        "clientManaging",
        "",
        "KWin::X11Window*",
        "clientFullScreenSet",
        "showRequest",
        "menuHidden",
        "appMenuAvailable",
        "appMenuUnavailable",
        "blockingCompositingChanged",
        "client",
        "clientSideDecoratedChanged",
        "closeWindow",
        "updateCaption",
        "basicUnit",
        "QSizeF",
        "blocksCompositing",
        "clientSideDecorated",
        "frameId",
        "windowId"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'clientManaging'
        QtMocHelpers::SignalData<void(KWin::X11Window *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'clientFullScreenSet'
        QtMocHelpers::SignalData<void(KWin::X11Window *, bool, bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 }, { QMetaType::Bool, 2 }, { QMetaType::Bool, 2 },
        }}),
        // Signal 'showRequest'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'menuHidden'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'appMenuAvailable'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'appMenuUnavailable'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'blockingCompositingChanged'
        QtMocHelpers::SignalData<void(KWin::X11Window *)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 10 },
        }}),
        // Signal 'clientSideDecoratedChanged'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'closeWindow'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateCaption'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'basicUnit'
        QtMocHelpers::PropertyData<QSizeF>(14, 0x80000000 | 15, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'blocksCompositing'
        QtMocHelpers::PropertyData<bool>(16, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable, 6),
        // property 'clientSideDecorated'
        QtMocHelpers::PropertyData<bool>(17, QMetaType::Bool, QMC::DefaultPropertyFlags, 7),
        // property 'frameId'
        QtMocHelpers::PropertyData<qulonglong>(18, QMetaType::ULongLong, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'windowId'
        QtMocHelpers::PropertyData<qulonglong>(19, QMetaType::ULongLong, QMC::DefaultPropertyFlags | QMC::Constant),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<X11Window, qt_meta_tag_ZN4KWin9X11WindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWin::X11Window::staticMetaObject = { {
    QMetaObject::SuperData::link<Window::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin9X11WindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin9X11WindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4KWin9X11WindowE_t>.metaTypes,
    nullptr
} };

void KWin::X11Window::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<X11Window *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->clientManaging((*reinterpret_cast<std::add_pointer_t<KWin::X11Window*>>(_a[1]))); break;
        case 1: _t->clientFullScreenSet((*reinterpret_cast<std::add_pointer_t<KWin::X11Window*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 2: _t->showRequest(); break;
        case 3: _t->menuHidden(); break;
        case 4: _t->appMenuAvailable(); break;
        case 5: _t->appMenuUnavailable(); break;
        case 6: _t->blockingCompositingChanged((*reinterpret_cast<std::add_pointer_t<KWin::X11Window*>>(_a[1]))); break;
        case 7: _t->clientSideDecoratedChanged(); break;
        case 8: _t->closeWindow(); break;
        case 9: _t->updateCaption(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KWin::X11Window* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KWin::X11Window* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KWin::X11Window* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (X11Window::*)(KWin::X11Window * )>(_a, &X11Window::clientManaging, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (X11Window::*)(KWin::X11Window * , bool , bool )>(_a, &X11Window::clientFullScreenSet, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (X11Window::*)()>(_a, &X11Window::showRequest, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (X11Window::*)()>(_a, &X11Window::menuHidden, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (X11Window::*)()>(_a, &X11Window::appMenuAvailable, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (X11Window::*)()>(_a, &X11Window::appMenuUnavailable, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (X11Window::*)(KWin::X11Window * )>(_a, &X11Window::blockingCompositingChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (X11Window::*)()>(_a, &X11Window::clientSideDecoratedChanged, 7))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QSizeF*>(_v) = _t->basicUnit(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->isBlockingCompositing(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->isClientSideDecorated(); break;
        case 3: *reinterpret_cast<qulonglong*>(_v) = _t->frameId(); break;
        case 4: *reinterpret_cast<qulonglong*>(_v) = _t->window(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setBlockingCompositing(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

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

int KWin::X11Window::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Window::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    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 KWin::X11Window::clientManaging(KWin::X11Window * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void KWin::X11Window::clientFullScreenSet(KWin::X11Window * _t1, bool _t2, bool _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3);
}

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

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

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

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

// SIGNAL 6
void KWin::X11Window::blockingCompositingChanged(KWin::X11Window * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void KWin::X11Window::clientSideDecoratedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
