/****************************************************************************
** Meta object code from reading C++ file 'stream-tube-client.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 'stream-tube-client.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__StreamTubeClient_t {
    QByteArrayData data[36];
    char stringdata[537];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__StreamTubeClient_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__StreamTubeClient_t qt_meta_stringdata_Tp__StreamTubeClient = {
    {
QT_MOC_LITERAL(0, 0, 20), // "Tp::StreamTubeClient"
QT_MOC_LITERAL(1, 21, 11), // "tubeOffered"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 14), // "Tp::AccountPtr"
QT_MOC_LITERAL(4, 49, 7), // "account"
QT_MOC_LITERAL(5, 57, 32), // "Tp::IncomingStreamTubeChannelPtr"
QT_MOC_LITERAL(6, 90, 4), // "tube"
QT_MOC_LITERAL(7, 95, 10), // "tubeClosed"
QT_MOC_LITERAL(8, 106, 5), // "error"
QT_MOC_LITERAL(9, 112, 7), // "message"
QT_MOC_LITERAL(10, 120, 17), // "tubeAcceptedAsTcp"
QT_MOC_LITERAL(11, 138, 12), // "QHostAddress"
QT_MOC_LITERAL(12, 151, 13), // "listenAddress"
QT_MOC_LITERAL(13, 165, 10), // "listenPort"
QT_MOC_LITERAL(14, 176, 13), // "sourceAddress"
QT_MOC_LITERAL(15, 190, 10), // "sourcePort"
QT_MOC_LITERAL(16, 201, 18), // "tubeAcceptedAsUnix"
QT_MOC_LITERAL(17, 220, 19), // "requiresCredentials"
QT_MOC_LITERAL(18, 240, 14), // "credentialByte"
QT_MOC_LITERAL(19, 255, 13), // "newConnection"
QT_MOC_LITERAL(20, 269, 12), // "connectionId"
QT_MOC_LITERAL(21, 282, 16), // "connectionClosed"
QT_MOC_LITERAL(22, 299, 16), // "onInvokedForTube"
QT_MOC_LITERAL(23, 316, 24), // "Tp::StreamTubeChannelPtr"
QT_MOC_LITERAL(24, 341, 14), // "userActionTime"
QT_MOC_LITERAL(25, 356, 23), // "Tp::ChannelRequestHints"
QT_MOC_LITERAL(26, 380, 12), // "requestHints"
QT_MOC_LITERAL(27, 393, 16), // "onAcceptFinished"
QT_MOC_LITERAL(28, 410, 12), // "TubeWrapper*"
QT_MOC_LITERAL(29, 423, 32), // "Tp::PendingStreamTubeConnection*"
QT_MOC_LITERAL(30, 456, 17), // "onTubeInvalidated"
QT_MOC_LITERAL(31, 474, 14), // "Tp::DBusProxy*"
QT_MOC_LITERAL(32, 489, 15), // "onNewConnection"
QT_MOC_LITERAL(33, 505, 7), // "wrapper"
QT_MOC_LITERAL(34, 513, 4), // "conn"
QT_MOC_LITERAL(35, 518, 18) // "onConnectionClosed"

    },
    "Tp::StreamTubeClient\0tubeOffered\0\0"
    "Tp::AccountPtr\0account\0"
    "Tp::IncomingStreamTubeChannelPtr\0tube\0"
    "tubeClosed\0error\0message\0tubeAcceptedAsTcp\0"
    "QHostAddress\0listenAddress\0listenPort\0"
    "sourceAddress\0sourcePort\0tubeAcceptedAsUnix\0"
    "requiresCredentials\0credentialByte\0"
    "newConnection\0connectionId\0connectionClosed\0"
    "onInvokedForTube\0Tp::StreamTubeChannelPtr\0"
    "userActionTime\0Tp::ChannelRequestHints\0"
    "requestHints\0onAcceptFinished\0"
    "TubeWrapper*\0Tp::PendingStreamTubeConnection*\0"
    "onTubeInvalidated\0Tp::DBusProxy*\0"
    "onNewConnection\0wrapper\0conn\0"
    "onConnectionClosed"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__StreamTubeClient[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   69,    2, 0x06 /* Public */,
       7,    4,   74,    2, 0x06 /* Public */,
      10,    6,   83,    2, 0x06 /* Public */,
      16,    5,   96,    2, 0x06 /* Public */,
      19,    3,  107,    2, 0x06 /* Public */,
      21,    5,  114,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      22,    4,  125,    2, 0x08 /* Private */,
      27,    2,  134,    2, 0x08 /* Private */,
      30,    3,  139,    2, 0x08 /* Private */,
      32,    2,  146,    2, 0x08 /* Private */,
      35,    4,  151,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, QMetaType::QString, QMetaType::QString,    4,    6,    8,    9,
    QMetaType::Void, 0x80000000 | 11, QMetaType::UShort, 0x80000000 | 11, QMetaType::UShort, 0x80000000 | 3, 0x80000000 | 5,   12,   13,   14,   15,    4,    6,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool, QMetaType::UChar, 0x80000000 | 3, 0x80000000 | 5,   12,   17,   18,    4,    6,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, QMetaType::UInt,    4,    6,   20,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, QMetaType::UInt, QMetaType::QString, QMetaType::QString,    4,    6,   20,    8,    9,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 23, QMetaType::QDateTime, 0x80000000 | 25,    4,    6,   24,   26,
    QMetaType::Void, 0x80000000 | 28, 0x80000000 | 29,    2,    2,
    QMetaType::Void, 0x80000000 | 31, QMetaType::QString, QMetaType::QString,    2,    2,    2,
    QMetaType::Void, 0x80000000 | 28, QMetaType::UInt,   33,   34,
    QMetaType::Void, 0x80000000 | 28, QMetaType::UInt, QMetaType::QString, QMetaType::QString,   33,   34,    8,    9,

       0        // eod
};

