/****************************************************************************
** Meta object code from reading C++ file 'dbustorrentfilestream.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.7)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../src/ktorrent-4.3.1/libktcore/dbus/dbustorrentfilestream.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbustorrentfilestream.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_kt__DBusTorrentFileStream[] = {

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

 // classinfo: key, value
      57,   26,

 // slots: signature, parameters, type, tag, flags
      81,   73,   74,   73, 0x4a,
      87,   73,   74,   73, 0x4a,
     103,   99,   94,   73, 0x4a,
     116,   73,   74,   73, 0x4a,
     141,   73,  133,   73, 0x4a,
     159,   73,  148,   73, 0x4a,
     192,  185,  174,   73, 0x4a,

       0        // eod
};

static const char qt_meta_stringdata_kt__DBusTorrentFileStream[] = {
    "kt::DBusTorrentFileStream\0"
    "org.ktorrent.torrentfilestream\0"
    "D-Bus Interface\0\0qint64\0pos()\0size()\0"
    "bool\0pos\0seek(qint64)\0bytesAvailable()\0"
    "QString\0path()\0bt::Uint32\0currentChunk()\0"
    "QByteArray\0maxlen\0read(qint64)\0"
};

void kt::DBusTorrentFileStream::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        DBusTorrentFileStream *_t = static_cast<DBusTorrentFileStream *>(_o);
        switch (_id) {
        case 0: { qint64 _r = _t->pos();
            if (_a[0]) *reinterpret_cast< qint64*>(_a[0]) = _r; }  break;
        case 1: { qint64 _r = _t->size();
            if (_a[0]) *reinterpret_cast< qint64*>(_a[0]) = _r; }  break;
        case 2: { bool _r = _t->seek((*reinterpret_cast< qint64(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 3: { qint64 _r = _t->bytesAvailable();
            if (_a[0]) *reinterpret_cast< qint64*>(_a[0]) = _r; }  break;
        case 4: { QString _r = _t->path();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 5: { bt::Uint32 _r = _t->currentChunk();
            if (_a[0]) *reinterpret_cast< bt::Uint32*>(_a[0]) = _r; }  break;
        case 6: { QByteArray _r = _t->read((*reinterpret_cast< qint64(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QByteArray*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObjectExtraData kt::DBusTorrentFileStream::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject kt::DBusTorrentFileStream::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_kt__DBusTorrentFileStream,
      qt_meta_data_kt__DBusTorrentFileStream, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &kt::DBusTorrentFileStream::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *kt::DBusTorrentFileStream::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *kt::DBusTorrentFileStream::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_kt__DBusTorrentFileStream))
        return static_cast<void*>(const_cast< DBusTorrentFileStream*>(this));
    return QObject::qt_metacast(_clname);
}

int kt::DBusTorrentFileStream::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 < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
