/****************************************************************************
** Meta object code from reading C++ file 'inputdevicesadaptor.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "inputdevicesadaptor.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 'inputdevicesadaptor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN19InputDevicesAdaptorE_t {};
} // unnamed namespace

template <> constexpr inline auto InputDevicesAdaptor::qt_create_metaobjectdata<qt_meta_tag_ZN19InputDevicesAdaptorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "InputDevicesAdaptor",
        "D-Bus Interface",
        "org.mauiman.InputDevices",
        "D-Bus Introspection",
        "  <interface name=\"org.mauiman.InputDevices\">\n    <method name="
        "\"setKeyboardLayout\">\n      <arg direction=\"in\" type=\"s\" nam"
        "e=\"layout\"/>\n    </method>\n    <method name=\"setKeyboardVaria"
        "nt\">\n      <arg direction=\"in\" type=\"s\" name=\"variant\"/>\n"
        "    </method>\n    <method name=\"setKeyboardOptions\">\n      <ar"
        "g direction=\"in\" type=\"s\" name=\"options\"/>\n    </method>\n "
        "   <method name=\"setKeyboardRules\">\n      <arg direction=\"in\""
        " type=\"s\" name=\"rules\"/>\n    </method>\n    <method name=\"se"
        "tKeyboardModel\">\n      <arg direction=\"in\" type=\"s\" name=\"m"
        "odel\"/>\n    </method>\n    <property access=\"read\" type=\"s\" "
        "name=\"keyboardLayout\"/>\n    <property access=\"read\" type=\"s\""
        " name=\"keyboardOptions\"/>\n    <property access=\"read\" type=\""
        "s\" name=\"keyboardVariant\"/>\n    <property access=\"read\" type"
        "=\"s\" name=\"keyboardRules\"/>\n    <property access=\"read\" typ"
        "e=\"s\" name=\"keyboardModel\"/>\n    <signal name=\"keyboardLayou"
        "tChanged\">\n      <arg type=\"s\"/>\n    </signal>\n    <signal n"
        "ame=\"keyboardVariantChanged\">\n      <arg type=\"s\"/>\n    </si"
        "gnal>\n    <signal name=\"keyboardOptionsChanged\">\n      <arg ty"
        "pe=\"s\"/>\n    </signal>\n    <signal name=\"keyboardRulesChanged"
        "\">\n      <arg type=\"s\"/>\n    </signal>\n    <signal name=\"ke"
        "yboardModelChanged\">\n      <arg type=\"s\"/>\n    </signal>\n  <"
        "/interface>\n",
        "keyboardLayoutChanged",
        "",
        "in0",
        "keyboardModelChanged",
        "keyboardOptionsChanged",
        "keyboardRulesChanged",
        "keyboardVariantChanged",
        "setKeyboardLayout",
        "layout",
        "setKeyboardModel",
        "model",
        "setKeyboardOptions",
        "options",
        "setKeyboardRules",
        "rules",
        "setKeyboardVariant",
        "variant",
        "keyboardLayout",
        "keyboardModel",
        "keyboardOptions",
        "keyboardRules",
        "keyboardVariant"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'keyboardLayoutChanged'
        QtMocHelpers::SignalData<void(const QString &)>(5, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
        // Signal 'keyboardModelChanged'
        QtMocHelpers::SignalData<void(const QString &)>(8, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
        // Signal 'keyboardOptionsChanged'
        QtMocHelpers::SignalData<void(const QString &)>(9, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
        // Signal 'keyboardRulesChanged'
        QtMocHelpers::SignalData<void(const QString &)>(10, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
        // Signal 'keyboardVariantChanged'
        QtMocHelpers::SignalData<void(const QString &)>(11, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
        // Slot 'setKeyboardLayout'
        QtMocHelpers::SlotData<void(const QString &)>(12, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 13 },
        }}),
        // Slot 'setKeyboardModel'
        QtMocHelpers::SlotData<void(const QString &)>(14, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
        // Slot 'setKeyboardOptions'
        QtMocHelpers::SlotData<void(const QString &)>(16, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 17 },
        }}),
        // Slot 'setKeyboardRules'
        QtMocHelpers::SlotData<void(const QString &)>(18, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 19 },
        }}),
        // Slot 'setKeyboardVariant'
        QtMocHelpers::SlotData<void(const QString &)>(20, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 21 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'keyboardLayout'
        QtMocHelpers::PropertyData<QString>(22, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'keyboardModel'
        QtMocHelpers::PropertyData<QString>(23, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'keyboardOptions'
        QtMocHelpers::PropertyData<QString>(24, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'keyboardRules'
        QtMocHelpers::PropertyData<QString>(25, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'keyboardVariant'
        QtMocHelpers::PropertyData<QString>(26, QMetaType::QString, QMC::DefaultPropertyFlags),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
    });
    return QtMocHelpers::metaObjectData<InputDevicesAdaptor, qt_meta_tag_ZN19InputDevicesAdaptorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject InputDevicesAdaptor::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractAdaptor::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19InputDevicesAdaptorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19InputDevicesAdaptorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19InputDevicesAdaptorE_t>.metaTypes,
    nullptr
} };

void InputDevicesAdaptor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<InputDevicesAdaptor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->keyboardLayoutChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->keyboardModelChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->keyboardOptionsChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->keyboardRulesChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->keyboardVariantChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->setKeyboardLayout((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 6: _t->setKeyboardModel((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 7: _t->setKeyboardOptions((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 8: _t->setKeyboardRules((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 9: _t->setKeyboardVariant((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (InputDevicesAdaptor::*)(const QString & )>(_a, &InputDevicesAdaptor::keyboardLayoutChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (InputDevicesAdaptor::*)(const QString & )>(_a, &InputDevicesAdaptor::keyboardModelChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (InputDevicesAdaptor::*)(const QString & )>(_a, &InputDevicesAdaptor::keyboardOptionsChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (InputDevicesAdaptor::*)(const QString & )>(_a, &InputDevicesAdaptor::keyboardRulesChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (InputDevicesAdaptor::*)(const QString & )>(_a, &InputDevicesAdaptor::keyboardVariantChanged, 4))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->keyboardLayout(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->keyboardModel(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->keyboardOptions(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->keyboardRules(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->keyboardVariant(); break;
        default: break;
        }
    }
}

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

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

int InputDevicesAdaptor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractAdaptor::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 10;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}

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

// SIGNAL 1
void InputDevicesAdaptor::keyboardModelChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void InputDevicesAdaptor::keyboardOptionsChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void InputDevicesAdaptor::keyboardRulesChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void InputDevicesAdaptor::keyboardVariantChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}
QT_WARNING_POP
