/****************************************************************************
** Meta object code from reading C++ file 'channel-request.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 'channel-request.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__ChannelRequest_t {
    QByteArrayData data[22];
    char stringdata[281];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__ChannelRequest_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__ChannelRequest_t qt_meta_stringdata_Tp__ChannelRequest = {
    {
QT_MOC_LITERAL(0, 0, 18), // "Tp::ChannelRequest"
QT_MOC_LITERAL(1, 19, 6), // "failed"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 9), // "errorName"
QT_MOC_LITERAL(4, 37, 12), // "errorMessage"
QT_MOC_LITERAL(5, 50, 9), // "succeeded"
QT_MOC_LITERAL(6, 60, 14), // "Tp::ChannelPtr"
QT_MOC_LITERAL(7, 75, 7), // "channel"
QT_MOC_LITERAL(8, 83, 17), // "gotMainProperties"
QT_MOC_LITERAL(9, 101, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(10, 126, 7), // "watcher"
QT_MOC_LITERAL(11, 134, 14), // "onAccountReady"
QT_MOC_LITERAL(12, 149, 21), // "Tp::PendingOperation*"
QT_MOC_LITERAL(13, 171, 2), // "op"
QT_MOC_LITERAL(14, 174, 17), // "onLegacySucceeded"
QT_MOC_LITERAL(15, 192, 22), // "onSucceededWithChannel"
QT_MOC_LITERAL(16, 215, 15), // "QDBusObjectPath"
QT_MOC_LITERAL(17, 231, 8), // "connPath"
QT_MOC_LITERAL(18, 240, 9), // "connProps"
QT_MOC_LITERAL(19, 250, 8), // "chanPath"
QT_MOC_LITERAL(20, 259, 9), // "chanProps"
QT_MOC_LITERAL(21, 269, 11) // "onChanBuilt"

    },
    "Tp::ChannelRequest\0failed\0\0errorName\0"
    "errorMessage\0succeeded\0Tp::ChannelPtr\0"
    "channel\0gotMainProperties\0"
    "QDBusPendingCallWatcher*\0watcher\0"
    "onAccountReady\0Tp::PendingOperation*\0"
    "op\0onLegacySucceeded\0onSucceededWithChannel\0"
    "QDBusObjectPath\0connPath\0connProps\0"
    "chanPath\0chanProps\0onChanBuilt"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__ChannelRequest[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   49,    2, 0x06 /* Public */,
       5,    1,   54,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,   57,    2, 0x08 /* Private */,
      11,    1,   60,    2, 0x08 /* Private */,
      14,    0,   63,    2, 0x08 /* Private */,
      15,    4,   64,    2, 0x08 /* Private */,
      21,    1,   73,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16, QMetaType::QVariantMap, 0x80000000 | 16, QMetaType::QVariantMap,   17,   18,   19,   20,
    QMetaType::Void, 0x80000000 | 12,   13,

       0        // eod
};

void Tp::ChannelRequest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ChannelRequest *_t = static_cast<ChannelRequest *>(_o);
        switch (_id) {
        case 0: _t->failed((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->succeeded((*reinterpret_cast< const Tp::ChannelPtr(*)>(_a[1]))); break;
        case 2: _t->gotMainProperties((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 3: _t->onAccountReady((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); break;
        case 4: _t->onLegacySucceeded(); break;
        case 5: _t->onSucceededWithChannel((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< const QVariantMap(*)>(_a[2])),(*reinterpret_cast< const QDBusObjectPath(*)>(_a[3])),(*reinterpret_cast< const QVariantMap(*)>(_a[4]))); break;
        case 6: _t->onChanBuilt((*reinterpret_cast< Tp::PendingOperation*(*)>(_a[1]))); 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< QDBusPendingCallWatcher* >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ChannelRequest::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ChannelRequest::failed)) {
                *result = 0;
            }
        }
        {
            typedef void (ChannelRequest::*_t)(const Tp::ChannelPtr & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ChannelRequest::succeeded)) {
                *result = 1;
            }
        }
    }
}

const QMetaObject Tp::ChannelRequest::staticMetaObject = {
    { &StatefulDBusProxy::staticMetaObject, qt_meta_stringdata_Tp__ChannelRequest.data,
      qt_meta_data_Tp__ChannelRequest,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tp::ChannelRequest::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tp__ChannelRequest.stringdata))
        return static_cast<void*>(const_cast< ChannelRequest*>(this));
    if (!strcmp(_clname, "OptionalInterfaceFactory<ChannelRequest>"))
        return static_cast< OptionalInterfaceFactory<ChannelRequest>*>(const_cast< ChannelRequest*>(this));
    return StatefulDBusProxy::qt_metacast(_clname);
}

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

// SIGNAL 0
void Tp::ChannelRequest::failed(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::ChannelRequest::succeeded(const Tp::ChannelPtr & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_END_MOC_NAMESPACE
