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

#include "../../../src/kactivities-5.39.0/src/lib/info.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'info.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_KActivities__Info_t {
    QByteArrayData data[25];
    char stringdata0[301];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KActivities__Info_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KActivities__Info_t qt_meta_stringdata_KActivities__Info = {
    {
QT_MOC_LITERAL(0, 0, 17), // "KActivities::Info"
QT_MOC_LITERAL(1, 18, 11), // "infoChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 11), // "nameChanged"
QT_MOC_LITERAL(4, 43, 4), // "name"
QT_MOC_LITERAL(5, 48, 16), // "isCurrentChanged"
QT_MOC_LITERAL(6, 65, 7), // "current"
QT_MOC_LITERAL(7, 73, 18), // "descriptionChanged"
QT_MOC_LITERAL(8, 92, 11), // "description"
QT_MOC_LITERAL(9, 104, 11), // "iconChanged"
QT_MOC_LITERAL(10, 116, 4), // "icon"
QT_MOC_LITERAL(11, 121, 5), // "added"
QT_MOC_LITERAL(12, 127, 7), // "removed"
QT_MOC_LITERAL(13, 135, 7), // "started"
QT_MOC_LITERAL(14, 143, 7), // "stopped"
QT_MOC_LITERAL(15, 151, 12), // "stateChanged"
QT_MOC_LITERAL(16, 164, 24), // "KActivities::Info::State"
QT_MOC_LITERAL(17, 189, 5), // "state"
QT_MOC_LITERAL(18, 195, 20), // "activityStateChanged"
QT_MOC_LITERAL(19, 216, 16), // "setServiceStatus"
QT_MOC_LITERAL(20, 233, 23), // "Consumer::ServiceStatus"
QT_MOC_LITERAL(21, 257, 18), // "setCurrentActivity"
QT_MOC_LITERAL(22, 276, 2), // "id"
QT_MOC_LITERAL(23, 279, 9), // "isCurrent"
QT_MOC_LITERAL(24, 289, 11) // "Info::State"

    },
    "KActivities::Info\0infoChanged\0\0"
    "nameChanged\0name\0isCurrentChanged\0"
    "current\0descriptionChanged\0description\0"
    "iconChanged\0icon\0added\0removed\0started\0"
    "stopped\0stateChanged\0KActivities::Info::State\0"
    "state\0activityStateChanged\0setServiceStatus\0"
    "Consumer::ServiceStatus\0setCurrentActivity\0"
    "id\0isCurrent\0Info::State"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KActivities__Info[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      21,   14, // methods
       6,  180, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  119,    2, 0x06 /* Public */,
       3,    1,  120,    2, 0x06 /* Public */,
       5,    1,  123,    2, 0x06 /* Public */,
       7,    1,  126,    2, 0x06 /* Public */,
       9,    1,  129,    2, 0x06 /* Public */,
      11,    0,  132,    2, 0x06 /* Public */,
      12,    0,  133,    2, 0x06 /* Public */,
      13,    0,  134,    2, 0x06 /* Public */,
      14,    0,  135,    2, 0x06 /* Public */,
      15,    1,  136,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      18,    2,  139,    2, 0x08 /* Private */,
      11,    1,  144,    2, 0x08 /* Private */,
      12,    1,  147,    2, 0x08 /* Private */,
      13,    1,  150,    2, 0x08 /* Private */,
      14,    1,  153,    2, 0x08 /* Private */,
       1,    1,  156,    2, 0x08 /* Private */,
       3,    2,  159,    2, 0x08 /* Private */,
       7,    2,  164,    2, 0x08 /* Private */,
       9,    2,  169,    2, 0x08 /* Private */,
      19,    1,  174,    2, 0x08 /* Private */,
      21,    1,  177,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,   17,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    2,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    2,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    2,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    2,    2,
    QMetaType::Void, 0x80000000 | 20,    2,
    QMetaType::Void, QMetaType::QString,    2,

 // properties: name, type, flags
      22, QMetaType::QString, 0x00095001,
       4, QMetaType::QString, 0x00495001,
       8, QMetaType::QString, 0x00495001,
      10, QMetaType::QString, 0x00495001,
      23, QMetaType::Bool, 0x00495001,
      17, 0x80000000 | 24, 0x00495009,

 // properties: notify_signal_id
       0,
       1,
       3,
       4,
       2,
       9,

       0        // eod
};

void KActivities::Info::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Info *_t = static_cast<Info *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->infoChanged(); break;
        case 1: _t->nameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->isCurrentChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->descriptionChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->iconChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->added(); break;
        case 6: _t->removed(); break;
        case 7: _t->started(); break;
        case 8: _t->stopped(); break;
        case 9: _t->stateChanged((*reinterpret_cast< KActivities::Info::State(*)>(_a[1]))); break;
        case 10: _t->d->activityStateChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 11: _t->d->added((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->d->removed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->d->started((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: _t->d->stopped((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: _t->d->infoChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 16: _t->d->nameChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 17: _t->d->descriptionChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 18: _t->d->iconChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 19: _t->d->setServiceStatus((*reinterpret_cast< Consumer::ServiceStatus(*)>(_a[1]))); break;
        case 20: _t->d->setCurrentActivity((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Info::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Info::infoChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Info::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Info::nameChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Info::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Info::isCurrentChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Info::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Info::descriptionChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Info::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Info::iconChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Info::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Info::added)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Info::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Info::removed)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Info::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Info::started)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Info::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Info::stopped)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (Info::*_t)(KActivities::Info::State );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Info::stateChanged)) {
                *result = 9;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Info *_t = static_cast<Info *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->id(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->description(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->icon(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->isCurrent(); break;
        case 5: *reinterpret_cast< Info::State*>(_v) = _t->state(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KActivities::Info::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KActivities__Info.data,
      qt_meta_data_KActivities__Info,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KActivities::Info::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 < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 21;
    }
#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 -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KActivities::Info::infoChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

// SIGNAL 2
void KActivities::Info::isCurrentChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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

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

// SIGNAL 5
void KActivities::Info::added()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void KActivities::Info::removed()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void KActivities::Info::started()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void KActivities::Info::stopped()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void KActivities::Info::stateChanged(KActivities::Info::State _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
