/****************************************************************************
** Meta object code from reading C++ file 'call-stream.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-stream.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__CallStream_t {
    QByteArrayData data[25];
    char stringdata[446];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__CallStream_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__CallStream_t qt_meta_stringdata_Tp__CallStream = {
    {
QT_MOC_LITERAL(0, 0, 14), // "Tp::CallStream"
QT_MOC_LITERAL(1, 15, 24), // "localSendingStateChanged"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 16), // "Tp::SendingState"
QT_MOC_LITERAL(4, 58, 17), // "localSendingState"
QT_MOC_LITERAL(5, 76, 19), // "Tp::CallStateReason"
QT_MOC_LITERAL(6, 96, 6), // "reason"
QT_MOC_LITERAL(7, 103, 25), // "remoteSendingStateChanged"
QT_MOC_LITERAL(8, 129, 38), // "QHash<Tp::ContactPtr,Tp::Send..."
QT_MOC_LITERAL(9, 168, 19), // "remoteSendingStates"
QT_MOC_LITERAL(10, 188, 20), // "remoteMembersRemoved"
QT_MOC_LITERAL(11, 209, 12), // "Tp::Contacts"
QT_MOC_LITERAL(12, 222, 13), // "remoteMembers"
QT_MOC_LITERAL(13, 236, 17), // "gotMainProperties"
QT_MOC_LITERAL(14, 254, 21), // "Tp::PendingOperation*"
QT_MOC_LITERAL(15, 276, 2), // "op"
QT_MOC_LITERAL(16, 279, 24), // "gotRemoteMembersContacts"
QT_MOC_LITERAL(17, 304, 22), // "onRemoteMembersChanged"
QT_MOC_LITERAL(18, 327, 26), // "Tp::ContactSendingStateMap"
QT_MOC_LITERAL(19, 354, 7), // "updates"
QT_MOC_LITERAL(20, 362, 23), // "Tp::HandleIdentifierMap"
QT_MOC_LITERAL(21, 386, 11), // "identifiers"
QT_MOC_LITERAL(22, 398, 12), // "Tp::UIntList"
QT_MOC_LITERAL(23, 411, 7), // "removed"
QT_MOC_LITERAL(24, 419, 26) // "onLocalSendingStateChanged"

    },
    "Tp::CallStream\0localSendingStateChanged\0"
    "\0Tp::SendingState\0localSendingState\0"
    "Tp::CallStateReason\0reason\0"
    "remoteSendingStateChanged\0"
    "QHash<Tp::ContactPtr,Tp::SendingState>\0"
    "remoteSendingStates\0remoteMembersRemoved\0"
    "Tp::Contacts\0remoteMembers\0gotMainProperties\0"
    "Tp::PendingOperation*\0op\0"
    "gotRemoteMembersContacts\0"
    "onRemoteMembersChanged\0"
    "Tp::ContactSendingStateMap\0updates\0"
    "Tp::HandleIdentifierMap\0identifiers\0"
    "Tp::UIntList\0removed\0onLocalSendingStateChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__CallStream[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   49,    2, 0x06 /* Public */,
       7,    2,   54,    2, 0x06 /* Public */,
      10,    2,   59,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    1,   64,    2, 0x08 /* Private */,
      16,    1,   67,    2, 0x08 /* Private */,
      17,    4,   70,    2, 0x08 /* Private */,
      24,    2,   79,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 5,    9,    6,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 5,   12,    6,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, 0x80000000 | 18, 0x80000000 | 20, 0x80000000 | 22, 0x80000000 | 5,   19,   21,   23,    6,
    QMetaType::Void, QMetaType::UInt, 0x80000000 | 5,    2,    6,

       0        // eod
};

void Tp::CallStream::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CallStream *_t = static_cast<CallStream *>(_o);
        switch (_id) {
        case 0: _t->localSendingStateChanged((*reinterpret_cast< Tp::SendingState(*)>(_a[1])),(*reinterpret_cast< const Tp::CallStateReason(*)>(_a[2]))); break;
        case 1: _t->remoteSendingStateChanged((*reinterpret_cast< const QHash<Tp::ContactPtr,Tp::SendingState>(*)>(_a[1])),(*reinterpret_cast< const Tp::CallStateReason(*)>(_a[2]))); break;
        case 2: _t->remoteMembersRemoved((*reinterpret_cast< const Tp::Contacts(*)>(_a[1])),(*reinterpret_cast< const Tp::CallStateReason(*)>(_a[2]))); break;
        case 3: _t->gotMainProperties((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        case 4: _t->gotRemoteMembersContacts((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        case 5: _t->onRemoteMembersChanged((*reinterpret_cast< const Tp::ContactSendingStateMap(*)>(_a[1])),(*reinterpret_cast< const Tp::HandleIdentifierMap(*)>(_a[2])),(*reinterpret_cast< const Tp::UIntList(*)>(_a[3])),(*reinterpret_cast< const Tp::CallStateReason(*)>(_a[4]))); break;
        case 6: _t->onLocalSendingStateChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< const Tp::CallStateReason(*)>(_a[2]))); 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 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::CallStateReason >(); break;
            }
            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 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::CallStateReason >(); 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::PendingOperation* >(); break;
            }
            break;
        case 4:
            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 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 3:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::CallStateReason >(); break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::ContactSendingStateMap >(); break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::HandleIdentifierMap >(); break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::UIntList >(); break;
            }
            break;
        case 6:
            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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (CallStream::*_t)(Tp::SendingState , const Tp::CallStateReason & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallStream::localSendingStateChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (CallStream::*_t)(const QHash<Tp::ContactPtr,Tp::SendingState> & , const Tp::CallStateReason & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallStream::remoteSendingStateChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (CallStream::*_t)(const Tp::Contacts & , const Tp::CallStateReason & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallStream::remoteMembersRemoved)) {
                *result = 2;
            }
        }
    }
}

const QMetaObject Tp::CallStream::staticMetaObject = {
    { &StatefulDBusProxy::staticMetaObject, qt_meta_stringdata_Tp__CallStream.data,
      qt_meta_data_Tp__CallStream,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

// SIGNAL 0
void Tp::CallStream::localSendingStateChanged(Tp::SendingState _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, 0, _a);
}

// SIGNAL 1
void Tp::CallStream::remoteSendingStateChanged(const QHash<Tp::ContactPtr,Tp::SendingState> & _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);
}

// SIGNAL 2
void Tp::CallStream::remoteMembersRemoved(const Tp::Contacts & _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, 2, _a);
}
QT_END_MOC_NAMESPACE
