/****************************************************************************
** Meta object code from reading C++ file 'call-content.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 <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'call-content.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_Tp__CallContent_t {
    QByteArrayData data[16];
    char stringdata[214];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__CallContent_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__CallContent_t qt_meta_stringdata_Tp__CallContent = {
    {
QT_MOC_LITERAL(0, 0, 15), // "Tp::CallContent"
QT_MOC_LITERAL(1, 16, 11), // "streamAdded"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 17), // "Tp::CallStreamPtr"
QT_MOC_LITERAL(4, 47, 6), // "stream"
QT_MOC_LITERAL(5, 54, 13), // "streamRemoved"
QT_MOC_LITERAL(6, 68, 19), // "Tp::CallStateReason"
QT_MOC_LITERAL(7, 88, 6), // "reason"
QT_MOC_LITERAL(8, 95, 17), // "gotMainProperties"
QT_MOC_LITERAL(9, 113, 21), // "Tp::PendingOperation*"
QT_MOC_LITERAL(10, 135, 2), // "op"
QT_MOC_LITERAL(11, 138, 14), // "onStreamsAdded"
QT_MOC_LITERAL(12, 153, 18), // "Tp::ObjectPathList"
QT_MOC_LITERAL(13, 172, 10), // "streamPath"
QT_MOC_LITERAL(14, 183, 16), // "onStreamsRemoved"
QT_MOC_LITERAL(15, 200, 13) // "onStreamReady"

    },
    "Tp::CallContent\0streamAdded\0\0"
    "Tp::CallStreamPtr\0stream\0streamRemoved\0"
    "Tp::CallStateReason\0reason\0gotMainProperties\0"
    "Tp::PendingOperation*\0op\0onStreamsAdded\0"
    "Tp::ObjectPathList\0streamPath\0"
    "onStreamsRemoved\0onStreamReady"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__CallContent[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   44,    2, 0x06 /* Public */,
       5,    2,   47,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,   52,    2, 0x08 /* Private */,
      11,    1,   55,    2, 0x08 /* Private */,
      14,    2,   58,    2, 0x08 /* Private */,
      15,    1,   63,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 6,    4,    7,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 12, 0x80000000 | 6,   13,    7,
    QMetaType::Void, 0x80000000 | 9,   10,

       0        // eod
};

void Tp::CallContent::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CallContent *_t = static_cast<CallContent *>(_o);
        switch (_id) {
        case 0: _t->streamAdded((*reinterpret_cast< const Tp::CallStreamPtr(*)>(_a[1]))); break;
        case 1: _t->streamRemoved((*reinterpret_cast< const Tp::CallStreamPtr(*)>(_a[1])),(*reinterpret_cast< const Tp::CallStateReason(*)>(_a[2]))); break;
        case 2: _t->gotMainProperties((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        case 3: _t->onStreamsAdded((*reinterpret_cast< const Tp::ObjectPathList(*)>(_a[1]))); break;
        case 4: _t->onStreamsRemoved((*reinterpret_cast< const Tp::ObjectPathList(*)>(_a[1])),(*reinterpret_cast< const Tp::CallStateReason(*)>(_a[2]))); break;
        case 5: _t->onStreamReady((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::CallStateReason >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::PendingOperation* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::ObjectPathList >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::CallStateReason >(); break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::ObjectPathList >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::PendingOperation* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (CallContent::*_t)(const Tp::CallStreamPtr & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallContent::streamAdded)) {
                *result = 0;
            }
        }
        {
            typedef void (CallContent::*_t)(const Tp::CallStreamPtr & , const Tp::CallStateReason & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallContent::streamRemoved)) {
                *result = 1;
            }
        }
    }
}

const QMetaObject Tp::CallContent::staticMetaObject = {
    { &StatefulDBusProxy::staticMetaObject, qt_meta_stringdata_Tp__CallContent.data,
      qt_meta_data_Tp__CallContent,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tp::CallContent::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tp__CallContent.stringdata))
        return static_cast<void*>(const_cast< CallContent*>(this));
    if (!strcmp(_clname, "OptionalInterfaceFactory<CallContent>"))
        return static_cast< OptionalInterfaceFactory<CallContent>*>(const_cast< CallContent*>(this));
    return StatefulDBusProxy::qt_metacast(_clname);
}

int Tp::CallContent::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = StatefulDBusProxy::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    return _id;
}

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

// SIGNAL 1
void Tp::CallContent::streamRemoved(const Tp::CallStreamPtr & _t1, const Tp::CallStateReason & _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, 1, _a);
}
struct qt_meta_stringdata_Tp__PendingCallContent_t {
    QByteArrayData data[11];
    char stringdata[152];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__PendingCallContent_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__PendingCallContent_t qt_meta_stringdata_Tp__PendingCallContent = {
    {
QT_MOC_LITERAL(0, 0, 22), // "Tp::PendingCallContent"
QT_MOC_LITERAL(1, 23, 10), // "gotContent"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(4, 60, 7), // "watcher"
QT_MOC_LITERAL(5, 68, 14), // "onContentReady"
QT_MOC_LITERAL(6, 83, 21), // "Tp::PendingOperation*"
QT_MOC_LITERAL(7, 105, 2), // "op"
QT_MOC_LITERAL(8, 108, 16), // "onContentRemoved"
QT_MOC_LITERAL(9, 125, 18), // "Tp::CallContentPtr"
QT_MOC_LITERAL(10, 144, 7) // "content"

    },
    "Tp::PendingCallContent\0gotContent\0\0"
    "QDBusPendingCallWatcher*\0watcher\0"
    "onContentReady\0Tp::PendingOperation*\0"
    "op\0onContentRemoved\0Tp::CallContentPtr\0"
    "content"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__PendingCallContent[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       3,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    1,   29,    2, 0x08 /* Private */,
       5,    1,   32,    2, 0x08 /* Private */,
       8,    1,   35,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 9,   10,

       0        // eod
};

void Tp::PendingCallContent::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PendingCallContent *_t = static_cast<PendingCallContent *>(_o);
        switch (_id) {
        case 0: _t->gotContent((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 1: _t->onContentReady((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        case 2: _t->onContentRemoved((*reinterpret_cast< const Tp::CallContentPtr(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusPendingCallWatcher* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::PendingOperation* >(); break;
            }
            break;
        }
    }
}

const QMetaObject Tp::PendingCallContent::staticMetaObject = {
    { &PendingOperation::staticMetaObject, qt_meta_stringdata_Tp__PendingCallContent.data,
      qt_meta_data_Tp__PendingCallContent,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tp::PendingCallContent::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tp__PendingCallContent.stringdata))
        return static_cast<void*>(const_cast< PendingCallContent*>(this));
    return PendingOperation::qt_metacast(_clname);
}

int Tp::PendingCallContent::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = PendingOperation::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
