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

template <> constexpr inline auto KWin::ScriptingModels::V2::ClientModel::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin15ScriptingModels2V211ClientModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::ScriptingModels::V2::ClientModel",
        "exclusionsChanged",
        "",
        "levelBeginInsert",
        "rowStart",
        "rowEnd",
        "parentId",
        "levelEndInsert",
        "levelBeginRemove",
        "levelEndRemove",
        "exclusions",
        "Exclusions",
        "Exclusion",
        "NoExclusion",
        "DesktopWindowsExclusion",
        "DockWindowsExclusion",
        "UtilityWindowsExclusion",
        "SpecialWindowsExclusion",
        "SkipTaskbarExclusion",
        "SkipPagerExclusion",
        "SwitchSwitcherExclusion",
        "OtherDesktopsExclusion",
        "OtherActivitiesExclusion",
        "MinimizedExclusion",
        "NonSelectedWindowTabExclusion",
        "NotAcceptingFocusExclusion",
        "LevelRestriction",
        "NoRestriction",
        "VirtualDesktopRestriction",
        "ScreenRestriction",
        "ActivityRestriction",
        "LevelRestrictions"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'exclusionsChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'levelBeginInsert'
        QtMocHelpers::SlotData<void(int, int, quint32)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 4 }, { QMetaType::Int, 5 }, { QMetaType::UInt, 6 },
        }}),
        // Slot 'levelEndInsert'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'levelBeginRemove'
        QtMocHelpers::SlotData<void(int, int, quint32)>(8, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 4 }, { QMetaType::Int, 5 }, { QMetaType::UInt, 6 },
        }}),
        // Slot 'levelEndRemove'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'exclusions'
        QtMocHelpers::PropertyData<Exclusions>(10, 0x80000000 | 11, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 0),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Exclusion'
        QtMocHelpers::EnumData<enum Exclusion>(12, 12, QMC::EnumFlags{}).add({
            {   13, Exclusion::NoExclusion },
            {   14, Exclusion::DesktopWindowsExclusion },
            {   15, Exclusion::DockWindowsExclusion },
            {   16, Exclusion::UtilityWindowsExclusion },
            {   17, Exclusion::SpecialWindowsExclusion },
            {   18, Exclusion::SkipTaskbarExclusion },
            {   19, Exclusion::SkipPagerExclusion },
            {   20, Exclusion::SwitchSwitcherExclusion },
            {   21, Exclusion::OtherDesktopsExclusion },
            {   22, Exclusion::OtherActivitiesExclusion },
            {   23, Exclusion::MinimizedExclusion },
            {   24, Exclusion::NonSelectedWindowTabExclusion },
            {   25, Exclusion::NotAcceptingFocusExclusion },
        }),
        // flag 'Exclusions'
        QtMocHelpers::EnumData<Exclusions>(11, 12, QMC::EnumIsFlag).add({
            {   13, Exclusion::NoExclusion },
            {   14, Exclusion::DesktopWindowsExclusion },
            {   15, Exclusion::DockWindowsExclusion },
            {   16, Exclusion::UtilityWindowsExclusion },
            {   17, Exclusion::SpecialWindowsExclusion },
            {   18, Exclusion::SkipTaskbarExclusion },
            {   19, Exclusion::SkipPagerExclusion },
            {   20, Exclusion::SwitchSwitcherExclusion },
            {   21, Exclusion::OtherDesktopsExclusion },
            {   22, Exclusion::OtherActivitiesExclusion },
            {   23, Exclusion::MinimizedExclusion },
            {   24, Exclusion::NonSelectedWindowTabExclusion },
            {   25, Exclusion::NotAcceptingFocusExclusion },
        }),
        // enum 'LevelRestriction'
        QtMocHelpers::EnumData<enum LevelRestriction>(26, 26, QMC::EnumFlags{}).add({
            {   27, LevelRestriction::NoRestriction },
            {   28, LevelRestriction::VirtualDesktopRestriction },
            {   29, LevelRestriction::ScreenRestriction },
            {   30, LevelRestriction::ActivityRestriction },
        }),
        // flag 'LevelRestrictions'
        QtMocHelpers::EnumData<LevelRestrictions>(31, 26, QMC::EnumIsFlag).add({
            {   27, LevelRestriction::NoRestriction },
            {   28, LevelRestriction::VirtualDesktopRestriction },
            {   29, LevelRestriction::ScreenRestriction },
            {   30, LevelRestriction::ActivityRestriction },
        }),
    };
    return QtMocHelpers::metaObjectData<ClientModel, qt_meta_tag_ZN4KWin15ScriptingModels2V211ClientModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWin::ScriptingModels::V2::ClientModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractItemModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V211ClientModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V211ClientModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4KWin15ScriptingModels2V211ClientModelE_t>.metaTypes,
    nullptr
} };

