/****************************************************************************
** Meta object code from reading C++ file 'Activities.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/kactivitymanagerd-5.8.9/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.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_Activities_t {
    QByteArrayData data[37];
    char stringdata0[588];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Activities_t, stringdata0) + 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, 26), // "ActivityDescriptionChanged"
QT_MOC_LITERAL(13, 209, 11), // "description"
QT_MOC_LITERAL(14, 221, 19), // "ActivityIconChanged"
QT_MOC_LITERAL(15, 241, 4), // "icon"
QT_MOC_LITERAL(16, 246, 15), // "ActivityChanged"
QT_MOC_LITERAL(17, 262, 20), // "ActivityStateChanged"
QT_MOC_LITERAL(18, 283, 5), // "state"
QT_MOC_LITERAL(19, 289, 15), // "CurrentActivity"
QT_MOC_LITERAL(20, 305, 18), // "SetCurrentActivity"
QT_MOC_LITERAL(21, 324, 11), // "AddActivity"
QT_MOC_LITERAL(22, 336, 13), // "StartActivity"
QT_MOC_LITERAL(23, 350, 12), // "StopActivity"
QT_MOC_LITERAL(24, 363, 13), // "ActivityState"
QT_MOC_LITERAL(25, 377, 14), // "RemoveActivity"
QT_MOC_LITERAL(26, 392, 14), // "ListActivities"
QT_MOC_LITERAL(27, 407, 12), // "ActivityName"
QT_MOC_LITERAL(28, 420, 15), // "SetActivityName"
QT_MOC_LITERAL(29, 436, 19), // "ActivityDescription"
QT_MOC_LITERAL(30, 456, 22), // "SetActivityDescription"
QT_MOC_LITERAL(31, 479, 12), // "ActivityIcon"
QT_MOC_LITERAL(32, 492, 15), // "SetActivityIcon"
QT_MOC_LITERAL(33, 508, 29), // "ListActivitiesWithInformation"
QT_MOC_LITERAL(34, 538, 16), // "ActivityInfoList"
QT_MOC_LITERAL(35, 555, 19), // "ActivityInformation"
QT_MOC_LITERAL(36, 575, 12) // "ActivityInfo"

    },
    "Activities\0D-Bus Interface\0"
    "org.kde.ActivityManager.Activities\0"
    "CurrentActivityChanged\0\0activity\0"
    "ActivityAdded\0ActivityStarted\0"
    "ActivityStopped\0ActivityRemoved\0"
    "ActivityNameChanged\0name\0"
    "ActivityDescriptionChanged\0description\0"
    "ActivityIconChanged\0icon\0ActivityChanged\0"
    "ActivityStateChanged\0state\0CurrentActivity\0"
    "SetCurrentActivity\0AddActivity\0"
    "StartActivity\0StopActivity\0ActivityState\0"
    "RemoveActivity\0ListActivities\0"
    "ActivityName\0SetActivityName\0"
    "ActivityDescription\0SetActivityDescription\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
      27,   16, // methods
       1,  240, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    1,  151,    4, 0x06 /* Public */,
       6,    1,  154,    4, 0x06 /* Public */,
       7,    1,  157,    4, 0x06 /* Public */,
       8,    1,  160,    4, 0x06 /* Public */,
       9,    1,  163,    4, 0x06 /* Public */,
      10,    2,  166,    4, 0x06 /* Public */,
      12,    2,  171,    4, 0x06 /* Public */,
      14,    2,  176,    4, 0x06 /* Public */,
      16,    1,  181,    4, 0x06 /* Public */,
      17,    2,  184,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      19,    0,  189,    4, 0x0a /* Public */,
      20,    1,  190,    4, 0x0a /* Public */,
      21,    1,  193,    4, 0x0a /* Public */,
      22,    1,  196,    4, 0x0a /* Public */,
      23,    1,  199,    4, 0x0a /* Public */,
      24,    1,  202,    4, 0x0a /* Public */,
      25,    1,  205,    4, 0x0a /* Public */,
      26,    0,  208,    4, 0x0a /* Public */,
      26,    1,  209,    4, 0x0a /* Public */,
      27,    1,  212,    4, 0x0a /* Public */,
      28,    2,  215,    4, 0x0a /* Public */,
      29,    1,  220,    4, 0x0a /* Public */,
      30,    2,  223,    4, 0x0a /* Public */,
      31,    1,  228,    4, 0x0a /* Public */,
      32,    2,  231,    4, 0x0a /* Public */,
      33,    0,  236,    4, 0x0a /* Public */,
      35,    1,  237,    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, QMetaType::QString,    5,   15,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    5,   18,

 // 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,   18,
    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,
    QMetaType::QString, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    5,   15,
    0x80000000 | 34,
    0x80000000 | 36, QMetaType::QString,    5,

 // properties: name, type, flags
      19, 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);
        Q_UNUSED(_t)
        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->ActivityDescriptionChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 7: _t->ActivityIconChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 8: _t->ActivityChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->ActivityStateChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 10: { QString _r = _t->CurrentActivity();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 11: { bool _r = _t->SetCurrentActivity((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 12: { QString _r = _t->AddActivity((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->StartActivity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: _t->StopActivity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: { int _r = _t->ActivityState((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 16: _t->RemoveActivity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: { QStringList _r = _t->ListActivities();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 18: { QStringList _r = _t->ListActivities((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 19: { QString _r = _t->ActivityName((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 20: _t->SetActivityName((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 21: { QString _r = _t->ActivityDescription((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 22: _t->SetActivityDescription((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 23: { QString _r = _t->ActivityIcon((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 24: _t->SetActivityIcon((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 25: { ActivityInfoList _r = _t->ListActivitiesWithInformation();
            if (_a[0]) *reinterpret_cast< ActivityInfoList*>(_a[0]) = std::move(_r); }  break;
        case 26: { ActivityInfo _r = _t->ActivityInformation((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< ActivityInfo*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (Activities::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Activities::CurrentActivityChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Activities::ActivityAdded)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Activities::ActivityStarted)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Activities::ActivityStopped)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Activities::ActivityRemoved)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Activities::ActivityNameChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Activities::ActivityDescriptionChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Activities::ActivityIconChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Activities::ActivityChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (Activities::*_t)(const QString & , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Activities::ActivityStateChanged)) {
                *result = 9;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Activities *_t = static_cast<Activities *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->CurrentActivity(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Activities *_t = static_cast<Activities *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->SetCurrentActivity(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Activities::staticMetaObject = {
    { &Module::staticMetaObject, qt_meta_stringdata_Activities.data,
      qt_meta_data_Activities,  qt_static_metacall, nullptr, 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 nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Activities.stringdata0))
        return static_cast<void*>(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 < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 27)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 27;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _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;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Activities::CurrentActivityChanged(const QString & _t1)
{
    void *_a[] = { 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[] = { 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[] = { 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[] = { 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[] = { 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[] = { 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::ActivityDescriptionChanged(const QString & _t1, const QString & _t2)
{
    void *_a[] = { 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::ActivityIconChanged(const QString & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

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

// SIGNAL 9
void Activities::ActivityStateChanged(const QString & _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
