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

template <> constexpr inline auto KWaylandServer::FakeInputInterface::qt_create_metaobjectdata<qt_meta_tag_ZN14KWaylandServer18FakeInputInterfaceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWaylandServer::FakeInputInterface",
        "deviceCreated",
        "",
        "KWaylandServer::FakeInputDevice*",
        "device",
        "deviceDestroyed"
    };

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

void KWaylandServer::FakeInputInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FakeInputInterface *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->deviceCreated((*reinterpret_cast<std::add_pointer_t<KWaylandServer::FakeInputDevice*>>(_a[1]))); break;
        case 1: _t->deviceDestroyed((*reinterpret_cast<std::add_pointer_t<KWaylandServer::FakeInputDevice*>>(_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::FakeInputDevice* >(); 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::FakeInputDevice* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (FakeInputInterface::*)(KWaylandServer::FakeInputDevice * )>(_a, &FakeInputInterface::deviceCreated, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (FakeInputInterface::*)(KWaylandServer::FakeInputDevice * )>(_a, &FakeInputInterface::deviceDestroyed, 1))
            return;
    }
}

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

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

int KWaylandServer::FakeInputInterface::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 < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void KWaylandServer::FakeInputInterface::deviceCreated(KWaylandServer::FakeInputDevice * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void KWaylandServer::FakeInputInterface::deviceDestroyed(KWaylandServer::FakeInputDevice * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN14KWaylandServer15FakeInputDeviceE_t {};
} // unnamed namespace

template <> constexpr inline auto KWaylandServer::FakeInputDevice::qt_create_metaobjectdata<qt_meta_tag_ZN14KWaylandServer15FakeInputDeviceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWaylandServer::FakeInputDevice",
        "authenticationRequested",
        "",
        "application",
        "reason",
        "pointerMotionRequested",
        "QPointF",
        "delta",
        "pointerMotionAbsoluteRequested",
        "pos",
        "pointerButtonPressRequested",
        "button",
        "pointerButtonReleaseRequested",
        "pointerAxisRequested",
        "Qt::Orientation",
        "orientation",
        "pointerAxisRequestedForCapture",
        "touchDownRequested",
        "id",
        "touchMotionRequested",
        "touchUpRequested",
        "touchCancelRequested",
        "touchFrameRequested",
        "keyboardKeyPressRequested",
        "key",
        "keyboardKeyReleaseRequested"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'authenticationRequested'
        QtMocHelpers::SignalData<void(const QString &, const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 },
        }}),
        // Signal 'pointerMotionRequested'
        QtMocHelpers::SignalData<void(const QPointF &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Signal 'pointerMotionAbsoluteRequested'
        QtMocHelpers::SignalData<void(const QPointF &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 9 },
        }}),
        // Signal 'pointerButtonPressRequested'
        QtMocHelpers::SignalData<void(quint32)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 11 },
        }}),
        // Signal 'pointerButtonReleaseRequested'
        QtMocHelpers::SignalData<void(quint32)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 11 },
        }}),
        // Signal 'pointerAxisRequested'
        QtMocHelpers::SignalData<void(Qt::Orientation, qreal)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 15 }, { QMetaType::QReal, 7 },
        }}),
        // Signal 'pointerAxisRequestedForCapture'
        QtMocHelpers::SignalData<void(Qt::Orientation, qreal)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 15 }, { QMetaType::QReal, 7 },
        }}),
        // Signal 'touchDownRequested'
        QtMocHelpers::SignalData<void(quint32, const QPointF &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 18 }, { 0x80000000 | 6, 9 },
        }}),
        // Signal 'touchMotionRequested'
        QtMocHelpers::SignalData<void(quint32, const QPointF &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 18 }, { 0x80000000 | 6, 9 },
        }}),
        // Signal 'touchUpRequested'
        QtMocHelpers::SignalData<void(quint32)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 18 },
        }}),
        // Signal 'touchCancelRequested'
        QtMocHelpers::SignalData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'touchFrameRequested'
        QtMocHelpers::SignalData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'keyboardKeyPressRequested'
        QtMocHelpers::SignalData<void(quint32)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 24 },
        }}),
        // Signal 'keyboardKeyReleaseRequested'
        QtMocHelpers::SignalData<void(quint32)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 24 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FakeInputDevice, qt_meta_tag_ZN14KWaylandServer15FakeInputDeviceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWaylandServer::FakeInputDevice::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KWaylandServer15FakeInputDeviceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KWaylandServer15FakeInputDeviceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14KWaylandServer15FakeInputDeviceE_t>.metaTypes,
    nullptr
} };

