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

#include <memory>
#include "../../../../../kactivities-5.116.0/src/lib/activitiescache_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'activitiescache_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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_KActivities__ActivitiesCache_t {
    QByteArrayData data[42];
    char stringdata0[698];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KActivities__ActivitiesCache_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KActivities__ActivitiesCache_t qt_meta_stringdata_KActivities__ActivitiesCache = {
    {
QT_MOC_LITERAL(0, 0, 28), // "KActivities::ActivitiesCache"
QT_MOC_LITERAL(1, 29, 13), // "activityAdded"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 2), // "id"
QT_MOC_LITERAL(4, 47, 15), // "activityChanged"
QT_MOC_LITERAL(5, 63, 15), // "activityRemoved"
QT_MOC_LITERAL(6, 79, 20), // "activityStateChanged"
QT_MOC_LITERAL(7, 100, 5), // "state"
QT_MOC_LITERAL(8, 106, 19), // "activityNameChanged"
QT_MOC_LITERAL(9, 126, 4), // "name"
QT_MOC_LITERAL(10, 131, 26), // "activityDescriptionChanged"
QT_MOC_LITERAL(11, 158, 11), // "description"
QT_MOC_LITERAL(12, 170, 19), // "activityIconChanged"
QT_MOC_LITERAL(13, 190, 4), // "icon"
QT_MOC_LITERAL(14, 195, 22), // "currentActivityChanged"
QT_MOC_LITERAL(15, 218, 20), // "serviceStatusChanged"
QT_MOC_LITERAL(16, 239, 23), // "Consumer::ServiceStatus"
QT_MOC_LITERAL(17, 263, 6), // "status"
QT_MOC_LITERAL(18, 270, 19), // "activityListChanged"
QT_MOC_LITERAL(19, 290, 26), // "runningActivityListChanged"
QT_MOC_LITERAL(20, 317, 19), // "updateAllActivities"
QT_MOC_LITERAL(21, 337, 19), // "loadOfflineDefaults"
QT_MOC_LITERAL(22, 357, 14), // "updateActivity"
QT_MOC_LITERAL(23, 372, 19), // "updateActivityState"
QT_MOC_LITERAL(24, 392, 14), // "removeActivity"
QT_MOC_LITERAL(25, 407, 24), // "setActivityInfoFromReply"
QT_MOC_LITERAL(26, 432, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(27, 457, 7), // "watcher"
QT_MOC_LITERAL(28, 465, 25), // "setAllActivitiesFromReply"
QT_MOC_LITERAL(29, 491, 27), // "setCurrentActivityFromReply"
QT_MOC_LITERAL(30, 519, 15), // "setActivityName"
QT_MOC_LITERAL(31, 535, 22), // "setActivityDescription"
QT_MOC_LITERAL(32, 558, 15), // "setActivityIcon"
QT_MOC_LITERAL(33, 574, 15), // "setActivityInfo"
QT_MOC_LITERAL(34, 590, 12), // "ActivityInfo"
QT_MOC_LITERAL(35, 603, 4), // "info"
QT_MOC_LITERAL(36, 608, 16), // "setAllActivities"
QT_MOC_LITERAL(37, 625, 16), // "ActivityInfoList"
QT_MOC_LITERAL(38, 642, 10), // "activities"
QT_MOC_LITERAL(39, 653, 18), // "setCurrentActivity"
QT_MOC_LITERAL(40, 672, 8), // "activity"
QT_MOC_LITERAL(41, 681, 16) // "setServiceStatus"

    },
    "KActivities::ActivitiesCache\0activityAdded\0"
    "\0id\0activityChanged\0activityRemoved\0"
    "activityStateChanged\0state\0"
    "activityNameChanged\0name\0"
    "activityDescriptionChanged\0description\0"
    "activityIconChanged\0icon\0"
    "currentActivityChanged\0serviceStatusChanged\0"
    "Consumer::ServiceStatus\0status\0"
    "activityListChanged\0runningActivityListChanged\0"
    "updateAllActivities\0loadOfflineDefaults\0"
    "updateActivity\0updateActivityState\0"
    "removeActivity\0setActivityInfoFromReply\0"
    "QDBusPendingCallWatcher*\0watcher\0"
    "setAllActivitiesFromReply\0"
    "setCurrentActivityFromReply\0setActivityName\0"
    "setActivityDescription\0setActivityIcon\0"
    "setActivityInfo\0ActivityInfo\0info\0"
    "setAllActivities\0ActivityInfoList\0"
    "activities\0setCurrentActivity\0activity\0"
    "setServiceStatus"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KActivities__ActivitiesCache[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      26,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      11,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  144,    2, 0x06 /* Public */,
       4,    1,  147,    2, 0x06 /* Public */,
       5,    1,  150,    2, 0x06 /* Public */,
       6,    2,  153,    2, 0x06 /* Public */,
       8,    2,  158,    2, 0x06 /* Public */,
      10,    2,  163,    2, 0x06 /* Public */,
      12,    2,  168,    2, 0x06 /* Public */,
      14,    1,  173,    2, 0x06 /* Public */,
      15,    1,  176,    2, 0x06 /* Public */,
      18,    0,  179,    2, 0x06 /* Public */,
      19,    0,  180,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      20,    0,  181,    2, 0x08 /* Private */,
      21,    0,  182,    2, 0x08 /* Private */,
      22,    1,  183,    2, 0x08 /* Private */,
      23,    2,  186,    2, 0x08 /* Private */,
      24,    1,  191,    2, 0x08 /* Private */,
      25,    1,  194,    2, 0x08 /* Private */,
      28,    1,  197,    2, 0x08 /* Private */,
      29,    1,  200,    2, 0x08 /* Private */,
      30,    2,  203,    2, 0x08 /* Private */,
      31,    2,  208,    2, 0x08 /* Private */,
      32,    2,  213,    2, 0x08 /* Private */,
      33,    1,  218,    2, 0x08 /* Private */,
      36,    1,  221,    2, 0x08 /* Private */,
      39,    1,  224,    2, 0x08 /* Private */,
      41,    1,  227,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    3,    7,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,   11,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,   13,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    3,    7,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,   11,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,   13,
    QMetaType::Void, 0x80000000 | 34,   35,
    QMetaType::Void, 0x80000000 | 37,   38,
    QMetaType::Void, QMetaType::QString,   40,
    QMetaType::Void, QMetaType::Bool,   17,

       0        // eod
};

void KActivities::ActivitiesCache::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ActivitiesCache *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->activityAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->activityChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->activityRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->activityStateChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->activityNameChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 5: _t->activityDescriptionChanged((*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->currentActivityChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->serviceStatusChanged((*reinterpret_cast< Consumer::ServiceStatus(*)>(_a[1]))); break;
        case 9: _t->activityListChanged(); break;
        case 10: _t->runningActivityListChanged(); break;
        case 11: _t->updateAllActivities(); break;
        case 12: _t->loadOfflineDefaults(); break;
        case 13: _t->updateActivity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: _t->updateActivityState((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 15: _t->removeActivity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 16: _t->setActivityInfoFromReply((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 17: _t->setAllActivitiesFromReply((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 18: _t->setCurrentActivityFromReply((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 19: _t->setActivityName((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 20: _t->setActivityDescription((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 21: _t->setActivityIcon((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 22: _t->setActivityInfo((*reinterpret_cast< const ActivityInfo(*)>(_a[1]))); break;
        case 23: _t->setAllActivities((*reinterpret_cast< const ActivityInfoList(*)>(_a[1]))); break;
        case 24: _t->setCurrentActivity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 25: _t->setServiceStatus((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 22:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ActivityInfo >(); break;
            }
            break;
        case 23:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ActivityInfoList >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ActivitiesCache::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ActivitiesCache::activityAdded)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (ActivitiesCache::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ActivitiesCache::activityChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (ActivitiesCache::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ActivitiesCache::activityRemoved)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (ActivitiesCache::*)(const QString & , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ActivitiesCache::activityStateChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (ActivitiesCache::*)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ActivitiesCache::activityNameChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (ActivitiesCache::*)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ActivitiesCache::activityDescriptionChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (ActivitiesCache::*)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ActivitiesCache::activityIconChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (ActivitiesCache::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ActivitiesCache::currentActivityChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (ActivitiesCache::*)(Consumer::ServiceStatus );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ActivitiesCache::serviceStatusChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (ActivitiesCache::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ActivitiesCache::activityListChanged)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (ActivitiesCache::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ActivitiesCache::runningActivityListChanged)) {
                *result = 10;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject KActivities::ActivitiesCache::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_KActivities__ActivitiesCache.data,
    qt_meta_data_KActivities__ActivitiesCache,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *KActivities::ActivitiesCache::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KActivities__ActivitiesCache.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int KActivities::ActivitiesCache::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 < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    }
    return _id;
}

// SIGNAL 0
void KActivities::ActivitiesCache::activityAdded(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KActivities::ActivitiesCache::activityChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KActivities::ActivitiesCache::activityRemoved(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KActivities::ActivitiesCache::activityStateChanged(const QString & _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KActivities::ActivitiesCache::activityNameChanged(const QString & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KActivities::ActivitiesCache::activityDescriptionChanged(const QString & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KActivities::ActivitiesCache::activityIconChanged(const QString & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void KActivities::ActivitiesCache::currentActivityChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void KActivities::ActivitiesCache::serviceStatusChanged(Consumer::ServiceStatus _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void KActivities::ActivitiesCache::activityListChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void KActivities::ActivitiesCache::runningActivityListChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
