/****************************************************************************
** Meta object code from reading C++ file 'Activities.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/Activities.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Activities.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_Activities_t {
    QByteArrayData data[33];
    char stringdata[506];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Activities_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Activities_t qt_meta_stringdata_Activities = {
    {
QT_MOC_LITERAL(0, 0, 10), // "Activities"
QT_MOC_LITERAL(1, 11, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 27, 34), // "org.kde.ActivityManager.Activ..."
QT_MOC_LITERAL(3, 62, 22), // "CurrentActivityChanged"
QT_MOC_LITERAL(4, 85, 0), // ""
QT_MOC_LITERAL(5, 86, 8), // "activity"
QT_MOC_LITERAL(6, 95, 13), // "ActivityAdded"
QT_MOC_LITERAL(7, 109, 15), // "ActivityStarted"
QT_MOC_LITERAL(8, 125, 15), // "ActivityStopped"
QT_MOC_LITERAL(9, 141, 15), // "ActivityRemoved"
QT_MOC_LITERAL(10, 157, 19), // "ActivityNameChanged"
QT_MOC_LITERAL(11, 177, 4), // "name"
QT_MOC_LITERAL(12, 182, 19), // "ActivityIconChanged"
QT_MOC_LITERAL(13, 202, 4), // "icon"
QT_MOC_LITERAL(14, 207, 15), // "ActivityChanged"
QT_MOC_LITERAL(15, 223, 20), // "ActivityStateChanged"
QT_MOC_LITERAL(16, 244, 5), // "state"
QT_MOC_LITERAL(17, 250, 15), // "CurrentActivity"
QT_MOC_LITERAL(18, 266, 18), // "SetCurrentActivity"
QT_MOC_LITERAL(19, 285, 11), // "AddActivity"
QT_MOC_LITERAL(20, 297, 13), // "StartActivity"
QT_MOC_LITERAL(21, 311, 12), // "StopActivity"
QT_MOC_LITERAL(22, 324, 13), // "ActivityState"
QT_MOC_LITERAL(23, 338, 14), // "RemoveActivity"
QT_MOC_LITERAL(24, 353, 14), // "ListActivities"
QT_MOC_LITERAL(25, 368, 12), // "ActivityName"
QT_MOC_LITERAL(26, 381, 15), // "SetActivityName"
QT_MOC_LITERAL(27, 397, 12), // "ActivityIcon"
QT_MOC_LITERAL(28, 410, 15), // "SetActivityIcon"
QT_MOC_LITERAL(29, 426, 29), // "ListActivitiesWithInformation"
QT_MOC_LITERAL(30, 456, 16), // "ActivityInfoList"
QT_MOC_LITERAL(31, 473, 19), // "ActivityInformation"
QT_MOC_LITERAL(32, 493, 12) // "ActivityInfo"

    },
    "Activities\0D-Bus Interface\0"
    "org.kde.ActivityManager.Activities\0"
    "CurrentActivityChanged\0\0activity\0"
    "ActivityAdded\0ActivityStarted\0"
    "ActivityStopped\0ActivityRemoved\0"
    "ActivityNameChanged\0name\0ActivityIconChanged\0"
    "icon\0ActivityChanged\0ActivityStateChanged\0"
    "state\0CurrentActivity\0SetCurrentActivity\0"
    "AddActivity\0StartActivity\0StopActivity\0"
    "ActivityState\0RemoveActivity\0"
    "ListActivities\0ActivityName\0SetActivityName\0"
    "ActivityIcon\0SetActivityIcon\0"
    "ListActivitiesWithInformation\0"
    "ActivityInfoList\0ActivityInformation\0"
    "ActivityInfo"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Activities[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    1,  136,    4, 0x06 /* Public */,
       6,    1,  139,    4, 0x06 /* Public */,
       7,    1,  142,    4, 0x06 /* Public */,
       8,    1,  145,    4, 0x06 /* Public */,
       9,    1,  148,    4, 0x06 /* Public */,
      10,    2,  151,    4, 0x06 /* Public */,
      12,    2,  156,    4, 0x06 /* Public */,
      14,    1,  161,    4, 0x06 /* Public */,
      15,    2,  164,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    0,  169,    4, 0x0a /* Public */,
      18,    1,  170,    4, 0x0a /* Public */,
      19,    1,  173,    4, 0x0a /* Public */,
      20,    1,  176,    4, 0x0a /* Public */,
      21,    1,  179,    4, 0x0a /* Public */,
      22,    1,  182,    4, 0x0a /* Public */,
      23,    1,  185,    4, 0x0a /* Public */,
      24,    0,  188,    4, 0x0a /* Public */,
      24,    1,  189,    4, 0x0a /* Public */,
      25,    1,  192,    4, 0x0a /* Public */,
      26,    2,  195,    4, 0x0a /* Public */,
      27,    1,  200,    4, 0x0a /* Public */,
      28,    2,  203,    4, 0x0a /* Public */,
      29,    0,  208,    4, 0x0a /* Public */,
      31,    1,  209,    4, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    5,   11,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    5,   13,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    5,   16,

 // slots: parameters
    QMetaType::QString,
    QMetaType::Bool, QMetaType::QString,    5,
    QMetaType::QString, QMetaType::QString,   11,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Int, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::QStringList,
    QMetaType::QStringList, QMetaType::Int,   16,
    QMetaType::QString, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    5,   11,
    QMetaType::QString, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    5,   13,
    0x80000000 | 30,
    0x80000000 | 32, QMetaType::QString,    5,

 // properties: name, type, flags
      17, QMetaType::QString, 0x00495003,

 // properties: notify_signal_id
       0,

       0        // eod
};

