/****************************************************************************
** Meta object code from reading C++ file 'call-channel.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-channel.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__CallChannel_t {
    QByteArrayData data[48];
    char stringdata[768];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__CallChannel_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__CallChannel_t qt_meta_stringdata_Tp__CallChannel = {
    {
QT_MOC_LITERAL(0, 0, 15), // "Tp::CallChannel"
QT_MOC_LITERAL(1, 16, 16), // "callStateChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 13), // "Tp::CallState"
QT_MOC_LITERAL(4, 48, 5), // "state"
QT_MOC_LITERAL(5, 54, 16), // "callFlagsChanged"
QT_MOC_LITERAL(6, 71, 13), // "Tp::CallFlags"
QT_MOC_LITERAL(7, 85, 5), // "flags"
QT_MOC_LITERAL(8, 91, 24), // "remoteMemberFlagsChanged"
QT_MOC_LITERAL(9, 116, 41), // "QHash<Tp::ContactPtr,Tp::Call..."
QT_MOC_LITERAL(10, 158, 17), // "remoteMemberFlags"
QT_MOC_LITERAL(11, 176, 19), // "Tp::CallStateReason"
QT_MOC_LITERAL(12, 196, 6), // "reason"
QT_MOC_LITERAL(13, 203, 20), // "remoteMembersRemoved"
QT_MOC_LITERAL(14, 224, 12), // "Tp::Contacts"
QT_MOC_LITERAL(15, 237, 13), // "remoteMembers"
QT_MOC_LITERAL(16, 251, 12), // "contentAdded"
QT_MOC_LITERAL(17, 264, 18), // "Tp::CallContentPtr"
QT_MOC_LITERAL(18, 283, 7), // "content"
QT_MOC_LITERAL(19, 291, 14), // "contentRemoved"
QT_MOC_LITERAL(20, 306, 21), // "localHoldStateChanged"
QT_MOC_LITERAL(21, 328, 18), // "Tp::LocalHoldState"
QT_MOC_LITERAL(22, 347, 24), // "Tp::LocalHoldStateReason"
QT_MOC_LITERAL(23, 372, 17), // "gotMainProperties"
QT_MOC_LITERAL(24, 390, 21), // "Tp::PendingOperation*"
QT_MOC_LITERAL(25, 412, 2), // "op"
QT_MOC_LITERAL(26, 415, 12), // "gotCallState"
QT_MOC_LITERAL(27, 428, 18), // "onCallStateChanged"
QT_MOC_LITERAL(28, 447, 11), // "stateReason"
QT_MOC_LITERAL(29, 459, 12), // "stateDetails"
QT_MOC_LITERAL(30, 472, 14), // "gotCallMembers"
QT_MOC_LITERAL(31, 487, 22), // "gotCallMembersContacts"
QT_MOC_LITERAL(32, 510, 20), // "onCallMembersChanged"
QT_MOC_LITERAL(33, 531, 17), // "Tp::CallMemberMap"
QT_MOC_LITERAL(34, 549, 7), // "updates"
QT_MOC_LITERAL(35, 557, 23), // "Tp::HandleIdentifierMap"
QT_MOC_LITERAL(36, 581, 11), // "identifiers"
QT_MOC_LITERAL(37, 593, 12), // "Tp::UIntList"
QT_MOC_LITERAL(38, 606, 7), // "removed"
QT_MOC_LITERAL(39, 614, 11), // "gotContents"
QT_MOC_LITERAL(40, 626, 14), // "onContentAdded"
QT_MOC_LITERAL(41, 641, 15), // "QDBusObjectPath"
QT_MOC_LITERAL(42, 657, 11), // "contentPath"
QT_MOC_LITERAL(43, 669, 16), // "onContentRemoved"
QT_MOC_LITERAL(44, 686, 14), // "onContentReady"
QT_MOC_LITERAL(45, 701, 17), // "gotLocalHoldState"
QT_MOC_LITERAL(46, 719, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(47, 744, 23) // "onLocalHoldStateChanged"

    },
    "Tp::CallChannel\0callStateChanged\0\0"
    "Tp::CallState\0state\0callFlagsChanged\0"
    "Tp::CallFlags\0flags\0remoteMemberFlagsChanged\0"
    "QHash<Tp::ContactPtr,Tp::CallMemberFlags>\0"
    "remoteMemberFlags\0Tp::CallStateReason\0"
    "reason\0remoteMembersRemoved\0Tp::Contacts\0"
    "remoteMembers\0contentAdded\0"
    "Tp::CallContentPtr\0content\0contentRemoved\0"
    "localHoldStateChanged\0Tp::LocalHoldState\0"
    "Tp::LocalHoldStateReason\0gotMainProperties\0"
    "Tp::PendingOperation*\0op\0gotCallState\0"
    "onCallStateChanged\0stateReason\0"
    "stateDetails\0gotCallMembers\0"
    "gotCallMembersContacts\0onCallMembersChanged\0"
    "Tp::CallMemberMap\0updates\0"
    "Tp::HandleIdentifierMap\0identifiers\0"
    "Tp::UIntList\0removed\0gotContents\0"
    "onContentAdded\0QDBusObjectPath\0"
    "contentPath\0onContentRemoved\0"
    "onContentReady\0gotLocalHoldState\0"
    "QDBusPendingCallWatcher*\0"
    "onLocalHoldStateChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__CallChannel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  109,    2, 0x06 /* Public */,
       5,    1,  112,    2, 0x06 /* Public */,
       8,    2,  115,    2, 0x06 /* Public */,
      13,    2,  120,    2, 0x06 /* Public */,
      16,    1,  125,    2, 0x06 /* Public */,
      19,    2,  128,    2, 0x06 /* Public */,
      20,    2,  133,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      23,    1,  138,    2, 0x08 /* Private */,
      26,    1,  141,    2, 0x08 /* Private */,
      27,    4,  144,    2, 0x08 /* Private */,
      30,    1,  153,    2, 0x08 /* Private */,
      31,    1,  156,    2, 0x08 /* Private */,
      32,    4,  159,    2, 0x08 /* Private */,
      39,    1,  168,    2, 0x08 /* Private */,
      40,    1,  171,    2, 0x08 /* Private */,
      43,    2,  174,    2, 0x08 /* Private */,
      44,    1,  179,    2, 0x08 /* Private */,
      45,    1,  182,    2, 0x08 /* Private */,
      47,    2,  185,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 9, 0x80000000 | 11,   10,   12,
    QMetaType::Void, 0x80000000 | 14, 0x80000000 | 11,   15,   12,
    QMetaType::Void, 0x80000000 | 17,   18,
    QMetaType::Void, 0x80000000 | 17, 0x80000000 | 11,   18,   12,
    QMetaType::Void, 0x80000000 | 21, 0x80000000 | 22,    4,   12,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 24,   25,
    QMetaType::Void, 0x80000000 | 24,   25,
    QMetaType::Void, QMetaType::UInt, QMetaType::UInt, 0x80000000 | 11, QMetaType::QVariantMap,    4,    7,   28,   29,
    QMetaType::Void, 0x80000000 | 24,   25,
    QMetaType::Void, 0x80000000 | 24,   25,
    QMetaType::Void, 0x80000000 | 33, 0x80000000 | 35, 0x80000000 | 37, 0x80000000 | 11,   34,   36,   38,   12,
    QMetaType::Void, 0x80000000 | 24,   25,
    QMetaType::Void, 0x80000000 | 41,   42,
    QMetaType::Void, 0x80000000 | 41, 0x80000000 | 11,   42,   12,
    QMetaType::Void, 0x80000000 | 24,   25,
    QMetaType::Void, 0x80000000 | 46,    2,
    QMetaType::Void, QMetaType::UInt, QMetaType::UInt,    2,    2,

       0        // eod
};

