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

#include "../../../src/plasma-desktop-5.8.8/kcms/keyboard/keyboard_daemon.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'keyboard_daemon.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.2. 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_KeyboardDaemon_t {
    QByteArrayData data[18];
    char stringdata0[264];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KeyboardDaemon_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KeyboardDaemon_t qt_meta_stringdata_KeyboardDaemon = {
    {
QT_MOC_LITERAL(0, 0, 14), // "KeyboardDaemon"
QT_MOC_LITERAL(1, 15, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 31, 23), // "org.kde.KeyboardLayouts"
QT_MOC_LITERAL(3, 55, 20), // "currentLayoutChanged"
QT_MOC_LITERAL(4, 76, 0), // ""
QT_MOC_LITERAL(5, 77, 6), // "layout"
QT_MOC_LITERAL(6, 84, 17), // "layoutListChanged"
QT_MOC_LITERAL(7, 102, 18), // "switchToNextLayout"
QT_MOC_LITERAL(8, 121, 17), // "configureKeyboard"
QT_MOC_LITERAL(9, 139, 14), // "configureMouse"
QT_MOC_LITERAL(10, 154, 13), // "layoutChanged"
QT_MOC_LITERAL(11, 168, 16), // "layoutMapChanged"
QT_MOC_LITERAL(12, 185, 9), // "setLayout"
QT_MOC_LITERAL(13, 195, 8), // "QAction*"
QT_MOC_LITERAL(14, 204, 6), // "action"
QT_MOC_LITERAL(15, 211, 16), // "getCurrentLayout"
QT_MOC_LITERAL(16, 228, 14), // "getLayoutsList"
QT_MOC_LITERAL(17, 243, 20) // "getLayoutDisplayName"

    },
    "KeyboardDaemon\0D-Bus Interface\0"
    "org.kde.KeyboardLayouts\0currentLayoutChanged\0"
    "\0layout\0layoutListChanged\0switchToNextLayout\0"
    "configureKeyboard\0configureMouse\0"
    "layoutChanged\0layoutMapChanged\0setLayout\0"
    "QAction*\0action\0getCurrentLayout\0"
    "getLayoutsList\0getLayoutDisplayName"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KeyboardDaemon[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
      12,   16, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    1,   76,    4, 0x46 /* Public | isScriptable */,
       6,    0,   79,    4, 0x46 /* Public | isScriptable */,

 // slots: name, argc, parameters, tag, flags
       7,    0,   80,    4, 0x08 /* Private */,
       8,    0,   81,    4, 0x08 /* Private */,
       9,    0,   82,    4, 0x08 /* Private */,
      10,    0,   83,    4, 0x08 /* Private */,
      11,    0,   84,    4, 0x08 /* Private */,
      12,    1,   85,    4, 0x08 /* Private */,
      12,    1,   88,    4, 0x4a /* Public | isScriptable */,
      15,    0,   91,    4, 0x4a /* Public | isScriptable */,
      16,    0,   92,    4, 0x4a /* Public | isScriptable */,
      17,    1,   93,    4, 0x4a /* Public | isScriptable */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool, 0x80000000 | 13,   14,
    QMetaType::Bool, QMetaType::QString,    5,
    QMetaType::QString,
    QMetaType::QStringList,
    QMetaType::QString, QMetaType::QString,    5,

       0        // eod
};

void KeyboardDaemon::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KeyboardDaemon *_t = static_cast<KeyboardDaemon *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->currentLayoutChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 1: _t->layoutListChanged(); break;
        case 2: _t->switchToNextLayout(); break;
        case 3: _t->configureKeyboard(); break;
        case 4: _t->configureMouse(); break;
        case 5: _t->layoutChanged(); break;
        case 6: _t->layoutMapChanged(); break;
        case 7: { bool _r = _t->setLayout((*reinterpret_cast< QAction*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 8: { bool _r = _t->setLayout((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 9: { QString _r = _t->getCurrentLayout();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 10: { QStringList _r = _t->getLayoutsList();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 11: { QString _r = _t->getLayoutDisplayName((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KeyboardDaemon::*_t)(QString );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KeyboardDaemon::currentLayoutChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KeyboardDaemon::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KeyboardDaemon::layoutListChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KeyboardDaemon::staticMetaObject = {
    { &KDEDModule::staticMetaObject, qt_meta_stringdata_KeyboardDaemon.data,
      qt_meta_data_KeyboardDaemon,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KeyboardDaemon::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KDEDModule::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void KeyboardDaemon::currentLayoutChanged(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KeyboardDaemon::layoutListChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
