/****************************************************************************
** Meta object code from reading C++ file 'lxqtwmbackend_wlr.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/wlroots/lxqtwmbackend_wlr.h"
#include <QtCore/qmetatype.h>
#include <QtCore/qplugin.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'lxqtwmbackend_wlr.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_ZN25LXQtTaskbarWlrootsBackendE_t {};
} // unnamed namespace

template <> constexpr inline auto LXQtTaskbarWlrootsBackend::qt_create_metaobjectdata<qt_meta_tag_ZN25LXQtTaskbarWlrootsBackendE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LXQtTaskbarWlrootsBackend",
        "addWindow",
        "",
        "WId",
        "wid",
        "removeWindow",
        "removeTransient",
        "onActivatedChanged",
        "onParentChanged",
        "onTitleChanged",
        "onAppIdChanged",
        "onStateChanged",
        "onOutputsChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'addWindow'
        QtMocHelpers::SlotData<void(WId)>(1, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'removeWindow'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'removeTransient'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onActivatedChanged'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onParentChanged'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onTitleChanged'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onAppIdChanged'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onStateChanged'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onOutputsChanged'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<LXQtTaskbarWlrootsBackend, qt_meta_tag_ZN25LXQtTaskbarWlrootsBackendE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject LXQtTaskbarWlrootsBackend::staticMetaObject = { {
    QMetaObject::SuperData::link<ILXQtAbstractWMInterface::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN25LXQtTaskbarWlrootsBackendE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN25LXQtTaskbarWlrootsBackendE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN25LXQtTaskbarWlrootsBackendE_t>.metaTypes,
    nullptr
} };

void LXQtTaskbarWlrootsBackend::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<LXQtTaskbarWlrootsBackend *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->addWindow((*reinterpret_cast<std::add_pointer_t<WId>>(_a[1]))); break;
        case 1: _t->removeWindow(); break;
        case 2: _t->removeTransient(); break;
        case 3: _t->onActivatedChanged(); break;
        case 4: _t->onParentChanged(); break;
        case 5: _t->onTitleChanged(); break;
        case 6: _t->onAppIdChanged(); break;
        case 7: _t->onStateChanged(); break;
        case 8: _t->onOutputsChanged(); break;
        default: ;
        }
    }
}

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

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

int LXQtTaskbarWlrootsBackend::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ILXQtAbstractWMInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 9;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN27LXQtWMBackendWlrootsLibraryE_t {};
} // unnamed namespace

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

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

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

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

void *LXQtWMBackendWlrootsLibrary::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN27LXQtWMBackendWlrootsLibraryE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ILXQtWMBackendLibrary"))
        return static_cast< ILXQtWMBackendLibrary*>(this);
    if (!strcmp(_clname, "lxqt.org/Panel/WMInterface/1.0"))
        return static_cast< ILXQtWMBackendLibrary*>(this);
    return QObject::qt_metacast(_clname);
}

int LXQtWMBackendWlrootsLibrary::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    return _id;
}

#ifdef QT_MOC_EXPORT_PLUGIN_V2
static constexpr unsigned char qt_pluginMetaDataV2_LXQtWMBackendWlrootsLibrary[] = {
    0xbf, 
    // "IID"
    0x02,  0x78,  0x1e,  'l',  'x',  'q',  't',  '.', 
    'o',  'r',  'g',  '/',  'P',  'a',  'n',  'e', 
    'l',  '/',  'W',  'M',  'I',  'n',  't',  'e', 
    'r',  'f',  'a',  'c',  'e',  '/',  '1',  '.', 
    '0', 
    // "className"
    0x03,  0x78,  0x1b,  'L',  'X',  'Q',  't',  'W', 
    'M',  'B',  'a',  'c',  'k',  'e',  'n',  'd', 
    'W',  'l',  'r',  'o',  'o',  't',  's',  'L', 
    'i',  'b',  'r',  'a',  'r',  'y', 
    0xff, 
};
QT_MOC_EXPORT_PLUGIN_V2(LXQtWMBackendWlrootsLibrary, LXQtWMBackendWlrootsLibrary, qt_pluginMetaDataV2_LXQtWMBackendWlrootsLibrary)
#else
QT_PLUGIN_METADATA_SECTION
Q_CONSTINIT static constexpr unsigned char qt_pluginMetaData_LXQtWMBackendWlrootsLibrary[] = {
    'Q', 'T', 'M', 'E', 'T', 'A', 'D', 'A', 'T', 'A', ' ', '!',
    // metadata version, Qt version, architectural requirements
    0, QT_VERSION_MAJOR, QT_VERSION_MINOR, qPluginArchRequirements(),
    0xbf, 
    // "IID"
    0x02,  0x78,  0x1e,  'l',  'x',  'q',  't',  '.', 
    'o',  'r',  'g',  '/',  'P',  'a',  'n',  'e', 
    'l',  '/',  'W',  'M',  'I',  'n',  't',  'e', 
    'r',  'f',  'a',  'c',  'e',  '/',  '1',  '.', 
    '0', 
    // "className"
    0x03,  0x78,  0x1b,  'L',  'X',  'Q',  't',  'W', 
    'M',  'B',  'a',  'c',  'k',  'e',  'n',  'd', 
    'W',  'l',  'r',  'o',  'o',  't',  's',  'L', 
    'i',  'b',  'r',  'a',  'r',  'y', 
    0xff, 
};
QT_MOC_EXPORT_PLUGIN(LXQtWMBackendWlrootsLibrary, LXQtWMBackendWlrootsLibrary)
#endif  // QT_MOC_EXPORT_PLUGIN_V2

QT_WARNING_POP
