/****************************************************************************
** Meta object code from reading C++ file 'lxqtplasmavirtualdesktop.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 "../../../../../../../lxqt-panel-2.4.0/panel/backends/wayland/kwin_wayland/lxqtplasmavirtualdesktop.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 'lxqtplasmavirtualdesktop.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_ZN24LXQtPlasmaVirtualDesktopE_t {};
} // unnamed namespace

template <> constexpr inline auto LXQtPlasmaVirtualDesktop::qt_create_metaobjectdata<qt_meta_tag_ZN24LXQtPlasmaVirtualDesktopE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LXQtPlasmaVirtualDesktop",
        "done",
        "",
        "activated",
        "nameChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'done'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'activated'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'nameChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<LXQtPlasmaVirtualDesktop, qt_meta_tag_ZN24LXQtPlasmaVirtualDesktopE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject LXQtPlasmaVirtualDesktop::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24LXQtPlasmaVirtualDesktopE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24LXQtPlasmaVirtualDesktopE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN24LXQtPlasmaVirtualDesktopE_t>.metaTypes,
    nullptr
} };

void LXQtPlasmaVirtualDesktop::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<LXQtPlasmaVirtualDesktop *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->done(); break;
        case 1: _t->activated(); break;
        case 2: _t->nameChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (LXQtPlasmaVirtualDesktop::*)()>(_a, &LXQtPlasmaVirtualDesktop::done, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (LXQtPlasmaVirtualDesktop::*)()>(_a, &LXQtPlasmaVirtualDesktop::activated, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (LXQtPlasmaVirtualDesktop::*)()>(_a, &LXQtPlasmaVirtualDesktop::nameChanged, 2))
            return;
    }
}

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

void *LXQtPlasmaVirtualDesktop::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24LXQtPlasmaVirtualDesktopE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QtWayland::org_kde_plasma_virtual_desktop"))
        return static_cast< QtWayland::org_kde_plasma_virtual_desktop*>(this);
    return QObject::qt_metacast(_clname);
}

int LXQtPlasmaVirtualDesktop::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 < 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;
}

// SIGNAL 0
void LXQtPlasmaVirtualDesktop::done()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void LXQtPlasmaVirtualDesktop::activated()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void LXQtPlasmaVirtualDesktop::nameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
namespace {
struct qt_meta_tag_ZN33LXQtPlasmaVirtualDesktopManagmentE_t {};
} // unnamed namespace

template <> constexpr inline auto LXQtPlasmaVirtualDesktopManagment::qt_create_metaobjectdata<qt_meta_tag_ZN33LXQtPlasmaVirtualDesktopManagmentE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LXQtPlasmaVirtualDesktopManagment",
        "desktopCreated",
        "",
        "id",
        "position",
        "desktopRemoved",
        "rowsChanged",
        "rows"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'desktopCreated'
        QtMocHelpers::SignalData<void(const QString &, quint32)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::UInt, 4 },
        }}),
        // Signal 'desktopRemoved'
        QtMocHelpers::SignalData<void(const QString &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'rowsChanged'
        QtMocHelpers::SignalData<void(const quint32)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 7 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<LXQtPlasmaVirtualDesktopManagment, qt_meta_tag_ZN33LXQtPlasmaVirtualDesktopManagmentE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject LXQtPlasmaVirtualDesktopManagment::staticMetaObject = { {
    QMetaObject::SuperData::link<QWaylandClientExtensionTemplate<LXQtPlasmaVirtualDesktopManagment>::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN33LXQtPlasmaVirtualDesktopManagmentE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN33LXQtPlasmaVirtualDesktopManagmentE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN33LXQtPlasmaVirtualDesktopManagmentE_t>.metaTypes,
    nullptr
} };

void LXQtPlasmaVirtualDesktopManagment::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<LXQtPlasmaVirtualDesktopManagment *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->desktopCreated((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<quint32>>(_a[2]))); break;
        case 1: _t->desktopRemoved((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->rowsChanged((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (LXQtPlasmaVirtualDesktopManagment::*)(const QString & , quint32 )>(_a, &LXQtPlasmaVirtualDesktopManagment::desktopCreated, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (LXQtPlasmaVirtualDesktopManagment::*)(const QString & )>(_a, &LXQtPlasmaVirtualDesktopManagment::desktopRemoved, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (LXQtPlasmaVirtualDesktopManagment::*)(const quint32 )>(_a, &LXQtPlasmaVirtualDesktopManagment::rowsChanged, 2))
            return;
    }
}

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

void *LXQtPlasmaVirtualDesktopManagment::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN33LXQtPlasmaVirtualDesktopManagmentE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QtWayland::org_kde_plasma_virtual_desktop_management"))
        return static_cast< QtWayland::org_kde_plasma_virtual_desktop_management*>(this);
    return QWaylandClientExtensionTemplate<LXQtPlasmaVirtualDesktopManagment>::qt_metacast(_clname);
}

int LXQtPlasmaVirtualDesktopManagment::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWaylandClientExtensionTemplate<LXQtPlasmaVirtualDesktopManagment>::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;
}

// SIGNAL 0
void LXQtPlasmaVirtualDesktopManagment::desktopCreated(const QString & _t1, quint32 _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

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

// SIGNAL 2
void LXQtPlasmaVirtualDesktopManagment::rowsChanged(const quint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN30LXQtPlasmaWaylandWorkspaceInfoE_t {};
} // unnamed namespace

template <> constexpr inline auto LXQtPlasmaWaylandWorkspaceInfo::qt_create_metaobjectdata<qt_meta_tag_ZN30LXQtPlasmaWaylandWorkspaceInfoE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LXQtPlasmaWaylandWorkspaceInfo",
        "currentDesktopChanged",
        "",
        "numberOfDesktopsChanged",
        "navigationWrappingAroundChanged",
        "desktopIdsChanged",
        "desktopNameChanged",
        "position",
        "desktopLayoutRowsChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'currentDesktopChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'numberOfDesktopsChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'navigationWrappingAroundChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'desktopIdsChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'desktopNameChanged'
        QtMocHelpers::SignalData<void(quint32)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 7 },
        }}),
        // Signal 'desktopLayoutRowsChanged'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<LXQtPlasmaWaylandWorkspaceInfo, qt_meta_tag_ZN30LXQtPlasmaWaylandWorkspaceInfoE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject LXQtPlasmaWaylandWorkspaceInfo::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN30LXQtPlasmaWaylandWorkspaceInfoE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN30LXQtPlasmaWaylandWorkspaceInfoE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN30LXQtPlasmaWaylandWorkspaceInfoE_t>.metaTypes,
    nullptr
} };

void LXQtPlasmaWaylandWorkspaceInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<LXQtPlasmaWaylandWorkspaceInfo *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->currentDesktopChanged(); break;
        case 1: _t->numberOfDesktopsChanged(); break;
        case 2: _t->navigationWrappingAroundChanged(); break;
        case 3: _t->desktopIdsChanged(); break;
        case 4: _t->desktopNameChanged((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        case 5: _t->desktopLayoutRowsChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (LXQtPlasmaWaylandWorkspaceInfo::*)()>(_a, &LXQtPlasmaWaylandWorkspaceInfo::currentDesktopChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (LXQtPlasmaWaylandWorkspaceInfo::*)()>(_a, &LXQtPlasmaWaylandWorkspaceInfo::numberOfDesktopsChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (LXQtPlasmaWaylandWorkspaceInfo::*)()>(_a, &LXQtPlasmaWaylandWorkspaceInfo::navigationWrappingAroundChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (LXQtPlasmaWaylandWorkspaceInfo::*)()>(_a, &LXQtPlasmaWaylandWorkspaceInfo::desktopIdsChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (LXQtPlasmaWaylandWorkspaceInfo::*)(quint32 )>(_a, &LXQtPlasmaWaylandWorkspaceInfo::desktopNameChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (LXQtPlasmaWaylandWorkspaceInfo::*)()>(_a, &LXQtPlasmaWaylandWorkspaceInfo::desktopLayoutRowsChanged, 5))
            return;
    }
}

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

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

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

// SIGNAL 0
void LXQtPlasmaWaylandWorkspaceInfo::currentDesktopChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void LXQtPlasmaWaylandWorkspaceInfo::numberOfDesktopsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void LXQtPlasmaWaylandWorkspaceInfo::navigationWrappingAroundChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void LXQtPlasmaWaylandWorkspaceInfo::desktopIdsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

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

// SIGNAL 5
void LXQtPlasmaWaylandWorkspaceInfo::desktopLayoutRowsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
