/****************************************************************************
** Meta object code from reading C++ file 'cli-call-stream-endpoint.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 'cli-call-stream-endpoint.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__Client__CallStreamEndpointInterface_t {
    QByteArrayData data[24];
    char stringdata[407];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__Client__CallStreamEndpointInterface_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__Client__CallStreamEndpointInterface_t qt_meta_stringdata_Tp__Client__CallStreamEndpointInterface = {
    {
QT_MOC_LITERAL(0, 0, 39), // "Tp::Client::CallStreamEndpoin..."
QT_MOC_LITERAL(1, 40, 20), // "RemoteCredentialsSet"
QT_MOC_LITERAL(2, 61, 0), // ""
QT_MOC_LITERAL(3, 62, 8), // "username"
QT_MOC_LITERAL(4, 71, 8), // "password"
QT_MOC_LITERAL(5, 80, 21), // "RemoteCandidatesAdded"
QT_MOC_LITERAL(6, 102, 17), // "Tp::CandidateList"
QT_MOC_LITERAL(7, 120, 10), // "candidates"
QT_MOC_LITERAL(8, 131, 21), // "CandidatePairSelected"
QT_MOC_LITERAL(9, 153, 13), // "Tp::Candidate"
QT_MOC_LITERAL(10, 167, 14), // "localCandidate"
QT_MOC_LITERAL(11, 182, 15), // "remoteCandidate"
QT_MOC_LITERAL(12, 198, 20), // "EndpointStateChanged"
QT_MOC_LITERAL(13, 219, 9), // "component"
QT_MOC_LITERAL(14, 229, 5), // "state"
QT_MOC_LITERAL(15, 235, 18), // "ControllingChanged"
QT_MOC_LITERAL(16, 254, 11), // "controlling"
QT_MOC_LITERAL(17, 266, 24), // "SetSelectedCandidatePair"
QT_MOC_LITERAL(18, 291, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(19, 311, 7), // "timeout"
QT_MOC_LITERAL(20, 319, 16), // "SetEndpointState"
QT_MOC_LITERAL(21, 336, 27), // "AcceptSelectedCandidatePair"
QT_MOC_LITERAL(22, 364, 27), // "RejectSelectedCandidatePair"
QT_MOC_LITERAL(23, 392, 14) // "SetControlling"

    },
    "Tp::Client::CallStreamEndpointInterface\0"
    "RemoteCredentialsSet\0\0username\0password\0"
    "RemoteCandidatesAdded\0Tp::CandidateList\0"
    "candidates\0CandidatePairSelected\0"
    "Tp::Candidate\0localCandidate\0"
    "remoteCandidate\0EndpointStateChanged\0"
    "component\0state\0ControllingChanged\0"
    "controlling\0SetSelectedCandidatePair\0"
    "QDBusPendingReply<>\0timeout\0"
    "SetEndpointState\0AcceptSelectedCandidatePair\0"
    "RejectSelectedCandidatePair\0SetControlling"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__Client__CallStreamEndpointInterface[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   89,    2, 0x06 /* Public */,
       5,    1,   94,    2, 0x06 /* Public */,
       8,    2,   97,    2, 0x06 /* Public */,
      12,    2,  102,    2, 0x06 /* Public */,
      15,    1,  107,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    3,  110,    2, 0x0a /* Public */,
      17,    2,  117,    2, 0x2a /* Public | MethodCloned */,
      20,    3,  122,    2, 0x0a /* Public */,
      20,    2,  129,    2, 0x2a /* Public | MethodCloned */,
      21,    3,  134,    2, 0x0a /* Public */,
      21,    2,  141,    2, 0x2a /* Public | MethodCloned */,
      22,    3,  146,    2, 0x0a /* Public */,
      22,    2,  153,    2, 0x2a /* Public | MethodCloned */,
      23,    2,  158,    2, 0x0a /* Public */,
      23,    1,  163,    2, 0x2a /* Public | MethodCloned */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 9, 0x80000000 | 9,   10,   11,
    QMetaType::Void, QMetaType::UInt, QMetaType::UInt,   13,   14,
    QMetaType::Void, QMetaType::Bool,   16,

 // slots: parameters
    0x80000000 | 18, 0x80000000 | 9, 0x80000000 | 9, QMetaType::Int,   10,   11,   19,
    0x80000000 | 18, 0x80000000 | 9, 0x80000000 | 9,   10,   11,
    0x80000000 | 18, QMetaType::UInt, QMetaType::UInt, QMetaType::Int,   13,   14,   19,
    0x80000000 | 18, QMetaType::UInt, QMetaType::UInt,   13,   14,
    0x80000000 | 18, 0x80000000 | 9, 0x80000000 | 9, QMetaType::Int,   10,   11,   19,
    0x80000000 | 18, 0x80000000 | 9, 0x80000000 | 9,   10,   11,
    0x80000000 | 18, 0x80000000 | 9, 0x80000000 | 9, QMetaType::Int,   10,   11,   19,
    0x80000000 | 18, 0x80000000 | 9, 0x80000000 | 9,   10,   11,
    0x80000000 | 18, QMetaType::Bool, QMetaType::Int,   16,   19,
    0x80000000 | 18, QMetaType::Bool,   16,

       0        // eod
};

