/****************************************************************************
** Meta object code from reading C++ file 'outgoing-stream-tube-channel-internal.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>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'outgoing-stream-tube-channel-internal.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__PendingOpenTube_t {
    QByteArrayData data[8];
    char stringdata[115];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__PendingOpenTube_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__PendingOpenTube_t qt_meta_stringdata_Tp__PendingOpenTube = {
    {
QT_MOC_LITERAL(0, 0, 19), // "Tp::PendingOpenTube"
QT_MOC_LITERAL(1, 20, 18), // "onTubeStateChanged"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 20), // "Tp::TubeChannelState"
QT_MOC_LITERAL(4, 61, 5), // "state"
QT_MOC_LITERAL(5, 67, 15), // "onOfferFinished"
QT_MOC_LITERAL(6, 83, 21), // "Tp::PendingOperation*"
QT_MOC_LITERAL(7, 105, 9) // "operation"

    },
    "Tp::PendingOpenTube\0onTubeStateChanged\0"
    "\0Tp::TubeChannelState\0state\0onOfferFinished\0"
    "Tp::PendingOperation*\0operation"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__PendingOpenTube[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   24,    2, 0x08 /* Private */,
       5,    1,   27,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,

       0        // eod
};

void Tp::PendingOpenTube::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PendingOpenTube *_t = static_cast<PendingOpenTube *>(_o);
        switch (_id) {
        case 0: _t->onTubeStateChanged((*reinterpret_cast< Tp::TubeChannelState(*)>(_a[1]))); break;
        case 1: _t->onOfferFinished((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); 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::PendingOperation* >(); break;
            }
            break;
        }
    }
}

const QMetaObject Tp::PendingOpenTube::staticMetaObject = {
    { &PendingOperation::staticMetaObject, qt_meta_stringdata_Tp__PendingOpenTube.data,
      qt_meta_data_Tp__PendingOpenTube,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Tp::PendingOpenTube::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = PendingOperation::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    return _id;
}
struct qt_meta_stringdata_Tp__QueuedContactFactory_t {
    QByteArrayData data[11];
    char stringdata[172];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__QueuedContactFactory_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__QueuedContactFactory_t qt_meta_stringdata_Tp__QueuedContactFactory = {
    {
QT_MOC_LITERAL(0, 0, 24), // "Tp::QueuedContactFactory"
QT_MOC_LITERAL(1, 25, 17), // "contactsRetrieved"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 4), // "uuid"
QT_MOC_LITERAL(4, 49, 21), // "QList<Tp::ContactPtr>"
QT_MOC_LITERAL(5, 71, 8), // "contacts"
QT_MOC_LITERAL(6, 80, 14), // "queueCompleted"
QT_MOC_LITERAL(7, 95, 25), // "onPendingContactsFinished"
QT_MOC_LITERAL(8, 121, 21), // "Tp::PendingOperation*"
QT_MOC_LITERAL(9, 143, 9), // "operation"
QT_MOC_LITERAL(10, 153, 18) // "processNextRequest"

    },
    "Tp::QueuedContactFactory\0contactsRetrieved\0"
    "\0uuid\0QList<Tp::ContactPtr>\0contacts\0"
    "queueCompleted\0onPendingContactsFinished\0"
    "Tp::PendingOperation*\0operation\0"
    "processNextRequest"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__QueuedContactFactory[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   34,    2, 0x06 /* Public */,
       6,    0,   39,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   40,    2, 0x08 /* Private */,
      10,    0,   43,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QUuid, 0x80000000 | 4,    3,    5,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void,

       0        // eod
};

void Tp::QueuedContactFactory::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QueuedContactFactory *_t = static_cast<QueuedContactFactory *>(_o);
        switch (_id) {
        case 0: _t->contactsRetrieved((*reinterpret_cast< QUuid(*)>(_a[1])),(*reinterpret_cast< QList<Tp::ContactPtr>(*)>(_a[2]))); break;
        case 1: _t->queueCompleted(); break;
        case 2: _t->onPendingContactsFinished((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        case 3: _t->processNextRequest(); 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 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Tp::PendingOperation* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QueuedContactFactory::*_t)(QUuid , QList<Tp::ContactPtr> );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QueuedContactFactory::contactsRetrieved)) {
                *result = 0;
            }
        }
        {
            typedef void (QueuedContactFactory::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QueuedContactFactory::queueCompleted)) {
                *result = 1;
            }
        }
    }
}

const QMetaObject Tp::QueuedContactFactory::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Tp__QueuedContactFactory.data,
      qt_meta_data_Tp__QueuedContactFactory,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

// SIGNAL 0
void Tp::QueuedContactFactory::contactsRetrieved(QUuid _t1, QList<Tp::ContactPtr> _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::QueuedContactFactory::queueCompleted()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
