/****************************************************************************
** Meta object code from reading C++ file 'cli-channel-dispatch-operation.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-channel-dispatch-operation.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__ChannelDispatchOperationInterface_t {
    QByteArrayData data[15];
    char stringdata[189];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__Client__ChannelDispatchOperationInterface_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__Client__ChannelDispatchOperationInterface_t qt_meta_stringdata_Tp__Client__ChannelDispatchOperationInterface = {
    {
QT_MOC_LITERAL(0, 0, 45), // "Tp::Client::ChannelDispatchOp..."
QT_MOC_LITERAL(1, 46, 11), // "ChannelLost"
QT_MOC_LITERAL(2, 58, 0), // ""
QT_MOC_LITERAL(3, 59, 15), // "QDBusObjectPath"
QT_MOC_LITERAL(4, 75, 7), // "channel"
QT_MOC_LITERAL(5, 83, 5), // "error"
QT_MOC_LITERAL(6, 89, 7), // "message"
QT_MOC_LITERAL(7, 97, 8), // "Finished"
QT_MOC_LITERAL(8, 106, 10), // "HandleWith"
QT_MOC_LITERAL(9, 117, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(10, 137, 7), // "handler"
QT_MOC_LITERAL(11, 145, 7), // "timeout"
QT_MOC_LITERAL(12, 153, 5), // "Claim"
QT_MOC_LITERAL(13, 159, 14), // "HandleWithTime"
QT_MOC_LITERAL(14, 174, 14) // "userActionTime"

    },
    "Tp::Client::ChannelDispatchOperationInterface\0"
    "ChannelLost\0\0QDBusObjectPath\0channel\0"
    "error\0message\0Finished\0HandleWith\0"
    "QDBusPendingReply<>\0handler\0timeout\0"
    "Claim\0HandleWithTime\0userActionTime"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__Client__ChannelDispatchOperationInterface[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,   54,    2, 0x06 /* Public */,
       7,    0,   61,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    2,   62,    2, 0x0a /* Public */,
       8,    1,   67,    2, 0x2a /* Public | MethodCloned */,
      12,    1,   70,    2, 0x0a /* Public */,
      12,    0,   73,    2, 0x2a /* Public | MethodCloned */,
      13,    3,   74,    2, 0x0a /* Public */,
      13,    2,   81,    2, 0x2a /* Public | MethodCloned */,

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

 // slots: parameters
    0x80000000 | 9, QMetaType::QString, QMetaType::Int,   10,   11,
    0x80000000 | 9, QMetaType::QString,   10,
    0x80000000 | 9, QMetaType::Int,   11,
    0x80000000 | 9,
    0x80000000 | 9, QMetaType::QString, QMetaType::LongLong, QMetaType::Int,   10,   14,   11,
    0x80000000 | 9, QMetaType::QString, QMetaType::LongLong,   10,   14,

       0        // eod
};

void Tp::Client::ChannelDispatchOperationInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ChannelDispatchOperationInterface *_t = static_cast<ChannelDispatchOperationInterface *>(_o);
        switch (_id) {
        case 0: _t->ChannelLost((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 1: _t->Finished(); break;
        case 2: { QDBusPendingReply<> _r = _t->HandleWith((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 3: { QDBusPendingReply<> _r = _t->HandleWith((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 4: { QDBusPendingReply<> _r = _t->Claim((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 5: { QDBusPendingReply<> _r = _t->Claim();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 6: { QDBusPendingReply<> _r = _t->HandleWithTime((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< qlonglong(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = _r; }  break;
        case 7: { QDBusPendingReply<> _r = _t->HandleWithTime((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< qlonglong(*)>(_a[2])));
            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 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            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 (ChannelDispatchOperationInterface::*_t)(const QDBusObjectPath & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ChannelDispatchOperationInterface::ChannelLost)) {
                *result = 0;
            }
        }
        {
            typedef void (ChannelDispatchOperationInterface::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ChannelDispatchOperationInterface::Finished)) {
                *result = 1;
            }
        }
    }
}

const QMetaObject Tp::Client::ChannelDispatchOperationInterface::staticMetaObject = {
    { &Tp::AbstractInterface::staticMetaObject, qt_meta_stringdata_Tp__Client__ChannelDispatchOperationInterface.data,
      qt_meta_data_Tp__Client__ChannelDispatchOperationInterface,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

// SIGNAL 0
void Tp::Client::ChannelDispatchOperationInterface::ChannelLost(const QDBusObjectPath & _t1, const QString & _t2, const QString & _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, 0, _a);
}

// SIGNAL 1
void Tp::Client::ChannelDispatchOperationInterface::Finished()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
