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

#include "../../../src/plasma-workspace-5.8.9/dataengines/activities/activityengine.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'activityengine.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_ActivityEngine_t {
    QByteArrayData data[17];
    char stringdata0[252];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ActivityEngine_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ActivityEngine_t qt_meta_stringdata_ActivityEngine = {
    {
QT_MOC_LITERAL(0, 0, 14), // "ActivityEngine"
QT_MOC_LITERAL(1, 15, 13), // "activityAdded"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 2), // "id"
QT_MOC_LITERAL(4, 33, 15), // "activityRemoved"
QT_MOC_LITERAL(5, 49, 22), // "currentActivityChanged"
QT_MOC_LITERAL(6, 72, 19), // "activityDataChanged"
QT_MOC_LITERAL(7, 92, 20), // "activityStateChanged"
QT_MOC_LITERAL(8, 113, 14), // "disableRanking"
QT_MOC_LITERAL(9, 128, 13), // "enableRanking"
QT_MOC_LITERAL(10, 142, 14), // "rankingChanged"
QT_MOC_LITERAL(11, 157, 13), // "topActivities"
QT_MOC_LITERAL(12, 171, 16), // "ActivityDataList"
QT_MOC_LITERAL(13, 188, 10), // "activities"
QT_MOC_LITERAL(14, 199, 19), // "activityScoresReply"
QT_MOC_LITERAL(15, 219, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(16, 244, 7) // "watcher"

    },
    "ActivityEngine\0activityAdded\0\0id\0"
    "activityRemoved\0currentActivityChanged\0"
    "activityDataChanged\0activityStateChanged\0"
    "disableRanking\0enableRanking\0"
    "rankingChanged\0topActivities\0"
    "ActivityDataList\0activities\0"
    "activityScoresReply\0QDBusPendingCallWatcher*\0"
    "watcher"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ActivityEngine[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x0a /* Public */,
       4,    1,   62,    2, 0x0a /* Public */,
       5,    1,   65,    2, 0x0a /* Public */,
       6,    0,   68,    2, 0x0a /* Public */,
       7,    0,   69,    2, 0x0a /* Public */,
       8,    0,   70,    2, 0x0a /* Public */,
       9,    0,   71,    2, 0x0a /* Public */,
      10,    2,   72,    2, 0x0a /* Public */,
      14,    1,   77,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QStringList, 0x80000000 | 12,   11,   13,
    QMetaType::Void, 0x80000000 | 15,   16,

       0        // eod
};

void ActivityEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ActivityEngine *_t = static_cast<ActivityEngine *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->activityAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->activityRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->currentActivityChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->activityDataChanged(); break;
        case 4: _t->activityStateChanged(); break;
        case 5: _t->disableRanking(); break;
        case 6: _t->enableRanking(); break;
        case 7: _t->rankingChanged((*reinterpret_cast< const QStringList(*)>(_a[1])),(*reinterpret_cast< const ActivityDataList(*)>(_a[2]))); break;
        case 8: _t->activityScoresReply((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); 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 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ActivityDataList >(); break;
            }
            break;
        }
    }
}

const QMetaObject ActivityEngine::staticMetaObject = {
    { &Plasma::DataEngine::staticMetaObject, qt_meta_stringdata_ActivityEngine.data,
      qt_meta_data_ActivityEngine,  qt_static_metacall, nullptr, nullptr}
};


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

void *ActivityEngine::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_ActivityEngine.stringdata0))
        return static_cast<void*>(this);
    return Plasma::DataEngine::qt_metacast(_clname);
}

int ActivityEngine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Plasma::DataEngine::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
