/****************************************************************************
** Meta object code from reading C++ file 'stream-tube-server.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-server.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__StreamTubeServer_t {
    QByteArrayData data[34];
    char stringdata[461];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__StreamTubeServer_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__StreamTubeServer_t qt_meta_stringdata_Tp__StreamTubeServer = {
    {
QT_MOC_LITERAL(0, 0, 20), // "Tp::StreamTubeServer"
QT_MOC_LITERAL(1, 21, 13), // "tubeRequested"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 14), // "Tp::AccountPtr"
QT_MOC_LITERAL(4, 51, 7), // "account"
QT_MOC_LITERAL(5, 59, 32), // "Tp::OutgoingStreamTubeChannelPtr"
QT_MOC_LITERAL(6, 92, 4), // "tube"
QT_MOC_LITERAL(7, 97, 14), // "userActionTime"
QT_MOC_LITERAL(8, 112, 23), // "Tp::ChannelRequestHints"
QT_MOC_LITERAL(9, 136, 5), // "hints"
QT_MOC_LITERAL(10, 142, 10), // "tubeClosed"
QT_MOC_LITERAL(11, 153, 5), // "error"
QT_MOC_LITERAL(12, 159, 7), // "message"
QT_MOC_LITERAL(13, 167, 16), // "newTcpConnection"
QT_MOC_LITERAL(14, 184, 12), // "QHostAddress"
QT_MOC_LITERAL(15, 197, 13), // "sourceAddress"
QT_MOC_LITERAL(16, 211, 10), // "sourcePort"
QT_MOC_LITERAL(17, 222, 14), // "Tp::ContactPtr"
QT_MOC_LITERAL(18, 237, 7), // "contact"
QT_MOC_LITERAL(19, 245, 19), // "tcpConnectionClosed"
QT_MOC_LITERAL(20, 265, 16), // "onInvokedForTube"
QT_MOC_LITERAL(21, 282, 24), // "Tp::StreamTubeChannelPtr"
QT_MOC_LITERAL(22, 307, 12), // "requestHints"
QT_MOC_LITERAL(23, 320, 15), // "onOfferFinished"
QT_MOC_LITERAL(24, 336, 12), // "TubeWrapper*"
QT_MOC_LITERAL(25, 349, 7), // "wrapper"
QT_MOC_LITERAL(26, 357, 21), // "Tp::PendingOperation*"
QT_MOC_LITERAL(27, 379, 2), // "op"
QT_MOC_LITERAL(28, 382, 17), // "onTubeInvalidated"
QT_MOC_LITERAL(29, 400, 14), // "Tp::DBusProxy*"
QT_MOC_LITERAL(30, 415, 5), // "proxy"
QT_MOC_LITERAL(31, 421, 15), // "onNewConnection"
QT_MOC_LITERAL(32, 437, 4), // "conn"
QT_MOC_LITERAL(33, 442, 18) // "onConnectionClosed"

    },
    "Tp::StreamTubeServer\0tubeRequested\0\0"
    "Tp::AccountPtr\0account\0"
    "Tp::OutgoingStreamTubeChannelPtr\0tube\0"
    "userActionTime\0Tp::ChannelRequestHints\0"
    "hints\0tubeClosed\0error\0message\0"
    "newTcpConnection\0QHostAddress\0"
    "sourceAddress\0sourcePort\0Tp::ContactPtr\0"
    "contact\0tcpConnectionClosed\0"
    "onInvokedForTube\0Tp::StreamTubeChannelPtr\0"
    "requestHints\0onOfferFinished\0TubeWrapper*\0"
    "wrapper\0Tp::PendingOperation*\0op\0"
    "onTubeInvalidated\0Tp::DBusProxy*\0proxy\0"
    "onNewConnection\0conn\0onConnectionClosed"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__StreamTubeServer[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    4,   59,    2, 0x06 /* Public */,
      10,    4,   68,    2, 0x06 /* Public */,
      13,    5,   77,    2, 0x06 /* Public */,
      19,    7,   88,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      20,    4,  103,    2, 0x08 /* Private */,
      23,    2,  112,    2, 0x08 /* Private */,
      28,    3,  117,    2, 0x08 /* Private */,
      31,    2,  124,    2, 0x08 /* Private */,
      33,    4,  129,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, QMetaType::QDateTime, 0x80000000 | 8,    4,    6,    7,    9,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, QMetaType::QString, QMetaType::QString,    4,    6,   11,   12,
    QMetaType::Void, 0x80000000 | 14, QMetaType::UShort, 0x80000000 | 3, 0x80000000 | 17, 0x80000000 | 5,   15,   16,    4,   18,    6,
    QMetaType::Void, 0x80000000 | 14, QMetaType::UShort, 0x80000000 | 3, 0x80000000 | 17, QMetaType::QString, QMetaType::QString, 0x80000000 | 5,   15,   16,    4,   18,   11,   12,    6,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 21, QMetaType::QDateTime, 0x80000000 | 8,    4,    6,    7,   22,
    QMetaType::Void, 0x80000000 | 24, 0x80000000 | 26,   25,   27,
    QMetaType::Void, 0x80000000 | 29, QMetaType::QString, QMetaType::QString,   30,   11,   12,
    QMetaType::Void, 0x80000000 | 24, QMetaType::UInt,   25,   32,
    QMetaType::Void, 0x80000000 | 24, QMetaType::UInt, QMetaType::QString, QMetaType::QString,   25,   32,   11,   12,

       0        // eod
};