void Tp::Client::CallStreamEndpointInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CallStreamEndpointInterface *_t = static_cast<CallStreamEndpointInterface *>(_o);
        switch (_id) {
        case 0: _t->RemoteCredentialsSet((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->RemoteCandidatesAdded((*reinterpret_cast< const Tp::CandidateList(*)>(_a[1]))); break;
        case 2: _t->CandidatePairSelected((*reinterpret_cast< const Tp::Candidate(*)>(_a[1])),(*reinterpret_cast< const Tp::Candidate(*)>(_a[2]))); break;
        case 3: _t->EndpointStateChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 4: _t->ControllingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: { QDBusPendingReply<> _r = _t->SetSelectedCandidatePair((*reinterpret_cast< const Tp::Candidate(*)>(_a[1])),(*reinterpret_cast< const Tp::Candidate(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 6: { QDBusPendingReply<> _r = _t->SetSelectedCandidatePair((*reinterpret_cast< const Tp::Candidate(*)>(_a[1])),(*reinterpret_cast< const Tp::Candidate(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 7: { QDBusPendingReply<> _r = _t->SetEndpointState((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 8: { QDBusPendingReply<> _r = _t->SetEndpointState((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 9: { QDBusPendingReply<> _r = _t->AcceptSelectedCandidatePair((*reinterpret_cast< const Tp::Candidate(*)>(_a[1])),(*reinterpret_cast< const Tp::Candidate(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 10: { QDBusPendingReply<> _r = _t->AcceptSelectedCandidatePair((*reinterpret_cast< const Tp::Candidate(*)>(_a[1])),(*reinterpret_cast< const Tp::Candidate(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 11: { QDBusPendingReply<> _r = _t->RejectSelectedCandidatePair((*reinterpret_cast< const Tp::Candidate(*)>(_a[1])),(*reinterpret_cast< const Tp::Candidate(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 12: { QDBusPendingReply<> _r = _t->RejectSelectedCandidatePair((*reinterpret_cast< const Tp::Candidate(*)>(_a[1])),(*reinterpret_cast< const Tp::Candidate(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 13: { QDBusPendingReply<> _r = _t->SetControlling((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 14: { QDBusPendingReply<> _r = _t->SetControlling((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  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 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::CandidateList >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::Candidate >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::Candidate >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::Candidate >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::Candidate >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::Candidate >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::Candidate >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::Candidate >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (CallStreamEndpointInterface::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallStreamEndpointInterface::RemoteCredentialsSet)) {
                *result = 0;
            }
        }
        {
            typedef void (CallStreamEndpointInterface::*_t)(const Tp::CandidateList & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallStreamEndpointInterface::RemoteCandidatesAdded)) {
                *result = 1;
            }
        }
        {
            typedef void (CallStreamEndpointInterface::*_t)(const Tp::Candidate & , const Tp::Candidate & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallStreamEndpointInterface::CandidatePairSelected)) {
                *result = 2;
            }
        }
        {
            typedef void (CallStreamEndpointInterface::*_t)(uint , uint );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallStreamEndpointInterface::EndpointStateChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (CallStreamEndpointInterface::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CallStreamEndpointInterface::ControllingChanged)) {
                *result = 4;
            }
        }
    }
}

const QMetaObject Tp::Client::CallStreamEndpointInterface::staticMetaObject = {
    { &Tp::AbstractInterface::staticMetaObject, qt_meta_stringdata_Tp__Client__CallStreamEndpointInterface.data,
      qt_meta_data_Tp__Client__CallStreamEndpointInterface,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tp::Client::CallStreamEndpointInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tp__Client__CallStreamEndpointInterface.stringdata))
        return static_cast<void*>(const_cast< CallStreamEndpointInterface*>(this));
    return Tp::AbstractInterface::qt_metacast(_clname);
}

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

// SIGNAL 0
void Tp::Client::CallStreamEndpointInterface::RemoteCredentialsSet(const QString & _t1, const QString & _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::Client::CallStreamEndpointInterface::RemoteCandidatesAdded(const Tp::CandidateList & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Tp::Client::CallStreamEndpointInterface::CandidatePairSelected(const Tp::Candidate & _t1, const Tp::Candidate & _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::Client::CallStreamEndpointInterface::EndpointStateChanged(uint _t1, uint _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::Client::CallStreamEndpointInterface::ControllingChanged(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_END_MOC_NAMESPACE
