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

#include "../../../src/kglobalaccel-5.12.0/src/runtime/kglobalacceld.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kglobalacceld.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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
struct qt_meta_stringdata_KGlobalAccelD_t {
    QByteArrayData data[40];
    char stringdata[580];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KGlobalAccelD_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KGlobalAccelD_t qt_meta_stringdata_KGlobalAccelD = {
    {
QT_MOC_LITERAL(0, 0, 13), // "KGlobalAccelD"
QT_MOC_LITERAL(1, 14, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 30, 20), // "org.kde.KGlobalAccel"
QT_MOC_LITERAL(3, 51, 22), // "yourShortcutGotChanged"
QT_MOC_LITERAL(4, 74, 0), // ""
QT_MOC_LITERAL(5, 75, 8), // "actionId"
QT_MOC_LITERAL(6, 84, 10), // "QList<int>"
QT_MOC_LITERAL(7, 95, 7), // "newKeys"
QT_MOC_LITERAL(8, 103, 13), // "allComponents"
QT_MOC_LITERAL(9, 117, 22), // "QList<QDBusObjectPath>"
QT_MOC_LITERAL(10, 140, 17), // "allMainComponents"
QT_MOC_LITERAL(11, 158, 18), // "QList<QStringList>"
QT_MOC_LITERAL(12, 177, 22), // "allActionsForComponent"
QT_MOC_LITERAL(13, 200, 6), // "action"
QT_MOC_LITERAL(14, 207, 3), // "key"
QT_MOC_LITERAL(15, 211, 8), // "shortcut"
QT_MOC_LITERAL(16, 220, 15), // "defaultShortcut"
QT_MOC_LITERAL(17, 236, 12), // "getComponent"
QT_MOC_LITERAL(18, 249, 15), // "QDBusObjectPath"
QT_MOC_LITERAL(19, 265, 15), // "componentUnique"
QT_MOC_LITERAL(20, 281, 11), // "setShortcut"
QT_MOC_LITERAL(21, 293, 4), // "keys"
QT_MOC_LITERAL(22, 298, 5), // "flags"
QT_MOC_LITERAL(23, 304, 18), // "setForeignShortcut"
QT_MOC_LITERAL(24, 323, 11), // "setInactive"
QT_MOC_LITERAL(25, 335, 10), // "doRegister"
QT_MOC_LITERAL(26, 346, 10), // "unRegister"
QT_MOC_LITERAL(27, 357, 29), // "activateGlobalShortcutContext"
QT_MOC_LITERAL(28, 387, 9), // "component"
QT_MOC_LITERAL(29, 397, 7), // "context"
QT_MOC_LITERAL(30, 405, 23), // "getGlobalShortcutsByKey"
QT_MOC_LITERAL(31, 429, 26), // "QList<KGlobalShortcutInfo>"
QT_MOC_LITERAL(32, 456, 25), // "isGlobalShortcutAvailable"
QT_MOC_LITERAL(33, 482, 10), // "unregister"
QT_MOC_LITERAL(34, 493, 14), // "shortcutUnique"
QT_MOC_LITERAL(35, 508, 20), // "blockGlobalShortcuts"
QT_MOC_LITERAL(36, 529, 15), // "SetShortcutFlag"
QT_MOC_LITERAL(37, 545, 10), // "SetPresent"
QT_MOC_LITERAL(38, 556, 13), // "NoAutoloading"
QT_MOC_LITERAL(39, 570, 9) // "IsDefault"

    },
    "KGlobalAccelD\0D-Bus Interface\0"
    "org.kde.KGlobalAccel\0yourShortcutGotChanged\0"
    "\0actionId\0QList<int>\0newKeys\0allComponents\0"
    "QList<QDBusObjectPath>\0allMainComponents\0"
    "QList<QStringList>\0allActionsForComponent\0"
    "action\0key\0shortcut\0defaultShortcut\0"
    "getComponent\0QDBusObjectPath\0"
    "componentUnique\0setShortcut\0keys\0flags\0"
    "setForeignShortcut\0setInactive\0"
    "doRegister\0unRegister\0"
    "activateGlobalShortcutContext\0component\0"
    "context\0getGlobalShortcutsByKey\0"
    "QList<KGlobalShortcutInfo>\0"
    "isGlobalShortcutAvailable\0unregister\0"
    "shortcutUnique\0blockGlobalShortcuts\0"
    "SetShortcutFlag\0SetPresent\0NoAutoloading\0"
    "IsDefault"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KGlobalAccelD[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    2,  106,    4, 0x46 /* Public | isScriptable */,

 // slots: name, argc, parameters, tag, flags
       8,    0,  111,    4, 0x4a /* Public | isScriptable */,
      10,    0,  112,    4, 0x4a /* Public | isScriptable */,
      12,    1,  113,    4, 0x4a /* Public | isScriptable */,
      13,    1,  116,    4, 0x4a /* Public | isScriptable */,
      15,    1,  119,    4, 0x4a /* Public | isScriptable */,
      16,    1,  122,    4, 0x4a /* Public | isScriptable */,
      17,    1,  125,    4, 0x4a /* Public | isScriptable */,
      20,    3,  128,    4, 0x4a /* Public | isScriptable */,
      23,    2,  135,    4, 0x4a /* Public | isScriptable */,
      24,    1,  140,    4, 0x4a /* Public | isScriptable */,
      25,    1,  143,    4, 0x4a /* Public | isScriptable */,
      26,    1,  146,    4, 0x4a /* Public | isScriptable */,
      27,    2,  149,    4, 0x4a /* Public | isScriptable */,
      30,    1,  154,    4, 0x4a /* Public | isScriptable */,
      32,    2,  157,    4, 0x4a /* Public | isScriptable */,
      33,    2,  162,    4, 0x4a /* Public | isScriptable */,
      35,    1,  167,    4, 0x4a /* Public | isScriptable */,

 // signals: parameters
    QMetaType::Void, QMetaType::QStringList, 0x80000000 | 6,    5,    7,

 // slots: parameters
    0x80000000 | 9,
    0x80000000 | 11,
    0x80000000 | 11, QMetaType::QStringList,    5,
    QMetaType::QStringList, QMetaType::Int,   14,
    0x80000000 | 6, QMetaType::QStringList,    5,
    0x80000000 | 6, QMetaType::QStringList,    5,
    0x80000000 | 18, QMetaType::QString,   19,
    0x80000000 | 6, QMetaType::QStringList, 0x80000000 | 6, QMetaType::UInt,    5,   21,   22,
    QMetaType::Void, QMetaType::QStringList, 0x80000000 | 6,    5,   21,
    QMetaType::Void, QMetaType::QStringList,    5,
    QMetaType::Void, QMetaType::QStringList,    5,
    QMetaType::Void, QMetaType::QStringList,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   28,   29,
    0x80000000 | 31, QMetaType::Int,   14,
    QMetaType::Bool, QMetaType::Int, QMetaType::QString,   14,   28,
    QMetaType::Bool, QMetaType::QString, QMetaType::QString,   19,   34,
    QMetaType::Void, QMetaType::Bool,    4,

 // enums: name, flags, count, data
      36, 0x0,    3,  174,

 // enum data: key, value
      37, uint(KGlobalAccelD::SetPresent),
      38, uint(KGlobalAccelD::NoAutoloading),
      39, uint(KGlobalAccelD::IsDefault),

       0        // eod
};

void KGlobalAccelD::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KGlobalAccelD *_t = static_cast<KGlobalAccelD *>(_o);
        switch (_id) {
        case 0: _t->yourShortcutGotChanged((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const QList<int>(*)>(_a[2]))); break;
        case 1: { QList<QDBusObjectPath> _r = _t->allComponents();
            if (_a[0]) *reinterpret_cast< QList<QDBusObjectPath>*>(_a[0]) = _r; }  break;
        case 2: { QList<QStringList> _r = _t->allMainComponents();
            if (_a[0]) *reinterpret_cast< QList<QStringList>*>(_a[0]) = _r; }  break;
        case 3: { QList<QStringList> _r = _t->allActionsForComponent((*reinterpret_cast< const QStringList(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<QStringList>*>(_a[0]) = _r; }  break;
        case 4: { QStringList _r = _t->action((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 5: { QList<int> _r = _t->shortcut((*reinterpret_cast< const QStringList(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<int>*>(_a[0]) = _r; }  break;
        case 6: { QList<int> _r = _t->defaultShortcut((*reinterpret_cast< const QStringList(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<int>*>(_a[0]) = _r; }  break;
        case 7: { QDBusObjectPath _r = _t->getComponent((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusObjectPath*>(_a[0]) = _r; }  break;
        case 8: { QList<int> _r = _t->setShortcut((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const QList<int>(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QList<int>*>(_a[0]) = _r; }  break;
        case 9: _t->setForeignShortcut((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const QList<int>(*)>(_a[2]))); break;
        case 10: _t->setInactive((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 11: _t->doRegister((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 12: _t->unRegister((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 13: _t->activateGlobalShortcutContext((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 14: { QList<KGlobalShortcutInfo> _r = _t->getGlobalShortcutsByKey((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<KGlobalShortcutInfo>*>(_a[0]) = _r; }  break;
        case 15: { bool _r = _t->isGlobalShortcutAvailable((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 16: { bool _r = _t->unregister((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 17: _t->blockGlobalShortcuts((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KGlobalAccelD::*_t)(const QStringList & , const QList<int> & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KGlobalAccelD::yourShortcutGotChanged)) {
                *result = 0;
            }
        }
    }
}

const QMetaObject KGlobalAccelD::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KGlobalAccelD.data,
      qt_meta_data_KGlobalAccelD,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KGlobalAccelD::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KGlobalAccelD.stringdata))
        return static_cast<void*>(const_cast< KGlobalAccelD*>(this));
    if (!strcmp(_clname, "QDBusContext"))
        return static_cast< QDBusContext*>(const_cast< KGlobalAccelD*>(this));
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void KGlobalAccelD::yourShortcutGotChanged(const QStringList & _t1, const QList<int> & _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