void Activities::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Activities *_t = static_cast<Activities *>(_o);
        switch (_id) {
        case 0: _t->CurrentActivityChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->ActivityAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->ActivityStarted((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->ActivityStopped((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->ActivityRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->ActivityNameChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->ActivityIconChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 7: _t->ActivityChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->ActivityStateChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 9: { QString _r = _t->CurrentActivity();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 10: { bool _r = _t->SetCurrentActivity((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 11: { QString _r = _t->AddActivity((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 12: _t->StartActivity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->StopActivity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: { int _r = _t->ActivityState((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 15: _t->RemoveActivity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 16: { QStringList _r = _t->ListActivities();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 17: { QStringList _r = _t->ListActivities((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 18: { QString _r = _t->ActivityName((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 19: _t->SetActivityName((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 20: { QString _r = _t->ActivityIcon((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 21: _t->SetActivityIcon((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 22: { ActivityInfoList _r = _t->ListActivitiesWithInformation();
            if (_a[0]) *reinterpret_cast< ActivityInfoList*>(_a[0]) = _r; }  break;
        case 23: { ActivityInfo _r = _t->ActivityInformation((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< ActivityInfo*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Activities::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Activities::CurrentActivityChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Activities::ActivityAdded)) {
                *result = 1;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Activities::ActivityStarted)) {
                *result = 2;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Activities::ActivityStopped)) {
                *result = 3;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Activities::ActivityRemoved)) {
                *result = 4;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Activities::ActivityNameChanged)) {
                *result = 5;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Activities::ActivityIconChanged)) {
                *result = 6;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Activities::ActivityChanged)) {
                *result = 7;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Activities::ActivityStateChanged)) {
                *result = 8;
            }
        }
    }
}

const QMetaObject Activities::staticMetaObject = {
    { &Module::staticMetaObject, qt_meta_stringdata_Activities.data,
      qt_meta_data_Activities,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Activities::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Module::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 24;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = CurrentActivity(); break;
        default: break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: SetCurrentActivity(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Activities::CurrentActivityChanged(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Activities::ActivityAdded(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Activities::ActivityStarted(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Activities::ActivityStopped(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Activities::ActivityRemoved(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Activities::ActivityNameChanged(const QString & _t1, const QString & _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, 5, _a);
}

// SIGNAL 6
void Activities::ActivityIconChanged(const QString & _t1, const QString & _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, 6, _a);
}

// SIGNAL 7
void Activities::ActivityChanged(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Activities::ActivityStateChanged(const QString & _t1, 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, 8, _a);
}
QT_END_MOC_NAMESPACE