void KWaylandServer::FakeInputDevice::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FakeInputDevice *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->authenticationRequested((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 1: _t->pointerMotionRequested((*reinterpret_cast<std::add_pointer_t<QPointF>>(_a[1]))); break;
        case 2: _t->pointerMotionAbsoluteRequested((*reinterpret_cast<std::add_pointer_t<QPointF>>(_a[1]))); break;
        case 3: _t->pointerButtonPressRequested((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        case 4: _t->pointerButtonReleaseRequested((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        case 5: _t->pointerAxisRequested((*reinterpret_cast<std::add_pointer_t<Qt::Orientation>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<qreal>>(_a[2]))); break;
        case 6: _t->pointerAxisRequestedForCapture((*reinterpret_cast<std::add_pointer_t<Qt::Orientation>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<qreal>>(_a[2]))); break;
        case 7: _t->touchDownRequested((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QPointF>>(_a[2]))); break;
        case 8: _t->touchMotionRequested((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QPointF>>(_a[2]))); break;
        case 9: _t->touchUpRequested((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        case 10: _t->touchCancelRequested(); break;
        case 11: _t->touchFrameRequested(); break;
        case 12: _t->keyboardKeyPressRequested((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        case 13: _t->keyboardKeyReleaseRequested((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (FakeInputDevice::*)(const QString & , const QString & )>(_a, &FakeInputDevice::authenticationRequested, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (FakeInputDevice::*)(const QPointF & )>(_a, &FakeInputDevice::pointerMotionRequested, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (FakeInputDevice::*)(const QPointF & )>(_a, &FakeInputDevice::pointerMotionAbsoluteRequested, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (FakeInputDevice::*)(quint32 )>(_a, &FakeInputDevice::pointerButtonPressRequested, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (FakeInputDevice::*)(quint32 )>(_a, &FakeInputDevice::pointerButtonReleaseRequested, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (FakeInputDevice::*)(Qt::Orientation , qreal )>(_a, &FakeInputDevice::pointerAxisRequested, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (FakeInputDevice::*)(Qt::Orientation , qreal )>(_a, &FakeInputDevice::pointerAxisRequestedForCapture, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (FakeInputDevice::*)(quint32 , const QPointF & )>(_a, &FakeInputDevice::touchDownRequested, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (FakeInputDevice::*)(quint32 , const QPointF & )>(_a, &FakeInputDevice::touchMotionRequested, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (FakeInputDevice::*)(quint32 )>(_a, &FakeInputDevice::touchUpRequested, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (FakeInputDevice::*)()>(_a, &FakeInputDevice::touchCancelRequested, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (FakeInputDevice::*)()>(_a, &FakeInputDevice::touchFrameRequested, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (FakeInputDevice::*)(quint32 )>(_a, &FakeInputDevice::keyboardKeyPressRequested, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (FakeInputDevice::*)(quint32 )>(_a, &FakeInputDevice::keyboardKeyReleaseRequested, 13))
            return;
    }
}

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

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

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

// SIGNAL 0
void KWaylandServer::FakeInputDevice::authenticationRequested(const QString & _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void KWaylandServer::FakeInputDevice::pointerMotionRequested(const QPointF & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void KWaylandServer::FakeInputDevice::pointerMotionAbsoluteRequested(const QPointF & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

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

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

// SIGNAL 5
void KWaylandServer::FakeInputDevice::pointerAxisRequested(Qt::Orientation _t1, qreal _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void KWaylandServer::FakeInputDevice::pointerAxisRequestedForCapture(Qt::Orientation _t1, qreal _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2);
}

// SIGNAL 7
void KWaylandServer::FakeInputDevice::touchDownRequested(quint32 _t1, const QPointF & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1, _t2);
}

// SIGNAL 8
void KWaylandServer::FakeInputDevice::touchMotionRequested(quint32 _t1, const QPointF & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1, _t2);
}

// SIGNAL 9
void KWaylandServer::FakeInputDevice::touchUpRequested(quint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void KWaylandServer::FakeInputDevice::touchCancelRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void KWaylandServer::FakeInputDevice::touchFrameRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void KWaylandServer::FakeInputDevice::keyboardKeyPressRequested(quint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}

// SIGNAL 13
void KWaylandServer::FakeInputDevice::keyboardKeyReleaseRequested(quint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 13, nullptr, _t1);
}
QT_WARNING_POP
