/****************************************************************************
** Meta object code from reading C++ file 'SlcPlugin.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/kactivities-5.12.0/src/service/plugins/slc/SlcPlugin.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'SlcPlugin.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_SlcPlugin_t {
    QByteArrayData data[16];
    char stringdata[241];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SlcPlugin_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SlcPlugin_t qt_meta_stringdata_SlcPlugin = {
    {
QT_MOC_LITERAL(0, 0, 9), // "SlcPlugin"
QT_MOC_LITERAL(1, 10, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 26, 27), // "org.kde.ActivityManager.SLC"
QT_MOC_LITERAL(3, 54, 12), // "focusChanged"
QT_MOC_LITERAL(4, 67, 0), // ""
QT_MOC_LITERAL(5, 68, 3), // "uri"
QT_MOC_LITERAL(6, 72, 8), // "mimetype"
QT_MOC_LITERAL(7, 81, 5), // "title"
QT_MOC_LITERAL(8, 87, 23), // "registeredResourceEvent"
QT_MOC_LITERAL(9, 111, 5), // "Event"
QT_MOC_LITERAL(10, 117, 5), // "event"
QT_MOC_LITERAL(11, 123, 26), // "registeredResourceMimetype"
QT_MOC_LITERAL(12, 150, 23), // "registeredResourceTitle"
QT_MOC_LITERAL(13, 174, 19), // "focussedResourceURI"
QT_MOC_LITERAL(14, 194, 24), // "focussedResourceMimetype"
QT_MOC_LITERAL(15, 219, 21) // "focussedResourceTitle"

    },
    "SlcPlugin\0D-Bus Interface\0"
    "org.kde.ActivityManager.SLC\0focusChanged\0"
    "\0uri\0mimetype\0title\0registeredResourceEvent\0"
    "Event\0event\0registeredResourceMimetype\0"
    "registeredResourceTitle\0focussedResourceURI\0"
    "focussedResourceMimetype\0focussedResourceTitle"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SlcPlugin[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
       7,   16, // methods
       0,    0, // 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,   51,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,   58,    4, 0x08 /* Private */,
      11,    2,   61,    4, 0x08 /* Private */,
      12,    2,   66,    4, 0x08 /* Private */,
      13,    0,   71,    4, 0x0a /* Public */,
      14,    0,   72,    4, 0x0a /* Public */,
      15,    0,   73,    4, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    5,    6,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    5,    7,
    QMetaType::QString,
    QMetaType::QString,
    QMetaType::QString,

       0        // eod
};

void SlcPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SlcPlugin *_t = static_cast<SlcPlugin *>(_o);
        switch (_id) {
        case 0: _t->focusChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 1: _t->registeredResourceEvent((*reinterpret_cast< const Event(*)>(_a[1]))); break;
        case 2: _t->registeredResourceMimetype((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->registeredResourceTitle((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 4: { QString _r = _t->focussedResourceURI();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 5: { QString _r = _t->focussedResourceMimetype();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 6: { QString _r = _t->focussedResourceTitle();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Event >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (SlcPlugin::*_t)(const QString & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SlcPlugin::focusChanged)) {
                *result = 0;
            }
        }
    }
}

const QMetaObject SlcPlugin::staticMetaObject = {
    { &Plugin::staticMetaObject, qt_meta_stringdata_SlcPlugin.data,
      qt_meta_data_SlcPlugin,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *SlcPlugin::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_SlcPlugin.stringdata))
        return static_cast<void*>(const_cast< SlcPlugin*>(this));
    return Plugin::qt_metacast(_clname);
}

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

// SIGNAL 0
void SlcPlugin::focusChanged(const QString & _t1, const QString & _t2, const QString & _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
