/****************************************************************************
** Meta object code from reading C++ file 'component.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/component.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'component.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_KdeDGlobalAccel__Component_t {
    QByteArrayData data[22];
    char stringdata[343];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KdeDGlobalAccel__Component_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KdeDGlobalAccel__Component_t qt_meta_stringdata_KdeDGlobalAccel__Component = {
    {
QT_MOC_LITERAL(0, 0, 26), // "KdeDGlobalAccel::Component"
QT_MOC_LITERAL(1, 27, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 43, 30), // "org.kde.kglobalaccel.Component"
QT_MOC_LITERAL(3, 74, 21), // "globalShortcutPressed"
QT_MOC_LITERAL(4, 96, 0), // ""
QT_MOC_LITERAL(5, 97, 15), // "componentUnique"
QT_MOC_LITERAL(6, 113, 14), // "shortcutUnique"
QT_MOC_LITERAL(7, 128, 9), // "timestamp"
QT_MOC_LITERAL(8, 138, 7), // "cleanUp"
QT_MOC_LITERAL(9, 146, 8), // "isActive"
QT_MOC_LITERAL(10, 155, 13), // "shortcutNames"
QT_MOC_LITERAL(11, 169, 7), // "context"
QT_MOC_LITERAL(12, 177, 16), // "allShortcutInfos"
QT_MOC_LITERAL(13, 194, 26), // "QList<KGlobalShortcutInfo>"
QT_MOC_LITERAL(14, 221, 19), // "getShortcutContexts"
QT_MOC_LITERAL(15, 241, 25), // "emitGlobalShortcutPressed"
QT_MOC_LITERAL(16, 267, 14), // "GlobalShortcut"
QT_MOC_LITERAL(17, 282, 8), // "shortcut"
QT_MOC_LITERAL(18, 291, 14), // "invokeShortcut"
QT_MOC_LITERAL(19, 306, 12), // "shortcutName"
QT_MOC_LITERAL(20, 319, 12), // "friendlyName"
QT_MOC_LITERAL(21, 332, 10) // "uniqueName"

    },
    "KdeDGlobalAccel::Component\0D-Bus Interface\0"
    "org.kde.kglobalaccel.Component\0"
    "globalShortcutPressed\0\0componentUnique\0"
    "shortcutUnique\0timestamp\0cleanUp\0"
    "isActive\0shortcutNames\0context\0"
    "allShortcutInfos\0QList<KGlobalShortcutInfo>\0"
    "getShortcutContexts\0emitGlobalShortcutPressed\0"
    "GlobalShortcut\0shortcut\0invokeShortcut\0"
    "shortcutName\0friendlyName\0uniqueName"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KdeDGlobalAccel__Component[] = {

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

 // classinfo: key, value
       1,    2,

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

 // slots: name, argc, parameters, tag, flags
       8,    0,   78,    4, 0x4a /* Public | isScriptable */,
       9,    0,   79,    4, 0x4a /* Public | isScriptable */,
      10,    1,   80,    4, 0x4a /* Public | isScriptable */,
      10,    0,   83,    4, 0x6a /* Public | MethodCloned | isScriptable */,
      12,    1,   84,    4, 0x4a /* Public | isScriptable */,
      12,    0,   87,    4, 0x6a /* Public | MethodCloned | isScriptable */,
      14,    0,   88,    4, 0x4a /* Public | isScriptable */,
      15,    1,   89,    4, 0x0a /* Public */,
      18,    2,   92,    4, 0x4a /* Public | isScriptable */,
      18,    1,   97,    4, 0x6a /* Public | MethodCloned | isScriptable */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::LongLong,    5,    6,    7,

 // slots: parameters
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::QStringList, QMetaType::QString,   11,
    QMetaType::QStringList,
    0x80000000 | 13, QMetaType::QString,   11,
    0x80000000 | 13,
    QMetaType::QStringList,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   19,   11,
    QMetaType::Void, QMetaType::QString,   19,

 // properties: name, type, flags
      20, QMetaType::QString, 0x00095001,
      21, QMetaType::QString, 0x00095001,

       0        // eod
};

void KdeDGlobalAccel::Component::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Component *_t = static_cast<Component *>(_o);
        switch (_id) {
        case 0: _t->globalShortcutPressed((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< qlonglong(*)>(_a[3]))); break;
        case 1: { bool _r = _t->cleanUp();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 2: { bool _r = _t->isActive();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 3: { QStringList _r = _t->shortcutNames((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 4: { QStringList _r = _t->shortcutNames();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 5: { QList<KGlobalShortcutInfo> _r = _t->allShortcutInfos((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<KGlobalShortcutInfo>*>(_a[0]) = _r; }  break;
        case 6: { QList<KGlobalShortcutInfo> _r = _t->allShortcutInfos();
            if (_a[0]) *reinterpret_cast< QList<KGlobalShortcutInfo>*>(_a[0]) = _r; }  break;
        case 7: { QStringList _r = _t->getShortcutContexts();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 8: _t->emitGlobalShortcutPressed((*reinterpret_cast< const GlobalShortcut(*)>(_a[1]))); break;
        case 9: _t->invokeShortcut((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 10: _t->invokeShortcut((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Component::*_t)(const QString & , const QString & , qlonglong );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Component::globalShortcutPressed)) {
                *result = 0;
            }
        }
    }
}

const QMetaObject KdeDGlobalAccel::Component::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KdeDGlobalAccel__Component.data,
      qt_meta_data_KdeDGlobalAccel__Component,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KdeDGlobalAccel::Component::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KdeDGlobalAccel__Component.stringdata))
        return static_cast<void*>(const_cast< Component*>(this));
    return QObject::qt_metacast(_clname);
}

int KdeDGlobalAccel::Component::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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = friendlyName(); break;
        case 1: *reinterpret_cast< QString*>(_v) = uniqueName(); break;
        default: break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::WriteProperty) {
        _id -= 2;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KdeDGlobalAccel::Component::globalShortcutPressed(const QString & _t1, const QString & _t2, qlonglong _t3)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
