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

#include <memory>
#include "../../src/global_util/dbus/dbuskeyboard.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbuskeyboard.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_DBusKeyboard_t {
    QByteArrayData data[33];
    char stringdata0[535];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DBusKeyboard_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DBusKeyboard_t qt_meta_stringdata_DBusKeyboard = {
    {
QT_MOC_LITERAL(0, 0, 12), // "DBusKeyboard"
QT_MOC_LITERAL(1, 13, 21), // "CapslockToggleChanged"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 20), // "CurrentLayoutChanged"
QT_MOC_LITERAL(4, 57, 18), // "CursorBlinkChanged"
QT_MOC_LITERAL(5, 76, 18), // "RepeatDelayChanged"
QT_MOC_LITERAL(6, 95, 20), // "RepeatEnabledChanged"
QT_MOC_LITERAL(7, 116, 21), // "RepeatIntervalChanged"
QT_MOC_LITERAL(8, 138, 21), // "UserLayoutListChanged"
QT_MOC_LITERAL(9, 160, 21), // "UserOptionListChanged"
QT_MOC_LITERAL(10, 182, 19), // "__propertyChanged__"
QT_MOC_LITERAL(11, 202, 12), // "QDBusMessage"
QT_MOC_LITERAL(12, 215, 3), // "msg"
QT_MOC_LITERAL(13, 219, 15), // "AddLayoutOption"
QT_MOC_LITERAL(14, 235, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(15, 255, 3), // "in0"
QT_MOC_LITERAL(16, 259, 13), // "AddUserLayout"
QT_MOC_LITERAL(17, 273, 17), // "ClearLayoutOption"
QT_MOC_LITERAL(18, 291, 18), // "DeleteLayoutOption"
QT_MOC_LITERAL(19, 310, 16), // "DeleteUserLayout"
QT_MOC_LITERAL(20, 327, 13), // "GetLayoutDesc"
QT_MOC_LITERAL(21, 341, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(22, 368, 10), // "LayoutList"
QT_MOC_LITERAL(23, 379, 37), // "QDBusPendingReply<KeyboardLay..."
QT_MOC_LITERAL(24, 417, 5), // "Reset"
QT_MOC_LITERAL(25, 423, 14), // "CapslockToggle"
QT_MOC_LITERAL(26, 438, 13), // "CurrentLayout"
QT_MOC_LITERAL(27, 452, 11), // "CursorBlink"
QT_MOC_LITERAL(28, 464, 11), // "RepeatDelay"
QT_MOC_LITERAL(29, 476, 13), // "RepeatEnabled"
QT_MOC_LITERAL(30, 490, 14), // "RepeatInterval"
QT_MOC_LITERAL(31, 505, 14), // "UserLayoutList"
QT_MOC_LITERAL(32, 520, 14) // "UserOptionList"

    },
    "DBusKeyboard\0CapslockToggleChanged\0\0"
    "CurrentLayoutChanged\0CursorBlinkChanged\0"
    "RepeatDelayChanged\0RepeatEnabledChanged\0"
    "RepeatIntervalChanged\0UserLayoutListChanged\0"
    "UserOptionListChanged\0__propertyChanged__\0"
    "QDBusMessage\0msg\0AddLayoutOption\0"
    "QDBusPendingReply<>\0in0\0AddUserLayout\0"
    "ClearLayoutOption\0DeleteLayoutOption\0"
    "DeleteUserLayout\0GetLayoutDesc\0"
    "QDBusPendingReply<QString>\0LayoutList\0"
    "QDBusPendingReply<KeyboardLayoutList>\0"
    "Reset\0CapslockToggle\0CurrentLayout\0"
    "CursorBlink\0RepeatDelay\0RepeatEnabled\0"
    "RepeatInterval\0UserLayoutList\0"
    "UserOptionList"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DBusKeyboard[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      17,   14, // methods
       8,  128, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       8,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   99,    2, 0x06 /* Public */,
       3,    0,  100,    2, 0x06 /* Public */,
       4,    0,  101,    2, 0x06 /* Public */,
       5,    0,  102,    2, 0x06 /* Public */,
       6,    0,  103,    2, 0x06 /* Public */,
       7,    0,  104,    2, 0x06 /* Public */,
       8,    0,  105,    2, 0x06 /* Public */,
       9,    0,  106,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    1,  107,    2, 0x08 /* Private */,
      13,    1,  110,    2, 0x0a /* Public */,
      16,    1,  113,    2, 0x0a /* Public */,
      17,    0,  116,    2, 0x0a /* Public */,
      18,    1,  117,    2, 0x0a /* Public */,
      19,    1,  120,    2, 0x0a /* Public */,
      20,    1,  123,    2, 0x0a /* Public */,
      22,    0,  126,    2, 0x0a /* Public */,
      24,    0,  127,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 11,   12,
    0x80000000 | 14, QMetaType::QString,   15,
    0x80000000 | 14, QMetaType::QString,   15,
    0x80000000 | 14,
    0x80000000 | 14, QMetaType::QString,   15,
    0x80000000 | 14, QMetaType::QString,   15,
    0x80000000 | 21, QMetaType::QString,   15,
    0x80000000 | 23,
    0x80000000 | 14,

 // properties: name, type, flags
      25, QMetaType::Bool, 0x00495103,
      26, QMetaType::QString, 0x00495103,
      27, QMetaType::Int, 0x00495103,
      28, QMetaType::UInt, 0x00495103,
      29, QMetaType::Bool, 0x00495103,
      30, QMetaType::UInt, 0x00495103,
      31, QMetaType::QStringList, 0x00495001,
      32, QMetaType::QStringList, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       6,
       7,

       0        // eod
};

void DBusKeyboard::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DBusKeyboard *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->CapslockToggleChanged(); break;
        case 1: _t->CurrentLayoutChanged(); break;
        case 2: _t->CursorBlinkChanged(); break;
        case 3: _t->RepeatDelayChanged(); break;
        case 4: _t->RepeatEnabledChanged(); break;
        case 5: _t->RepeatIntervalChanged(); break;
        case 6: _t->UserLayoutListChanged(); break;
        case 7: _t->UserOptionListChanged(); break;
        case 8: _t->__propertyChanged__((*reinterpret_cast< const QDBusMessage(*)>(_a[1]))); break;
        case 9: { QDBusPendingReply<> _r = _t->AddLayoutOption((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 10: { QDBusPendingReply<> _r = _t->AddUserLayout((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 11: { QDBusPendingReply<> _r = _t->ClearLayoutOption();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 12: { QDBusPendingReply<> _r = _t->DeleteLayoutOption((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 13: { QDBusPendingReply<> _r = _t->DeleteUserLayout((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 14: { QDBusPendingReply<QString> _r = _t->GetLayoutDesc((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 15: { QDBusPendingReply<KeyboardLayoutList> _r = _t->LayoutList();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<KeyboardLayoutList>*>(_a[0]) = std::move(_r); }  break;
        case 16: { QDBusPendingReply<> _r = _t->Reset();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusMessage >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (DBusKeyboard::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusKeyboard::CapslockToggleChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (DBusKeyboard::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusKeyboard::CurrentLayoutChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (DBusKeyboard::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusKeyboard::CursorBlinkChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (DBusKeyboard::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusKeyboard::RepeatDelayChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (DBusKeyboard::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusKeyboard::RepeatEnabledChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (DBusKeyboard::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusKeyboard::RepeatIntervalChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (DBusKeyboard::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusKeyboard::UserLayoutListChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (DBusKeyboard::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DBusKeyboard::UserOptionListChanged)) {
                *result = 7;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<DBusKeyboard *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->capslockToggle(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->currentLayout(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->cursorBlink(); break;
        case 3: *reinterpret_cast< uint*>(_v) = _t->repeatDelay(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->repeatEnabled(); break;
        case 5: *reinterpret_cast< uint*>(_v) = _t->repeatInterval(); break;
        case 6: *reinterpret_cast< QStringList*>(_v) = _t->userLayoutList(); break;
        case 7: *reinterpret_cast< QStringList*>(_v) = _t->userOptionList(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<DBusKeyboard *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setCapslockToggle(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setCurrentLayout(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setCursorBlink(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setRepeatDelay(*reinterpret_cast< uint*>(_v)); break;
        case 4: _t->setRepeatEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setRepeatInterval(*reinterpret_cast< uint*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject DBusKeyboard::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata_DBusKeyboard.data,
    qt_meta_data_DBusKeyboard,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *DBusKeyboard::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_DBusKeyboard.stringdata0))
        return static_cast<void*>(this);
    return QDBusAbstractInterface::qt_metacast(_clname);
}

int DBusKeyboard::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void DBusKeyboard::CapslockToggleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void DBusKeyboard::CurrentLayoutChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void DBusKeyboard::CursorBlinkChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void DBusKeyboard::RepeatDelayChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void DBusKeyboard::RepeatEnabledChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void DBusKeyboard::RepeatIntervalChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void DBusKeyboard::UserLayoutListChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void DBusKeyboard::UserOptionListChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