void Tp::StreamTubeServer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        StreamTubeServer *_t = static_cast<StreamTubeServer *>(_o);
        switch (_id) {
        case 0: _t->tubeRequested((*reinterpret_cast< const Tp::AccountPtr(*)>(_a[1])),(*reinterpret_cast< const Tp::OutgoingStreamTubeChannelPtr(*)>(_a[2])),(*reinterpret_cast< const QDateTime(*)>(_a[3])),(*reinterpret_cast< const Tp::ChannelRequestHints(*)>(_a[4]))); break;
        case 1: _t->tubeClosed((*reinterpret_cast< const Tp::AccountPtr(*)>(_a[1])),(*reinterpret_cast< const Tp::OutgoingStreamTubeChannelPtr(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 2: _t->newTcpConnection((*reinterpret_cast< const QHostAddress(*)>(_a[1])),(*reinterpret_cast< quint16(*)>(_a[2])),(*reinterpret_cast< const Tp::AccountPtr(*)>(_a[3])),(*reinterpret_cast< const Tp::ContactPtr(*)>(_a[4])),(*reinterpret_cast< const Tp::OutgoingStreamTubeChannelPtr(*)>(_a[5]))); break;
        case 3: _t->tcpConnectionClosed((*reinterpret_cast< const QHostAddress(*)>(_a[1])),(*reinterpret_cast< quint16(*)>(_a[2])),(*reinterpret_cast< const Tp::AccountPtr(*)>(_a[3])),(*reinterpret_cast< const Tp::ContactPtr(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5])),(*reinterpret_cast< const QString(*)>(_a[6])),(*reinterpret_cast< const Tp::OutgoingStreamTubeChannelPtr(*)>(_a[7]))); break;
        case 4: _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 5: _t->onOfferFinished((*reinterpret_cast< TubeWrapper*(*)>(_a[1])),(*reinterpret_cast< Tp::PendingOperation*(*)>(_a[2]))); break;
        case 6: _t->onTubeInvalidated((*reinterpret_cast< Tp::DBusProxy*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 7: _t->onNewConnection((*reinterpret_cast< TubeWrapper*(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 8: _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 0:
            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 4:
            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 6:
            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 (StreamTubeServer::*_t)(const Tp::AccountPtr & , const Tp::OutgoingStreamTubeChannelPtr & , const QDateTime & , const Tp::ChannelRequestHints & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&StreamTubeServer::tubeRequested)) {
                *result = 0;
            }
        }
        {
            typedef void (StreamTubeServer::*_t)(const Tp::AccountPtr & , const Tp::OutgoingStreamTubeChannelPtr & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&StreamTubeServer::tubeClosed)) {
                *result = 1;
            }
        }
        {
            typedef void (StreamTubeServer::*_t)(const QHostAddress & , quint16 , const Tp::AccountPtr & , const Tp::ContactPtr & , const Tp::OutgoingStreamTubeChannelPtr & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&StreamTubeServer::newTcpConnection)) {
                *result = 2;
            }
        }
        {
            typedef void (StreamTubeServer::*_t)(const QHostAddress & , quint16 , const Tp::AccountPtr & , const Tp::ContactPtr & , const QString & , const QString & , const Tp::OutgoingStreamTubeChannelPtr & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&StreamTubeServer::tcpConnectionClosed)) {
                *result = 3;
            }
        }
    }
}

const QMetaObject Tp::StreamTubeServer::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Tp__StreamTubeServer.data,
      qt_meta_data_Tp__StreamTubeServer,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

// SIGNAL 0
void Tp::StreamTubeServer::tubeRequested(const Tp::AccountPtr & _t1, const Tp::OutgoingStreamTubeChannelPtr & _t2, const QDateTime & _t3, const Tp::ChannelRequestHints & _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, 0, _a);
}

// SIGNAL 1
void Tp::StreamTubeServer::tubeClosed(const Tp::AccountPtr & _t1, const Tp::OutgoingStreamTubeChannelPtr & _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::StreamTubeServer::newTcpConnection(const QHostAddress & _t1, quint16 _t2, const Tp::AccountPtr & _t3, const Tp::ContactPtr & _t4, const Tp::OutgoingStreamTubeChannelPtr & _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, 2, _a);
}

// SIGNAL 3
void Tp::StreamTubeServer::tcpConnectionClosed(const QHostAddress & _t1, quint16 _t2, const Tp::AccountPtr & _t3, const Tp::ContactPtr & _t4, const QString & _t5, const QString & _t6, const Tp::OutgoingStreamTubeChannelPtr & _t7)
{
    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)), const_cast<void*>(reinterpret_cast<const void*>(&_t7)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE
