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

template <> constexpr inline auto LXQt::Panel::WayfireImpl::qt_create_metaobjectdata<qt_meta_tag_ZN4LXQt5Panel11WayfireImplE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LXQt::Panel::WayfireImpl",
        "wayfireEvent",
        "",
        "QJsonDocument",
        "response",
        "uint32_t",
        "started"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'wayfireEvent'
        QtMocHelpers::SignalData<void(QJsonDocument)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'response'
        QtMocHelpers::SignalData<void(uint32_t, QJsonDocument)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 2 }, { 0x80000000 | 3, 2 },
        }}),
        // Signal 'started'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<WayfireImpl, qt_meta_tag_ZN4LXQt5Panel11WayfireImplE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject LXQt::Panel::WayfireImpl::staticMetaObject = { {
    QMetaObject::SuperData::link<QThread::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4LXQt5Panel11WayfireImplE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4LXQt5Panel11WayfireImplE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4LXQt5Panel11WayfireImplE_t>.metaTypes,
    nullptr
} };

void LXQt::Panel::WayfireImpl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<WayfireImpl *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->wayfireEvent((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 1: _t->response((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[2]))); break;
        case 2: _t->started(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (WayfireImpl::*)(QJsonDocument )>(_a, &WayfireImpl::wayfireEvent, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (WayfireImpl::*)(uint32_t , QJsonDocument )>(_a, &WayfireImpl::response, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (WayfireImpl::*)()>(_a, &WayfireImpl::started, 2))
            return;
    }
}

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

void *LXQt::Panel::WayfireImpl::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4LXQt5Panel11WayfireImplE_t>.strings))
        return static_cast<void*>(this);
    return QThread::qt_metacast(_clname);
}

int LXQt::Panel::WayfireImpl::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QThread::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 LXQt::Panel::WayfireImpl::wayfireEvent(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void LXQt::Panel::WayfireImpl::response(uint32_t _t1, QJsonDocument _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void LXQt::Panel::WayfireImpl::started()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
namespace {
struct qt_meta_tag_ZN4LXQt5Panel7WayfireE_t {};
} // unnamed namespace

template <> constexpr inline auto LXQt::Panel::Wayfire::qt_create_metaobjectdata<qt_meta_tag_ZN4LXQt5Panel7WayfireE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LXQt::Panel::Wayfire",
        "outputAdded",
        "",
        "QJsonDocument",
        "outputRemoved",
        "outputFocused",
        "workspaceSetChanged",
        "workspaceChanged",
        "viewMapped",
        "viewFocused",
        "viewTitleChanged",
        "viewAppIdChanged",
        "viewGeometryChanged",
        "viewTiled",
        "viewMinimized",
        "viewOutputChanged",
        "viewWorkspaceChanged",
        "viewUnmapped",
        "genericEvent",
        "error"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'outputAdded'
        QtMocHelpers::SignalData<void(QJsonDocument)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'outputRemoved'
        QtMocHelpers::SignalData<void(QJsonDocument)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'outputFocused'
        QtMocHelpers::SignalData<void(QJsonDocument)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'workspaceSetChanged'
        QtMocHelpers::SignalData<void(QJsonDocument)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'workspaceChanged'
        QtMocHelpers::SignalData<void(QJsonDocument)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'viewMapped'
        QtMocHelpers::SignalData<void(QJsonDocument)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'viewFocused'
        QtMocHelpers::SignalData<void(QJsonDocument)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'viewTitleChanged'
        QtMocHelpers::SignalData<void(QJsonDocument)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'viewAppIdChanged'
        QtMocHelpers::SignalData<void(QJsonDocument)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'viewGeometryChanged'
        QtMocHelpers::SignalData<void(QJsonDocument)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'viewTiled'
        QtMocHelpers::SignalData<void(QJsonDocument)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'viewMinimized'
        QtMocHelpers::SignalData<void(QJsonDocument)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'viewOutputChanged'
        QtMocHelpers::SignalData<void(QJsonDocument)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'viewWorkspaceChanged'
        QtMocHelpers::SignalData<void(QJsonDocument)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'viewUnmapped'
        QtMocHelpers::SignalData<void(QJsonDocument)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'genericEvent'
        QtMocHelpers::SignalData<void(QJsonDocument)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'error'
        QtMocHelpers::SignalData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Wayfire, qt_meta_tag_ZN4LXQt5Panel7WayfireE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject LXQt::Panel::Wayfire::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4LXQt5Panel7WayfireE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4LXQt5Panel7WayfireE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4LXQt5Panel7WayfireE_t>.metaTypes,
    nullptr
} };

void LXQt::Panel::Wayfire::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Wayfire *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->outputAdded((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 1: _t->outputRemoved((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 2: _t->outputFocused((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 3: _t->workspaceSetChanged((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 4: _t->workspaceChanged((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 5: _t->viewMapped((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 6: _t->viewFocused((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 7: _t->viewTitleChanged((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 8: _t->viewAppIdChanged((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 9: _t->viewGeometryChanged((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 10: _t->viewTiled((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 11: _t->viewMinimized((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 12: _t->viewOutputChanged((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 13: _t->viewWorkspaceChanged((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 14: _t->viewUnmapped((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 15: _t->genericEvent((*reinterpret_cast<std::add_pointer_t<QJsonDocument>>(_a[1]))); break;
        case 16: _t->error(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::outputAdded, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::outputRemoved, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::outputFocused, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::workspaceSetChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::workspaceChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::viewMapped, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::viewFocused, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::viewTitleChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::viewAppIdChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::viewGeometryChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::viewTiled, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::viewMinimized, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::viewOutputChanged, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::viewWorkspaceChanged, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::viewUnmapped, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)(QJsonDocument )>(_a, &Wayfire::genericEvent, 15))
            return;
        if (QtMocHelpers::indexOfMethod<void (Wayfire::*)()>(_a, &Wayfire::error, 16))
            return;
    }
}

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

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

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

// SIGNAL 0
void LXQt::Panel::Wayfire::outputAdded(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void LXQt::Panel::Wayfire::outputRemoved(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void LXQt::Panel::Wayfire::outputFocused(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void LXQt::Panel::Wayfire::workspaceSetChanged(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void LXQt::Panel::Wayfire::workspaceChanged(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void LXQt::Panel::Wayfire::viewMapped(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void LXQt::Panel::Wayfire::viewFocused(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void LXQt::Panel::Wayfire::viewTitleChanged(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void LXQt::Panel::Wayfire::viewAppIdChanged(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void LXQt::Panel::Wayfire::viewGeometryChanged(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void LXQt::Panel::Wayfire::viewTiled(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

// SIGNAL 11
void LXQt::Panel::Wayfire::viewMinimized(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1);
}

// SIGNAL 12
void LXQt::Panel::Wayfire::viewOutputChanged(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}

// SIGNAL 13
void LXQt::Panel::Wayfire::viewWorkspaceChanged(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 13, nullptr, _t1);
}

// SIGNAL 14
void LXQt::Panel::Wayfire::viewUnmapped(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1);
}

// SIGNAL 15
void LXQt::Panel::Wayfire::genericEvent(QJsonDocument _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 15, nullptr, _t1);
}

// SIGNAL 16
void LXQt::Panel::Wayfire::error()
{
    QMetaObject::activate(this, &staticMetaObject, 16, nullptr);
}
QT_WARNING_POP