void Tp::CallChannel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CallChannel *_t = static_cast<CallChannel *>(_o);
        switch (_id) {
        case 0: _t->callStateChanged((*reinterpret_cast< Tp::CallState(*)>(_a[1]))); break;
        case 1: _t->callFlagsChanged((*reinterpret_cast< Tp::CallFlags(*)>(_a[1]))); break;
        case 2: _t->remoteMemberFlagsChanged((*reinterpret_cast< const QHash<Tp::ContactPtr,Tp::CallMemberFlags>(*)>(_a[1])),(*reinterpret_cast< const Tp::CallStateReason(*)>(_a[2]))); break;
        case 3: _t->remoteMembersRemoved((*reinterpret_cast< const Tp::Contacts(*)>(_a[1])),(*reinterpret_cast< const Tp::CallStateReason(*)>(_a[2]))); break;
        case 4: _t->contentAdded((*reinterpret_cast< const Tp::CallContentPtr(*)>(_a[1]))); break;
        case 5: _t->contentRemoved((*reinterpret_cast< const Tp::CallContentPtr(*)>(_a[1])),(*reinterpret_cast< const Tp::CallStateReason(*)>(_a[2]))); break;
        case 6: _t->localHoldStateChanged((*reinterpret_cast< Tp::LocalHoldState(*)>(_a[1])),(*reinterpret_cast< Tp::LocalHoldStateReason(*)>(_a[2]))); break;
        case 7: _t->gotMainProperties((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        case 8: _t->gotCallState((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        case 9: _t->onCallStateChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< const Tp::CallStateReason(*)>(_a[3])),(*reinterpret_cast< const QVariantMap(*)>(_a[4]))); break;
        case 10: _t->gotCallMembers((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        case 11: _t->gotCallMembersContacts((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        case 12: _t->onCallMembersChanged((*reinterpret_cast< const Tp::CallMemberMap(*)>(_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 13: _t->gotContents((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        case 14: _t->onContentAdded((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1]))); break;
        case 15: _t->onContentRemoved((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< const Tp::CallStateReason(*)>(_a[2]))); break;
        case 16: _t->onContentReady((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        case 17: _t->gotLocalHoldState((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 18: _t->onLocalHoldStateChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::CallStateReason >(); break;
            }
            break;
        case 5:
            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 7:
            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 8:
            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 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::CallStateReason >(); break;
            }
            break;
        case 10:
            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 11:
            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 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::CallMemberMap >(); break;
            case 3:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::CallStateReason >(); 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 13:
            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 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::CallStateReason >(); break;
            }
            break;
        case 16:
            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 17:
            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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (CallChannel::*_t)(Tp::CallState );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallChannel::callStateChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (CallChannel::*_t)(Tp::CallFlags );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallChannel::callFlagsChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (CallChannel::*_t)(const QHash<Tp::ContactPtr,Tp::CallMemberFlags> & , const Tp::CallStateReason & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallChannel::remoteMemberFlagsChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (CallChannel::*_t)(const Tp::Contacts & , const Tp::CallStateReason & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallChannel::remoteMembersRemoved)) {
                *result = 3;
            }
        }
        {
            typedef void (CallChannel::*_t)(const Tp::CallContentPtr & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallChannel::contentAdded)) {
                *result = 4;
            }
        }
        {
            typedef void (CallChannel::*_t)(const Tp::CallContentPtr & , const Tp::CallStateReason & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallChannel::contentRemoved)) {
                *result = 5;
            }
        }
        {
            typedef void (CallChannel::*_t)(Tp::LocalHoldState , Tp::LocalHoldStateReason );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallChannel::localHoldStateChanged)) {
                *result = 6;
            }
        }
    }
}

const QMetaObject Tp::CallChannel::staticMetaObject = {
    { &Channel::staticMetaObject, qt_meta_stringdata_Tp__CallChannel.data,
      qt_meta_data_Tp__CallChannel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

// SIGNAL 1
void Tp::CallChannel::callFlagsChanged(Tp::CallFlags _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Tp::CallChannel::remoteMemberFlagsChanged(const QHash<Tp::ContactPtr,Tp::CallMemberFlags> & _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);
}

// SIGNAL 3
void Tp::CallChannel::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, 3, _a);
}

// SIGNAL 4
void Tp::CallChannel::contentAdded(const Tp::CallContentPtr & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Tp::CallChannel::contentRemoved(const Tp::CallContentPtr & _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, 5, _a);
}

// SIGNAL 6
void Tp::CallChannel::localHoldStateChanged(Tp::LocalHoldState _t1, Tp::LocalHoldStateReason _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, 6, _a);
}
QT_END_MOC_NAMESPACE
