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

template <> constexpr inline auto KWaylandServer::DDEKvmInterface::qt_create_metaobjectdata<qt_meta_tag_ZN14KWaylandServer15DDEKvmInterfaceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWaylandServer::DDEKvmInterface",
        "ddeKvmPointerCreated",
        "",
        "KWaylandServer::DDEKvmPointerInterface*",
        "ddeKvmKeyboardCreated",
        "KWaylandServer::DDEKvmKeyboardInterface*",
        "kvmInterfaceEnablePointerRequested",
        "is_enable",
        "kvmInterfaceEnableCursorRequested",
        "kvmInterfaceSetCursorPosRequested",
        "x",
        "y",
        "kvmInterfaceEnableKeyboardRequested"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'ddeKvmPointerCreated'
        QtMocHelpers::SignalData<void(KWaylandServer::DDEKvmPointerInterface *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'ddeKvmKeyboardCreated'
        QtMocHelpers::SignalData<void(KWaylandServer::DDEKvmKeyboardInterface *)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 2 },
        }}),
        // Signal 'kvmInterfaceEnablePointerRequested'
        QtMocHelpers::SignalData<void(quint32)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 7 },
        }}),
        // Signal 'kvmInterfaceEnableCursorRequested'
        QtMocHelpers::SignalData<void(quint32)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 7 },
        }}),
        // Signal 'kvmInterfaceSetCursorPosRequested'
        QtMocHelpers::SignalData<void(double, double)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 10 }, { QMetaType::Double, 11 },
        }}),
        // Signal 'kvmInterfaceEnableKeyboardRequested'
        QtMocHelpers::SignalData<void(quint32)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 7 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DDEKvmInterface, qt_meta_tag_ZN14KWaylandServer15DDEKvmInterfaceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWaylandServer::DDEKvmInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KWaylandServer15DDEKvmInterfaceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KWaylandServer15DDEKvmInterfaceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14KWaylandServer15DDEKvmInterfaceE_t>.metaTypes,
    nullptr
} };

void KWaylandServer::DDEKvmInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DDEKvmInterface *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->ddeKvmPointerCreated((*reinterpret_cast<std::add_pointer_t<KWaylandServer::DDEKvmPointerInterface*>>(_a[1]))); break;
        case 1: _t->ddeKvmKeyboardCreated((*reinterpret_cast<std::add_pointer_t<KWaylandServer::DDEKvmKeyboardInterface*>>(_a[1]))); break;
        case 2: _t->kvmInterfaceEnablePointerRequested((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        case 3: _t->kvmInterfaceEnableCursorRequested((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        case 4: _t->kvmInterfaceSetCursorPosRequested((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[2]))); break;
        case 5: _t->kvmInterfaceEnableKeyboardRequested((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KWaylandServer::DDEKvmPointerInterface* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KWaylandServer::DDEKvmKeyboardInterface* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DDEKvmInterface::*)(KWaylandServer::DDEKvmPointerInterface * )>(_a, &DDEKvmInterface::ddeKvmPointerCreated, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DDEKvmInterface::*)(KWaylandServer::DDEKvmKeyboardInterface * )>(_a, &DDEKvmInterface::ddeKvmKeyboardCreated, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DDEKvmInterface::*)(quint32 )>(_a, &DDEKvmInterface::kvmInterfaceEnablePointerRequested, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (DDEKvmInterface::*)(quint32 )>(_a, &DDEKvmInterface::kvmInterfaceEnableCursorRequested, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (DDEKvmInterface::*)(double , double )>(_a, &DDEKvmInterface::kvmInterfaceSetCursorPosRequested, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (DDEKvmInterface::*)(quint32 )>(_a, &DDEKvmInterface::kvmInterfaceEnableKeyboardRequested, 5))
            return;
    }
}

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

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

int KWaylandServer::DDEKvmInterface::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    return _id;
}

// SIGNAL 0
void KWaylandServer::DDEKvmInterface::ddeKvmPointerCreated(KWaylandServer::DDEKvmPointerInterface * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void KWaylandServer::DDEKvmInterface::ddeKvmKeyboardCreated(KWaylandServer::DDEKvmKeyboardInterface * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

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

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

// SIGNAL 4
void KWaylandServer::DDEKvmInterface::kvmInterfaceSetCursorPosRequested(double _t1, double _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2);
}

// SIGNAL 5
void KWaylandServer::DDEKvmInterface::kvmInterfaceEnableKeyboardRequested(quint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN14KWaylandServer22DDEKvmPointerInterfaceE_t {};
} // unnamed namespace

template <> constexpr inline auto KWaylandServer::DDEKvmPointerInterface::qt_create_metaobjectdata<qt_meta_tag_ZN14KWaylandServer22DDEKvmPointerInterfaceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWaylandServer::DDEKvmPointerInterface",
        "kvmEnablePointerRequested",
        "",
        "is_enable",
        "kvmEnableCursorRequested",
        "kvmSetCursorPosRequested",
        "x",
        "y"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'kvmEnablePointerRequested'
        QtMocHelpers::SignalData<void(quint32)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 3 },
        }}),
        // Signal 'kvmEnableCursorRequested'
        QtMocHelpers::SignalData<void(quint32)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 3 },
        }}),
        // Signal 'kvmSetCursorPosRequested'
        QtMocHelpers::SignalData<void(double, double)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 6 }, { QMetaType::Double, 7 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DDEKvmPointerInterface, qt_meta_tag_ZN14KWaylandServer22DDEKvmPointerInterfaceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWaylandServer::DDEKvmPointerInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KWaylandServer22DDEKvmPointerInterfaceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KWaylandServer22DDEKvmPointerInterfaceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14KWaylandServer22DDEKvmPointerInterfaceE_t>.metaTypes,
    nullptr
} };

