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

template <> constexpr inline auto ChameleonConfig::qt_create_metaobjectdata<qt_meta_tag_ZN15ChameleonConfigE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ChameleonConfig",
        "activatedChanged",
        "",
        "activated",
        "themeChanged",
        "theme",
        "windowNoTitlebarPropertyChanged",
        "windowId",
        "windowForceDecoratePropertyChanged",
        "windowScissorWindowPropertyChanged",
        "windowTypeChanged",
        "window",
        "titlebarHeightChanged",
        "setTheme",
        "onConfigChanged",
        "onClientAdded",
        "KWin::Window*",
        "client",
        "onUnmanagedAdded",
        "KWin::Unmanaged*",
        "onInternalWindowAdded",
        "KWin::InternalWindow*",
        "onCompositingToggled",
        "active",
        "onAboutToToggleCompositing",
        "onWindowPropertyChanged",
        "atom",
        "onWindowDataChanged",
        "KWin::EffectWindow*",
        "role",
        "updateWindowNoBorderProperty",
        "updateWindowBlurArea",
        "updateWindowSize",
        "updateClientNoBorder",
        "allowReset",
        "updateClientClipPath",
        "debugWindowStartupTime",
        "toplevel",
        "onToplevelDamaged",
        "QRect",
        "damage",
        "onShellClientAdded",
        "KWin::WaylandWindow*",
        "updateWindowRadius",
        "updateTitlebarHeight",
        "type"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'activatedChanged'
        QtMocHelpers::SignalData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'themeChanged'
        QtMocHelpers::SignalData<void(QString)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 },
        }}),
        // Signal 'windowNoTitlebarPropertyChanged'
        QtMocHelpers::SignalData<void(quint32)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 7 },
        }}),
        // Signal 'windowForceDecoratePropertyChanged'
        QtMocHelpers::SignalData<void(quint32)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 7 },
        }}),
        // Signal 'windowScissorWindowPropertyChanged'
        QtMocHelpers::SignalData<void(quint32)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 7 },
        }}),
        // Signal 'windowTypeChanged'
        QtMocHelpers::SignalData<void(QObject *)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QObjectStar, 11 },
        }}),
        // Signal 'titlebarHeightChanged'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setTheme'
        QtMocHelpers::SlotData<bool(QString)>(13, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'onConfigChanged'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onClientAdded'
        QtMocHelpers::SlotData<void(KWin::Window *)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Slot 'onUnmanagedAdded'
        QtMocHelpers::SlotData<void(KWin::Unmanaged *)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 19, 17 },
        }}),
        // Slot 'onInternalWindowAdded'
        QtMocHelpers::SlotData<void(KWin::InternalWindow *)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 21, 17 },
        }}),
        // Slot 'onCompositingToggled'
        QtMocHelpers::SlotData<void(bool)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 23 },
        }}),
        // Slot 'onAboutToToggleCompositing'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onWindowPropertyChanged'
        QtMocHelpers::SlotData<void(quint32, quint32)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::UInt, 7 }, { QMetaType::UInt, 26 },
        }}),
        // Slot 'onWindowDataChanged'
        QtMocHelpers::SlotData<void(KWin::EffectWindow *, int)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 28, 11 }, { QMetaType::Int, 29 },
        }}),
        // Slot 'updateWindowNoBorderProperty'
        QtMocHelpers::SlotData<void(QObject *)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QObjectStar, 11 },
        }}),
        // Slot 'updateWindowBlurArea'
        QtMocHelpers::SlotData<void(KWin::EffectWindow *, int)>(31, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 28, 11 }, { QMetaType::Int, 29 },
        }}),
        // Slot 'updateWindowSize'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateClientNoBorder'
        QtMocHelpers::SlotData<void(QObject *, bool)>(33, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QObjectStar, 17 }, { QMetaType::Bool, 34 },
        }}),
        // Slot 'updateClientNoBorder'
        QtMocHelpers::SlotData<void(QObject *)>(33, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QObjectStar, 17 },
        }}),
        // Slot 'updateClientClipPath'
        QtMocHelpers::SlotData<void(QObject *)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QObjectStar, 17 },
        }}),
        // Slot 'debugWindowStartupTime'
        QtMocHelpers::SlotData<void(QObject *)>(36, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QObjectStar, 37 },
        }}),
        // Slot 'onToplevelDamaged'
        QtMocHelpers::SlotData<void(KWin::Window *, const QRect &)>(38, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 16, 37 }, { 0x80000000 | 39, 40 },
        }}),
        // Slot 'onShellClientAdded'
        QtMocHelpers::SlotData<void(KWin::WaylandWindow *)>(41, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 42, 17 },
        }}),
        // Slot 'updateWindowRadius'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateTitlebarHeight'
        QtMocHelpers::SlotData<void(const QString &)>(44, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 45 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'activated'
        QtMocHelpers::PropertyData<bool>(3, QMetaType::Bool, QMC::DefaultPropertyFlags, 0),
        // property 'theme'
        QtMocHelpers::PropertyData<QString>(5, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ChameleonConfig, qt_meta_tag_ZN15ChameleonConfigE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ChameleonConfig::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ChameleonConfigE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ChameleonConfigE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ChameleonConfigE_t>.metaTypes,
    nullptr
} };

