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

template <> constexpr inline auto KWaylandServer::SeatInterface::qt_create_metaobjectdata<qt_meta_tag_ZN14KWaylandServer13SeatInterfaceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KWaylandServer::SeatInterface",
        "nameChanged",
        "",
        "hasPointerChanged",
        "hasKeyboardChanged",
        "hasTouchChanged",
        "pointerPosChanged",
        "QPointF",
        "pos",
        "touchMoved",
        "id",
        "serial",
        "globalPosition",
        "timestampChanged",
        "selectionChanged",
        "KWaylandServer::AbstractDataSource*",
        "primarySelectionChanged",
        "dragStarted",
        "dragEnded",
        "dragSurfaceChanged",
        "dragDropped",
        "focusedTextInputSurfaceChanged",
        "focusedKeyboardSurfaceAboutToChange",
        "SurfaceInterface*",
        "nextSurface",
        "x11CopySecurityVerified",
        "uint32_t",
        "success"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'nameChanged'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'hasPointerChanged'
        QtMocHelpers::SignalData<void(bool)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'hasKeyboardChanged'
        QtMocHelpers::SignalData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'hasTouchChanged'
        QtMocHelpers::SignalData<void(bool)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'pointerPosChanged'
        QtMocHelpers::SignalData<void(const QPointF &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Signal 'touchMoved'
        QtMocHelpers::SignalData<void(qint32, quint32, const QPointF &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 10 }, { QMetaType::UInt, 11 }, { 0x80000000 | 7, 12 },
        }}),
        // Signal 'timestampChanged'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'selectionChanged'
        QtMocHelpers::SignalData<void(KWaylandServer::AbstractDataSource *)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 2 },
        }}),
        // Signal 'primarySelectionChanged'
        QtMocHelpers::SignalData<void(KWaylandServer::AbstractDataSource *)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 2 },
        }}),
        // Signal 'dragStarted'
        QtMocHelpers::SignalData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'dragEnded'
        QtMocHelpers::SignalData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'dragSurfaceChanged'
        QtMocHelpers::SignalData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'dragDropped'
        QtMocHelpers::SignalData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'focusedTextInputSurfaceChanged'
        QtMocHelpers::SignalData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'focusedKeyboardSurfaceAboutToChange'
        QtMocHelpers::SignalData<void(SurfaceInterface *)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 23, 24 },
        }}),
        // Signal 'x11CopySecurityVerified'
        QtMocHelpers::SignalData<void(uint32_t, bool)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 26, 11 }, { QMetaType::Bool, 27 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<SeatInterface, qt_meta_tag_ZN14KWaylandServer13SeatInterfaceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KWaylandServer::SeatInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KWaylandServer13SeatInterfaceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KWaylandServer13SeatInterfaceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14KWaylandServer13SeatInterfaceE_t>.metaTypes,
    nullptr
} };

void KWaylandServer::SeatInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<SeatInterface *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->nameChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->hasPointerChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->hasKeyboardChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->hasTouchChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->pointerPosChanged((*reinterpret_cast<std::add_pointer_t<QPointF>>(_a[1]))); break;
        case 5: _t->touchMoved((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<quint32>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QPointF>>(_a[3]))); break;
        case 6: _t->timestampChanged(); break;
        case 7: _t->selectionChanged((*reinterpret_cast<std::add_pointer_t<KWaylandServer::AbstractDataSource*>>(_a[1]))); break;
        case 8: _t->primarySelectionChanged((*reinterpret_cast<std::add_pointer_t<KWaylandServer::AbstractDataSource*>>(_a[1]))); break;
        case 9: _t->dragStarted(); break;
        case 10: _t->dragEnded(); break;
        case 11: _t->dragSurfaceChanged(); break;
        case 12: _t->dragDropped(); break;
        case 13: _t->focusedTextInputSurfaceChanged(); break;
        case 14: _t->focusedKeyboardSurfaceAboutToChange((*reinterpret_cast<std::add_pointer_t<SurfaceInterface*>>(_a[1]))); break;
        case 15: _t->x11CopySecurityVerified((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)(const QString & )>(_a, &SeatInterface::nameChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)(bool )>(_a, &SeatInterface::hasPointerChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)(bool )>(_a, &SeatInterface::hasKeyboardChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)(bool )>(_a, &SeatInterface::hasTouchChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)(const QPointF & )>(_a, &SeatInterface::pointerPosChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)(qint32 , quint32 , const QPointF & )>(_a, &SeatInterface::touchMoved, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)()>(_a, &SeatInterface::timestampChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)(KWaylandServer::AbstractDataSource * )>(_a, &SeatInterface::selectionChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)(KWaylandServer::AbstractDataSource * )>(_a, &SeatInterface::primarySelectionChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)()>(_a, &SeatInterface::dragStarted, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)()>(_a, &SeatInterface::dragEnded, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)()>(_a, &SeatInterface::dragSurfaceChanged, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)()>(_a, &SeatInterface::dragDropped, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)()>(_a, &SeatInterface::focusedTextInputSurfaceChanged, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)(SurfaceInterface * )>(_a, &SeatInterface::focusedKeyboardSurfaceAboutToChange, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (SeatInterface::*)(uint32_t , bool )>(_a, &SeatInterface::x11CopySecurityVerified, 15))
            return;
    }
}

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

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

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

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

// SIGNAL 1
void KWaylandServer::SeatInterface::hasPointerChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void KWaylandServer::SeatInterface::hasKeyboardChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void KWaylandServer::SeatInterface::hasTouchChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void KWaylandServer::SeatInterface::pointerPosChanged(const QPointF & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void KWaylandServer::SeatInterface::touchMoved(qint32 _t1, quint32 _t2, const QPointF & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2, _t3);
}

// SIGNAL 6
void KWaylandServer::SeatInterface::timestampChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void KWaylandServer::SeatInterface::selectionChanged(KWaylandServer::AbstractDataSource * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void KWaylandServer::SeatInterface::primarySelectionChanged(KWaylandServer::AbstractDataSource * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void KWaylandServer::SeatInterface::dragStarted()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

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

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

// SIGNAL 12
void KWaylandServer::SeatInterface::dragDropped()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}

// SIGNAL 13
void KWaylandServer::SeatInterface::focusedTextInputSurfaceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
}

// SIGNAL 14
void KWaylandServer::SeatInterface::focusedKeyboardSurfaceAboutToChange(SurfaceInterface * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1);
}

// SIGNAL 15
void KWaylandServer::SeatInterface::x11CopySecurityVerified(uint32_t _t1, bool _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 15, nullptr, _t1, _t2);
}
QT_WARNING_POP
