/****************************************************************************
** Meta object code from reading C++ file 'file-transfer-channel.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 'file-transfer-channel.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__FileTransferChannel_t {
    QByteArrayData data[21];
    char stringdata[324];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tp__FileTransferChannel_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tp__FileTransferChannel_t qt_meta_stringdata_Tp__FileTransferChannel = {
    {
QT_MOC_LITERAL(0, 0, 23), // "Tp::FileTransferChannel"
QT_MOC_LITERAL(1, 24, 12), // "stateChanged"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 21), // "Tp::FileTransferState"
QT_MOC_LITERAL(4, 60, 5), // "state"
QT_MOC_LITERAL(5, 66, 33), // "Tp::FileTransferStateChangeRe..."
QT_MOC_LITERAL(6, 100, 6), // "reason"
QT_MOC_LITERAL(7, 107, 20), // "initialOffsetDefined"
QT_MOC_LITERAL(8, 128, 13), // "initialOffset"
QT_MOC_LITERAL(9, 142, 23), // "transferredBytesChanged"
QT_MOC_LITERAL(10, 166, 5), // "count"
QT_MOC_LITERAL(11, 172, 13), // "gotProperties"
QT_MOC_LITERAL(12, 186, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(13, 211, 7), // "watcher"
QT_MOC_LITERAL(14, 219, 11), // "changeState"
QT_MOC_LITERAL(15, 231, 14), // "onStateChanged"
QT_MOC_LITERAL(16, 246, 11), // "stateReason"
QT_MOC_LITERAL(17, 258, 22), // "onInitialOffsetDefined"
QT_MOC_LITERAL(18, 281, 25), // "onTransferredBytesChanged"
QT_MOC_LITERAL(19, 307, 12), // "onUriDefined"
QT_MOC_LITERAL(20, 320, 3) // "uri"

    },
    "Tp::FileTransferChannel\0stateChanged\0"
    "\0Tp::FileTransferState\0state\0"
    "Tp::FileTransferStateChangeReason\0"
    "reason\0initialOffsetDefined\0initialOffset\0"
    "transferredBytesChanged\0count\0"
    "gotProperties\0QDBusPendingCallWatcher*\0"
    "watcher\0changeState\0onStateChanged\0"
    "stateReason\0onInitialOffsetDefined\0"
    "onTransferredBytesChanged\0onUriDefined\0"
    "uri"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tp__FileTransferChannel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   59,    2, 0x06 /* Public */,
       7,    1,   64,    2, 0x06 /* Public */,
       9,    1,   67,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    1,   70,    2, 0x08 /* Private */,
      14,    0,   73,    2, 0x08 /* Private */,
      15,    2,   74,    2, 0x08 /* Private */,
      17,    1,   79,    2, 0x08 /* Private */,
      18,    1,   82,    2, 0x08 /* Private */,
      19,    1,   85,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void, QMetaType::ULongLong,    8,
    QMetaType::Void, QMetaType::ULongLong,   10,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void,
    QMetaType::Void, QMetaType::UInt, QMetaType::UInt,    4,   16,
    QMetaType::Void, QMetaType::ULongLong,    8,
    QMetaType::Void, QMetaType::ULongLong,   10,
    QMetaType::Void, QMetaType::QString,   20,

       0        // eod
};

void Tp::FileTransferChannel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FileTransferChannel *_t = static_cast<FileTransferChannel *>(_o);
        switch (_id) {
        case 0: _t->stateChanged((*reinterpret_cast< Tp::FileTransferState(*)>(_a[1])),(*reinterpret_cast< Tp::FileTransferStateChangeReason(*)>(_a[2]))); break;
        case 1: _t->initialOffsetDefined((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 2: _t->transferredBytesChanged((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 3: _t->gotProperties((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 4: _t->changeState(); break;
        case 5: _t->onStateChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 6: _t->onInitialOffsetDefined((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 7: _t->onTransferredBytesChanged((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 8: _t->onUriDefined((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (FileTransferChannel::*_t)(Tp::FileTransferState , Tp::FileTransferStateChangeReason );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileTransferChannel::stateChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (FileTransferChannel::*_t)(qulonglong );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileTransferChannel::initialOffsetDefined)) {
                *result = 1;
            }
        }
        {
            typedef void (FileTransferChannel::*_t)(qulonglong );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&FileTransferChannel::transferredBytesChanged)) {
                *result = 2;
            }
        }
    }
}

const QMetaObject Tp::FileTransferChannel::staticMetaObject = {
    { &Channel::staticMetaObject, qt_meta_stringdata_Tp__FileTransferChannel.data,
      qt_meta_data_Tp__FileTransferChannel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Tp::FileTransferChannel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Channel::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::FileTransferChannel::stateChanged(Tp::FileTransferState _t1, Tp::FileTransferStateChangeReason _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::FileTransferChannel::initialOffsetDefined(qulonglong _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Tp::FileTransferChannel::transferredBytesChanged(qulonglong _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_END_MOC_NAMESPACE