void KWaylandServer::DDEKvmPointerInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DDEKvmPointerInterface *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->kvmEnablePointerRequested((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        case 1: _t->kvmEnableCursorRequested((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        case 2: _t->kvmSetCursorPosRequested((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DDEKvmPointerInterface::*)(quint32 )>(_a, &DDEKvmPointerInterface::kvmEnablePointerRequested, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DDEKvmPointerInterface::*)(quint32 )>(_a, &DDEKvmPointerInterface::kvmEnableCursorRequested, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DDEKvmPointerInterface::*)(double , double )>(_a, &DDEKvmPointerInterface::kvmSetCursorPosRequested, 2))
            return;
    }
}

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

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

int KWaylandServer::DDEKvmPointerInterface::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 KWaylandServer::DDEKvmPointerInterface::kvmEnablePointerRequested(quint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void KWaylandServer::DDEKvmPointerInterface::kvmEnableCursorRequested(quint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void KWaylandServer::DDEKvmPointerInterface::kvmSetCursorPosRequested(double _t1, double _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}
namespace {
struct qt_meta_tag_ZN14KWaylandServer23DDEKvmKeyboardInterfaceE_t {};
} // unnamed namespace

template <> constexpr inline auto KWaylandServer::DDEKvmKeyboardInterface::qt_create_metaobjectdata<qt_meta_tag_ZN14KWaylandServer23DDEKvmKeyboardInterfaceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWaylandServer::DDEKvmKeyboardInterface",
        "kvmEnableKeyboardRequested",
        "",
        "uint32_t",
        "is_enable"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'kvmEnableKeyboardRequested'
        QtMocHelpers::SignalData<void(uint32_t)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DDEKvmKeyboardInterface, qt_meta_tag_ZN14KWaylandServer23DDEKvmKeyboardInterfaceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWaylandServer::DDEKvmKeyboardInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KWaylandServer23DDEKvmKeyboardInterfaceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KWaylandServer23DDEKvmKeyboardInterfaceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14KWaylandServer23DDEKvmKeyboardInterfaceE_t>.metaTypes,
    nullptr
} };

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

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

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

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

// SIGNAL 0
void KWaylandServer::DDEKvmKeyboardInterface::kvmEnableKeyboardRequested(uint32_t _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
QT_WARNING_POP