void Tp::StreamTubeClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        StreamTubeClient *_t = static_cast<StreamTubeClient *>(_o);
        switch (_id) {
        case 0: _t->tubeOffered((*reinterpret_cast< const Tp::AccountPtr(*)>(_a[1])),(*reinterpret_cast< const Tp::IncomingStreamTubeChannelPtr(*)>(_a[2]))); break;
        case 1: _t->tubeClosed((*reinterpret_cast< const Tp::AccountPtr(*)>(_a[1])),(*reinterpret_cast< const Tp::IncomingStreamTubeChannelPtr(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 2: _t->tubeAcceptedAsTcp((*reinterpret_cast< const QHostAddress(*)>(_a[1])),(*reinterpret_cast< quint16(*)>(_a[2])),(*reinterpret_cast< const QHostAddress(*)>(_a[3])),(*reinterpret_cast< quint16(*)>(_a[4])),(*reinterpret_cast< const Tp::AccountPtr(*)>(_a[5])),(*reinterpret_cast< const Tp::IncomingStreamTubeChannelPtr(*)>(_a[6]))); break;
        case 3: _t->tubeAcceptedAsUnix((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< uchar(*)>(_a[3])),(*reinterpret_cast< const Tp::AccountPtr(*)>(_a[4])),(*reinterpret_cast< const Tp::IncomingStreamTubeChannelPtr(*)>(_a[5]))); break;
        case 4: _t->newConnection((*reinterpret_cast< const Tp::AccountPtr(*)>(_a[1])),(*reinterpret_cast< const Tp::IncomingStreamTubeChannelPtr(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
        case 5: _t->connectionClosed((*reinterpret_cast< const Tp::AccountPtr(*)>(_a[1])),(*reinterpret_cast< const Tp::IncomingStreamTubeChannelPtr(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5]))); break;
        case 6: _t->onInvokedForTube((*reinterpret_cast< const Tp::AccountPtr(*)>(_a[1])),(*reinterpret_cast< const Tp::StreamTubeChannelPtr(*)>(_a[2])),(*reinterpret_cast< const QDateTime(*)>(_a[3])),(*reinterpret_cast< const Tp::ChannelRequestHints(*)>(_a[4]))); break;
        case 7: _t->onAcceptFinished((*reinterpret_cast< TubeWrapper*(*)>(_a[1])),(*reinterpret_cast< Tp::PendingStreamTubeConnection*(*)>(_a[2]))); break;
        case 8: _t->onTubeInvalidated((*reinterpret_cast< Tp::DBusProxy*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 9: _t->onNewConnection((*reinterpret_cast< TubeWrapper*(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 10: _t->onConnectionClosed((*reinterpret_cast< TubeWrapper*(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 3:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::ChannelRequestHints >(); 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::DBusProxy* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (StreamTubeClient::*_t)(const Tp::AccountPtr & , const Tp::IncomingStreamTubeChannelPtr & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&StreamTubeClient::tubeOffered)) {
                *result = 0;
            }
        }
        {
            typedef void (StreamTubeClient::*_t)(const Tp::AccountPtr & , const Tp::IncomingStreamTubeChannelPtr & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&StreamTubeClient::tubeClosed)) {
                *result = 1;
            }
        }
        {
            typedef void (StreamTubeClient::*_t)(const QHostAddress & , quint16 , const QHostAddress & , quint16 , const Tp::AccountPtr & , const Tp::IncomingStreamTubeChannelPtr & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&StreamTubeClient::tubeAcceptedAsTcp)) {
                *result = 2;
            }
        }
        {
            typedef void (StreamTubeClient::*_t)(const QString & , bool , uchar , const Tp::AccountPtr & , const Tp::IncomingStreamTubeChannelPtr & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&StreamTubeClient::tubeAcceptedAsUnix)) {
                *result = 3;
            }
        }
        {
            typedef void (StreamTubeClient::*_t)(const Tp::AccountPtr & , const Tp::IncomingStreamTubeChannelPtr & , uint );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&StreamTubeClient::newConnection)) {
                *result = 4;
            }
        }
        {
            typedef void (StreamTubeClient::*_t)(const Tp::AccountPtr & , const Tp::IncomingStreamTubeChannelPtr & , uint , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&StreamTubeClient::connectionClosed)) {
                *result = 5;
            }
        }
    }
}

const QMetaObject Tp::StreamTubeClient::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Tp__StreamTubeClient.data,
      qt_meta_data_Tp__StreamTubeClient,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tp::StreamTubeClient::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tp__StreamTubeClient.stringdata))
        return static_cast<void*>(const_cast< StreamTubeClient*>(this));
    if (!strcmp(_clname, "RefCounted"))
        return static_cast< RefCounted*>(const_cast< StreamTubeClient*>(this));
    return QObject::qt_metacast(_clname);
}

int Tp::StreamTubeClient::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void Tp::StreamTubeClient::tubeOffered(const Tp::AccountPtr & _t1, const Tp::IncomingStreamTubeChannelPtr & _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::StreamTubeClient::tubeClosed(const Tp::AccountPtr & _t1, const Tp::IncomingStreamTubeChannelPtr & _t2, const QString & _t3, const QString & _t4)
{
    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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Tp::StreamTubeClient::tubeAcceptedAsTcp(const QHostAddress & _t1, quint16 _t2, const QHostAddress & _t3, quint16 _t4, const Tp::AccountPtr & _t5, const Tp::IncomingStreamTubeChannelPtr & _t6)
{
    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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)), const_cast<void*>(reinterpret_cast<const void*>(&_t6)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Tp::StreamTubeClient::tubeAcceptedAsUnix(const QString & _t1, bool _t2, uchar _t3, const Tp::AccountPtr & _t4, const Tp::IncomingStreamTubeChannelPtr & _t5)
{
    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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Tp::StreamTubeClient::newConnection(const Tp::AccountPtr & _t1, const Tp::IncomingStreamTubeChannelPtr & _t2, uint _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, 4, _a);
}

// SIGNAL 5
void Tp::StreamTubeClient::connectionClosed(const Tp::AccountPtr & _t1, const Tp::IncomingStreamTubeChannelPtr & _t2, uint _t3, const QString & _t4, const QString & _t5)
{
    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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_END_MOC_NAMESPACE