void KWin::ScriptingModels::V2::ClientModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ClientModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->exclusionsChanged(); break;
        case 1: _t->levelBeginInsert((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<quint32>>(_a[3]))); break;
        case 2: _t->levelEndInsert(); break;
        case 3: _t->levelBeginRemove((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<quint32>>(_a[3]))); break;
        case 4: _t->levelEndRemove(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ClientModel::*)()>(_a, &ClientModel::exclusionsChanged, 0))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: QtMocHelpers::assignFlags<Exclusions>(_v, _t->exclusions()); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setExclusions(*reinterpret_cast<Exclusions*>(_v)); break;
        default: break;
        }
    }
}

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

void *KWin::ScriptingModels::V2::ClientModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V211ClientModelE_t>.strings))
        return static_cast<void*>(this);
    return QAbstractItemModel::qt_metacast(_clname);
}

int KWin::ScriptingModels::V2::ClientModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 5;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void KWin::ScriptingModels::V2::ClientModel::exclusionsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
namespace {
struct qt_meta_tag_ZN4KWin15ScriptingModels2V213AbstractLevelE_t {};
} // unnamed namespace

template <> constexpr inline auto KWin::ScriptingModels::V2::AbstractLevel::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin15ScriptingModels2V213AbstractLevelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::ScriptingModels::V2::AbstractLevel",
        "beginInsert",
        "",
        "rowStart",
        "rowEnd",
        "parentId",
        "endInsert",
        "beginRemove",
        "endRemove"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'beginInsert'
        QtMocHelpers::SignalData<void(int, int, quint32)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { QMetaType::Int, 4 }, { QMetaType::UInt, 5 },
        }}),
        // Signal 'endInsert'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'beginRemove'
        QtMocHelpers::SignalData<void(int, int, quint32)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { QMetaType::Int, 4 }, { QMetaType::UInt, 5 },
        }}),
        // Signal 'endRemove'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AbstractLevel, qt_meta_tag_ZN4KWin15ScriptingModels2V213AbstractLevelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWin::ScriptingModels::V2::AbstractLevel::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V213AbstractLevelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V213AbstractLevelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4KWin15ScriptingModels2V213AbstractLevelE_t>.metaTypes,
    nullptr
} };

void KWin::ScriptingModels::V2::AbstractLevel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AbstractLevel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->beginInsert((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<quint32>>(_a[3]))); break;
        case 1: _t->endInsert(); break;
        case 2: _t->beginRemove((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<quint32>>(_a[3]))); break;
        case 3: _t->endRemove(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AbstractLevel::*)(int , int , quint32 )>(_a, &AbstractLevel::beginInsert, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractLevel::*)()>(_a, &AbstractLevel::endInsert, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractLevel::*)(int , int , quint32 )>(_a, &AbstractLevel::beginRemove, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractLevel::*)()>(_a, &AbstractLevel::endRemove, 3))
            return;
    }
}

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

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

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

// SIGNAL 0
void KWin::ScriptingModels::V2::AbstractLevel::beginInsert(int _t1, int _t2, quint32 _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3);
}

// SIGNAL 1
void KWin::ScriptingModels::V2::AbstractLevel::endInsert()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KWin::ScriptingModels::V2::AbstractLevel::beginRemove(int _t1, int _t2, quint32 _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2, _t3);
}

// SIGNAL 3
void KWin::ScriptingModels::V2::AbstractLevel::endRemove()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
namespace {
struct qt_meta_tag_ZN4KWin15ScriptingModels2V29ForkLevelE_t {};
} // unnamed namespace

