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

#include "../../src/kde-runtime-17.08.3/kglobalaccel/component.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'component.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_KdeDGlobalAccel__Component[] = {

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

 // classinfo: key, value
      58,   27,

 // signals: signature, parameters, type, tag, flags
     116,   75,   74,   74, 0x45,

 // slots: signature, parameters, type, tag, flags
     170,   74,  165,   74, 0x4a,
     180,   74,  165,   74, 0x4a,
     211,  203,  191,   74, 0x4a,
     234,   74,  191,   74, 0x6a,
     277,  203,  250,   74, 0x4a,
     303,   74,  250,   74, 0x6a,
     322,   74,  191,   74, 0x4a,
     344,   74,  165,   74, 0x4a,
     363,  354,   74,   74, 0x0a,
     426,  405,   74,   74, 0x4a,
     471,  458,   74,   74, 0x6a,

 // properties: name, type, flags
     503,  495, 0x0a095001,
     516,  495, 0x0a095001,

       0        // eod
};

static const char qt_meta_stringdata_KdeDGlobalAccel__Component[] = {
    "KdeDGlobalAccel::Component\0"
    "org.kde.kglobalaccel.Component\0"
    "D-Bus Interface\0\0"
    "componentUnique,shortcutUnique,timestamp\0"
    "globalShortcutPressed(QString,QString,qlonglong)\0"
    "bool\0cleanUp()\0isActive()\0QStringList\0"
    "context\0shortcutNames(QString)\0"
    "shortcutNames()\0QList<KGlobalShortcutInfo>\0"
    "allShortcutInfos(QString)\0allShortcutInfos()\0"
    "getShortcutContexts()\0showKCM()\0"
    "shortcut\0emitGlobalShortcutPressed(GlobalShortcut)\0"
    "shortcutName,context\0"
    "invokeShortcut(QString,QString)\0"
    "shortcutName\0invokeShortcut(QString)\0"
    "QString\0friendlyName\0uniqueName\0"
};

void KdeDGlobalAccel::Component::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        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: { bool _r = _t->showKCM();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 9: _t->emitGlobalShortcutPressed((*reinterpret_cast< const GlobalShortcut(*)>(_a[1]))); break;
        case 10: _t->invokeShortcut((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 11: _t->invokeShortcut((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData KdeDGlobalAccel::Component::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KdeDGlobalAccel::Component::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KdeDGlobalAccel__Component,
      qt_meta_data_KdeDGlobalAccel__Component, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KdeDGlobalAccel::Component::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KdeDGlobalAccel::Component::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KdeDGlobalAccel__Component))
        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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
#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;
        }
        _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;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KdeDGlobalAccel::Component::globalShortcutPressed(const QString & _t1, const QString & _t2, qlonglong _t3)
{
    void *_a[] = { 0, 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
