/****************************************************************************
** Meta object code from reading C++ file 'ResourceLinking.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/plugins/sqlite/ResourceLinking.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ResourceLinking.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_ResourceLinking_t {
    QByteArrayData data[16];
    char stringdata[321];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ResourceLinking_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ResourceLinking_t qt_meta_stringdata_ResourceLinking = {
    {
QT_MOC_LITERAL(0, 0, 15), // "ResourceLinking"
QT_MOC_LITERAL(1, 16, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 32, 41), // "org.kde.ActivityManager.Resou..."
QT_MOC_LITERAL(3, 74, 24), // "ResourceLinkedToActivity"
QT_MOC_LITERAL(4, 99, 0), // ""
QT_MOC_LITERAL(5, 100, 15), // "initiatingAgent"
QT_MOC_LITERAL(6, 116, 17), // "targettedResource"
QT_MOC_LITERAL(7, 134, 12), // "usedActivity"
QT_MOC_LITERAL(8, 147, 28), // "ResourceUnlinkedFromActivity"
QT_MOC_LITERAL(9, 176, 22), // "LinkResourceToActivity"
QT_MOC_LITERAL(10, 199, 26), // "UnlinkResourceFromActivity"
QT_MOC_LITERAL(11, 226, 26), // "IsResourceLinkedToActivity"
QT_MOC_LITERAL(12, 253, 15), // "onActivityAdded"
QT_MOC_LITERAL(13, 269, 8), // "activity"
QT_MOC_LITERAL(14, 278, 17), // "onActivityRemoved"
QT_MOC_LITERAL(15, 296, 24) // "onCurrentActivityChanged"

    },
    "ResourceLinking\0D-Bus Interface\0"
    "org.kde.ActivityManager.Resources.Linking\0"
    "ResourceLinkedToActivity\0\0initiatingAgent\0"
    "targettedResource\0usedActivity\0"
    "ResourceUnlinkedFromActivity\0"
    "LinkResourceToActivity\0"
    "UnlinkResourceFromActivity\0"
    "IsResourceLinkedToActivity\0onActivityAdded\0"
    "activity\0onActivityRemoved\0"
    "onCurrentActivityChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ResourceLinking[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
      11,   16, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    3,   71,    4, 0x06 /* Public */,
       8,    3,   78,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    3,   85,    4, 0x0a /* Public */,
       9,    2,   92,    4, 0x2a /* Public | MethodCloned */,
      10,    3,   97,    4, 0x0a /* Public */,
      10,    2,  104,    4, 0x2a /* Public | MethodCloned */,
      11,    3,  109,    4, 0x0a /* Public */,
      11,    2,  116,    4, 0x2a /* Public | MethodCloned */,
      12,    1,  121,    4, 0x08 /* Private */,
      14,    1,  124,    4, 0x08 /* Private */,
      15,    1,  127,    4, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    5,    6,    7,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    5,    6,    7,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    5,    6,    7,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    5,    6,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    5,    6,    7,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    5,    6,
    QMetaType::Bool, QMetaType::QString, QMetaType::QString, QMetaType::QString,    5,    6,    7,
    QMetaType::Bool, QMetaType::QString, QMetaType::QString,    5,    6,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void, QMetaType::QString,   13,

       0        // eod
};

void ResourceLinking::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ResourceLinking *_t = static_cast<ResourceLinking *>(_o);
        switch (_id) {
        case 0: _t->ResourceLinkedToActivity((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 1: _t->ResourceUnlinkedFromActivity((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 2: _t->LinkResourceToActivity((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break;
        case 3: _t->LinkResourceToActivity((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 4: _t->UnlinkResourceFromActivity((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break;
        case 5: _t->UnlinkResourceFromActivity((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 6: { bool _r = _t->IsResourceLinkedToActivity((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 7: { bool _r = _t->IsResourceLinkedToActivity((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 8: _t->onActivityAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->onActivityRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->onCurrentActivityChanged((*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 (ResourceLinking::*_t)(const QString & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResourceLinking::ResourceLinkedToActivity)) {
                *result = 0;
            }
        }
        {
            typedef void (ResourceLinking::*_t)(const QString & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ResourceLinking::ResourceUnlinkedFromActivity)) {
                *result = 1;
            }
        }
    }
}

const QMetaObject ResourceLinking::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_ResourceLinking.data,
      qt_meta_data_ResourceLinking,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int ResourceLinking::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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
    return _id;
}

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

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