template <> constexpr inline auto KWin::ScriptingModels::V2::ForkLevel::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin15ScriptingModels2V29ForkLevelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::ScriptingModels::V2::ForkLevel",
        "desktopCountChanged",
        "",
        "previousCount",
        "newCount",
        "activityAdded",
        "id",
        "activityRemoved",
        "outputAdded",
        "outputRemoved"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'desktopCountChanged'
        QtMocHelpers::SlotData<void(uint, uint)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::UInt, 3 }, { QMetaType::UInt, 4 },
        }}),
        // Slot 'activityAdded'
        QtMocHelpers::SlotData<void(const QString &)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Slot 'activityRemoved'
        QtMocHelpers::SlotData<void(const QString &)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Slot 'outputAdded'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'outputRemoved'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ForkLevel, qt_meta_tag_ZN4KWin15ScriptingModels2V29ForkLevelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWin::ScriptingModels::V2::ForkLevel::staticMetaObject = { {
    QMetaObject::SuperData::link<AbstractLevel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V29ForkLevelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V29ForkLevelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4KWin15ScriptingModels2V29ForkLevelE_t>.metaTypes,
    nullptr
} };

void KWin::ScriptingModels::V2::ForkLevel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ForkLevel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->desktopCountChanged((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[2]))); break;
        case 1: _t->activityAdded((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->activityRemoved((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->outputAdded(); break;
        case 4: _t->outputRemoved(); break;
        default: ;
        }
    }
}

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

void *KWin::ScriptingModels::V2::ForkLevel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V29ForkLevelE_t>.strings))
        return static_cast<void*>(this);
    return AbstractLevel::qt_metacast(_clname);
}

int KWin::ScriptingModels::V2::ForkLevel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractLevel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 5;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN4KWin15ScriptingModels2V211ClientLevelE_t {};
} // unnamed namespace

template <> constexpr inline auto KWin::ScriptingModels::V2::ClientLevel::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin15ScriptingModels2V211ClientLevelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::ScriptingModels::V2::ClientLevel",
        "clientAdded",
        "",
        "KWin::Window*",
        "client",
        "clientRemoved",
        "reInit"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'clientAdded'
        QtMocHelpers::SlotData<void(KWin::Window *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'clientRemoved'
        QtMocHelpers::SlotData<void(KWin::Window *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'reInit'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ClientLevel, qt_meta_tag_ZN4KWin15ScriptingModels2V211ClientLevelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWin::ScriptingModels::V2::ClientLevel::staticMetaObject = { {
    QMetaObject::SuperData::link<AbstractLevel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V211ClientLevelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V211ClientLevelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4KWin15ScriptingModels2V211ClientLevelE_t>.metaTypes,
    nullptr
} };

void KWin::ScriptingModels::V2::ClientLevel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ClientLevel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->clientAdded((*reinterpret_cast<std::add_pointer_t<KWin::Window*>>(_a[1]))); break;
        case 1: _t->clientRemoved((*reinterpret_cast<std::add_pointer_t<KWin::Window*>>(_a[1]))); break;
        case 2: _t->reInit(); break;
        default: ;
        }
    }
}

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

void *KWin::ScriptingModels::V2::ClientLevel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V211ClientLevelE_t>.strings))
        return static_cast<void*>(this);
    return AbstractLevel::qt_metacast(_clname);
}

int KWin::ScriptingModels::V2::ClientLevel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractLevel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 3;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN4KWin15ScriptingModels2V217SimpleClientModelE_t {};
} // unnamed namespace

template <> constexpr inline auto KWin::ScriptingModels::V2::SimpleClientModel::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin15ScriptingModels2V217SimpleClientModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::ScriptingModels::V2::SimpleClientModel"
    };

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

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

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

void *KWin::ScriptingModels::V2::SimpleClientModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V217SimpleClientModelE_t>.strings))
        return static_cast<void*>(this);
    return ClientModel::qt_metacast(_clname);
}

int KWin::ScriptingModels::V2::SimpleClientModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ClientModel::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN4KWin15ScriptingModels2V219ClientModelByScreenE_t {};
} // unnamed namespace

template <> constexpr inline auto KWin::ScriptingModels::V2::ClientModelByScreen::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin15ScriptingModels2V219ClientModelByScreenE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::ScriptingModels::V2::ClientModelByScreen"
    };

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

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

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

void *KWin::ScriptingModels::V2::ClientModelByScreen::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V219ClientModelByScreenE_t>.strings))
        return static_cast<void*>(this);
    return ClientModel::qt_metacast(_clname);
}