void ChameleonConfig::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ChameleonConfig *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->activatedChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->themeChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->windowNoTitlebarPropertyChanged((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        case 3: _t->windowForceDecoratePropertyChanged((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        case 4: _t->windowScissorWindowPropertyChanged((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        case 5: _t->windowTypeChanged((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1]))); break;
        case 6: _t->titlebarHeightChanged(); break;
        case 7: { bool _r = _t->setTheme((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->onConfigChanged(); break;
        case 9: _t->onClientAdded((*reinterpret_cast<std::add_pointer_t<KWin::Window*>>(_a[1]))); break;
        case 10: _t->onUnmanagedAdded((*reinterpret_cast<std::add_pointer_t<KWin::Unmanaged*>>(_a[1]))); break;
        case 11: _t->onInternalWindowAdded((*reinterpret_cast<std::add_pointer_t<KWin::InternalWindow*>>(_a[1]))); break;
        case 12: _t->onCompositingToggled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 13: _t->onAboutToToggleCompositing(); break;
        case 14: _t->onWindowPropertyChanged((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<quint32>>(_a[2]))); break;
        case 15: _t->onWindowDataChanged((*reinterpret_cast<std::add_pointer_t<KWin::EffectWindow*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 16: _t->updateWindowNoBorderProperty((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1]))); break;
        case 17: _t->updateWindowBlurArea((*reinterpret_cast<std::add_pointer_t<KWin::EffectWindow*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 18: _t->updateWindowSize(); break;
        case 19: _t->updateClientNoBorder((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 20: _t->updateClientNoBorder((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1]))); break;
        case 21: _t->updateClientClipPath((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1]))); break;
        case 22: _t->debugWindowStartupTime((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1]))); break;
        case 23: _t->onToplevelDamaged((*reinterpret_cast<std::add_pointer_t<KWin::Window*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QRect>>(_a[2]))); break;
        case 24: _t->onShellClientAdded((*reinterpret_cast<std::add_pointer_t<KWin::WaylandWindow*>>(_a[1]))); break;
        case 25: _t->updateWindowRadius(); break;
        case 26: _t->updateTitlebarHeight((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KWin::Window* >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KWin::EffectWindow* >(); break;
            }
            break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KWin::EffectWindow* >(); break;
            }
            break;
        case 23:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KWin::Window* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ChameleonConfig::*)(bool )>(_a, &ChameleonConfig::activatedChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ChameleonConfig::*)(QString )>(_a, &ChameleonConfig::themeChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ChameleonConfig::*)(quint32 )>(_a, &ChameleonConfig::windowNoTitlebarPropertyChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ChameleonConfig::*)(quint32 )>(_a, &ChameleonConfig::windowForceDecoratePropertyChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (ChameleonConfig::*)(quint32 )>(_a, &ChameleonConfig::windowScissorWindowPropertyChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (ChameleonConfig::*)(QObject * )>(_a, &ChameleonConfig::windowTypeChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (ChameleonConfig::*)()>(_a, &ChameleonConfig::titlebarHeightChanged, 6))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->isActivated(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->theme(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setTheme(*reinterpret_cast<QString*>(_v)); break;
        default: break;
        }
    }
}

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

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

int ChameleonConfig::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 < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    return _id;
}

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

// SIGNAL 1
void ChameleonConfig::themeChanged(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void ChameleonConfig::windowNoTitlebarPropertyChanged(quint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void ChameleonConfig::windowForceDecoratePropertyChanged(quint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void ChameleonConfig::windowScissorWindowPropertyChanged(quint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void ChameleonConfig::windowTypeChanged(QObject * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void ChameleonConfig::titlebarHeightChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