int KWin::ScriptingModels::V2::ClientModelByScreen::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ClientModel::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN4KWin15ScriptingModels2V229ClientModelByScreenAndDesktopE_t {};
} // unnamed namespace

template <> constexpr inline auto KWin::ScriptingModels::V2::ClientModelByScreenAndDesktop::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin15ScriptingModels2V229ClientModelByScreenAndDesktopE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::ScriptingModels::V2::ClientModelByScreenAndDesktop"
    };

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

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

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

void *KWin::ScriptingModels::V2::ClientModelByScreenAndDesktop::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V229ClientModelByScreenAndDesktopE_t>.strings))
        return static_cast<void*>(this);
    return ClientModel::qt_metacast(_clname);
}

int KWin::ScriptingModels::V2::ClientModelByScreenAndDesktop::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ClientModel::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN4KWin15ScriptingModels2V230ClientModelByScreenAndActivityE_t {};
} // unnamed namespace

template <> constexpr inline auto KWin::ScriptingModels::V2::ClientModelByScreenAndActivity::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin15ScriptingModels2V230ClientModelByScreenAndActivityE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::ScriptingModels::V2::ClientModelByScreenAndActivity"
    };

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

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

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

void *KWin::ScriptingModels::V2::ClientModelByScreenAndActivity::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V230ClientModelByScreenAndActivityE_t>.strings))
        return static_cast<void*>(this);
    return ClientModel::qt_metacast(_clname);
}

int KWin::ScriptingModels::V2::ClientModelByScreenAndActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ClientModel::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN4KWin15ScriptingModels2V217ClientFilterModelE_t {};
} // unnamed namespace

template <> constexpr inline auto KWin::ScriptingModels::V2::ClientFilterModel::qt_create_metaobjectdata<qt_meta_tag_ZN4KWin15ScriptingModels2V217ClientFilterModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWin::ScriptingModels::V2::ClientFilterModel",
        "clientModelChanged",
        "",
        "filterChanged",
        "setClientModel",
        "ClientModel*",
        "clientModel",
        "setFilter",
        "filter",
        "KWin::ScriptingModels::V2::ClientModel*"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'clientModelChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'filterChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setClientModel'
        QtMocHelpers::SlotData<void(ClientModel *)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Slot 'setFilter'
        QtMocHelpers::SlotData<void(const QString &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'clientModel'
        QtMocHelpers::PropertyData<KWin::ScriptingModels::V2::ClientModel*>(6, 0x80000000 | 9, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 0),
        // property 'filter'
        QtMocHelpers::PropertyData<QString>(8, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ClientFilterModel, qt_meta_tag_ZN4KWin15ScriptingModels2V217ClientFilterModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWin::ScriptingModels::V2::ClientFilterModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QSortFilterProxyModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V217ClientFilterModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V217ClientFilterModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4KWin15ScriptingModels2V217ClientFilterModelE_t>.metaTypes,
    nullptr
} };

void KWin::ScriptingModels::V2::ClientFilterModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ClientFilterModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->clientModelChanged(); break;
        case 1: _t->filterChanged(); break;
        case 2: _t->setClientModel((*reinterpret_cast<std::add_pointer_t<ClientModel*>>(_a[1]))); break;
        case 3: _t->setFilter((*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 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ClientModel* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ClientFilterModel::*)()>(_a, &ClientFilterModel::clientModelChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ClientFilterModel::*)()>(_a, &ClientFilterModel::filterChanged, 1))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWin::ScriptingModels::V2::ClientModel* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<KWin::ScriptingModels::V2::ClientModel**>(_v) = _t->clientModel(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->filter(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setClientModel(*reinterpret_cast<KWin::ScriptingModels::V2::ClientModel**>(_v)); break;
        case 1: _t->setFilter(*reinterpret_cast<QString*>(_v)); break;
        default: break;
        }
    }
}

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

void *KWin::ScriptingModels::V2::ClientFilterModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4KWin15ScriptingModels2V217ClientFilterModelE_t>.strings))
        return static_cast<void*>(this);
    return QSortFilterProxyModel::qt_metacast(_clname);
}

int KWin::ScriptingModels::V2::ClientFilterModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSortFilterProxyModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    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 KWin::ScriptingModels::V2::ClientFilterModel::clientModelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KWin::ScriptingModels::V2::ClientFilterModel::filterChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
