/****************************************************************************
** Meta object code from reading C++ file 'dbustorrent.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/dbustorrent.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbustorrent.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__DBusTorrent[] = {

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

 // classinfo: key, value
      37,   16,

 // signals: signature, parameters, type, tag, flags
      58,   54,   53,   53, 0x45,
      85,   77,   53,   53, 0x45,
     129,  118,   53,   53, 0x45,
     166,   54,   53,   53, 0x45,
     195,   54,   53,   53, 0x45,

 // slots: signature, parameters, type, tag, flags
     228,   53,  220,   53, 0x4a,
     239,   53,  220,   53, 0x4a,
     251,   53,  246,   53, 0x4a,
     268,   53,  263,   53, 0x4a,
     284,   53,  263,   53, 0x4a,
     309,   53,  298,   53, 0x4a,
     327,   53,  298,   53, 0x4a,
     343,   53,  298,   53, 0x4a,
     355,   53,  298,   53, 0x4a,
     377,   53,  298,   53, 0x4a,
     389,   53,  298,   53, 0x4a,
     411,   53,  407,   53, 0x4a,
     424,  422,   53,   53, 0x4a,
     444,  441,   53,   53, 0x4a,
     468,   53,  246,   53, 0x4a,
     487,   53,  263,   53, 0x4a,
     496,   53,  263,   53, 0x4a,
     512,  508,  246,   53, 0x4a,
     534,   53,  263,   53, 0x4a,
     553,   53,  263,   53, 0x4a,
     568,   53,  263,   53, 0x4a,
     588,   53,  263,   53, 0x4a,
     604,   53,  220,   53, 0x4a,
     633,   53,  621,   53, 0x4a,
     664,  644,   53,   53, 0x4a,
     708,  696,   53,   53, 0x4a,
     731,   53,   53,   53, 0x4a,
     742,   53,   53,   53, 0x4a,
     751,  696,  246,   53, 0x4a,
     771,  696,  246,   53, 0x4a,
     794,   53,   53,   53, 0x4a,
     819,   53,  621,   53, 0x4a,
     842,  830,  246,   53, 0x4a,
     862,  830,  246,   53, 0x4a,
     885,   53,  263,   53, 0x4a,
     896,   53,  220,   53, 0x4a,
     906,   53,  220,   53, 0x4a,
     915,   53,  220,   53, 0x4a,
     939,  928,  220,   53, 0x4a,
     954,  928,  220,   53, 0x4a,
     975,  928,  298,   53, 0x4a,
     990,  928,  407,   53, 0x4a,
    1025, 1009,   53,   53, 0x4a,
    1051,  928,  407,   53, 0x4a,
    1074,  928,  407,   53, 0x4a,
    1103,  928, 1096,   53, 0x4a,
    1124,  928,  246,   53, 0x4a,
    1162, 1147,   53,   53, 0x4a,
    1201,   53, 1190,   53, 0x4a,
    1215, 1209,   53,   53, 0x4a,
    1240,   53, 1096,   53, 0x4a,
    1256,   53, 1096,   53, 0x4a,
    1275, 1269,   53,   53, 0x4a,
    1298,   53, 1096,   53, 0x4a,
    1312,   53, 1096,   53, 0x4a,
    1323,  928,  246,   53, 0x4a,
    1342,  928,  246,   53, 0x4a,
    1361,   54,   53,   53, 0x08,
    1403, 1395,   53,   53, 0x08,
    1451,  118,   53,   53, 0x08,
    1514,   54,   53,   53, 0x08,
    1558,   54,   53,   53, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_kt__DBusTorrent[] = {
    "kt::DBusTorrent\0org.ktorrent.torrent\0"
    "D-Bus Interface\0\0tor\0finished(QObject*)\0"
    "tor,msg\0stoppedByError(QObject*,QString)\0"
    "tor,reason\0seedingAutoStopped(QObject*,QString)\0"
    "corruptedDataFound(QObject*)\0"
    "torrentStopped(QObject*)\0QString\0"
    "infoHash()\0name()\0bool\0isPrivate()\0"
    "uint\0downloadSpeed()\0uploadSpeed()\0"
    "qulonglong\0bytesDownloaded()\0"
    "bytesUploaded()\0totalSize()\0"
    "bytesLeftToDownload()\0bytesLeft()\0"
    "bytesToDownload()\0int\0priority()\0p\0"
    "setPriority(int)\0on\0setAllowedToStart(bool)\0"
    "isAllowedToStart()\0chunks()\0chunkSize()\0"
    "idx\0chunkDownloaded(uint)\0seedersConnected()\0"
    "seedersTotal()\0leechersConnected()\0"
    "leechersTotal()\0currentTracker()\0"
    "QStringList\0trackers()\0tracker_url,enabled\0"
    "setTrackerEnabled(QString,bool)\0"
    "tracker_url\0changeTracker(QString)\0"
    "announce()\0scrape()\0addTracker(QString)\0"
    "removeTracker(QString)\0restoreDefaultTrackers()\0"
    "webSeeds()\0webseed_url\0addWebSeed(QString)\0"
    "removeWebSeed(QString)\0numFiles()\0"
    "dataDir()\0torDir()\0pathOnDisk()\0"
    "file_index\0filePath(uint)\0"
    "filePathOnDisk(uint)\0fileSize(uint)\0"
    "filePriority(uint)\0file_index,prio\0"
    "setFilePriority(uint,int)\0"
    "firstChunkOfFile(uint)\0lastChunkOfFile(uint)\0"
    "double\0filePercentage(uint)\0"
    "isMultiMediaFile(uint)\0file_index,dnd\0"
    "setDoNotDownload(uint,bool)\0QByteArray\0"
    "stats()\0ratio\0setMaxShareRatio(double)\0"
    "maxShareRatio()\0shareRatio()\0hours\0"
    "setMaxSeedTime(double)\0maxSeedTime()\0"
    "seedTime()\0createStream(uint)\0"
    "removeStream(uint)\0onFinished(bt::TorrentInterface*)\0"
    "tor,err\0onStoppedByError(bt::TorrentInterface*,QString)\0"
    "onSeedingAutoStopped(bt::TorrentInterface*,bt::AutoStopReason)\0"
    "onCorruptedDataFound(bt::TorrentInterface*)\0"
    "onTorrentStopped(bt::TorrentInterface*)\0"
};

void kt::DBusTorrent::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        DBusTorrent *_t = static_cast<DBusTorrent *>(_o);
        switch (_id) {
        case 0: _t->finished((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 1: _t->stoppedByError((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->seedingAutoStopped((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->corruptedDataFound((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 4: _t->torrentStopped((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 5: { QString _r = _t->infoHash();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 6: { QString _r = _t->name();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 7: { bool _r = _t->isPrivate();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 8: { uint _r = _t->downloadSpeed();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = _r; }  break;
        case 9: { uint _r = _t->uploadSpeed();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = _r; }  break;
        case 10: { qulonglong _r = _t->bytesDownloaded();
            if (_a[0]) *reinterpret_cast< qulonglong*>(_a[0]) = _r; }  break;
        case 11: { qulonglong _r = _t->bytesUploaded();
            if (_a[0]) *reinterpret_cast< qulonglong*>(_a[0]) = _r; }  break;
        case 12: { qulonglong _r = _t->totalSize();
            if (_a[0]) *reinterpret_cast< qulonglong*>(_a[0]) = _r; }  break;
        case 13: { qulonglong _r = _t->bytesLeftToDownload();
            if (_a[0]) *reinterpret_cast< qulonglong*>(_a[0]) = _r; }  break;
        case 14: { qulonglong _r = _t->bytesLeft();
            if (_a[0]) *reinterpret_cast< qulonglong*>(_a[0]) = _r; }  break;
        case 15: { qulonglong _r = _t->bytesToDownload();
            if (_a[0]) *reinterpret_cast< qulonglong*>(_a[0]) = _r; }  break;
        case 16: { int _r = _t->priority();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 17: _t->setPriority((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->setAllowedToStart((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 19: { bool _r = _t->isAllowedToStart();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 20: { uint _r = _t->chunks();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = _r; }  break;
        case 21: { uint _r = _t->chunkSize();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = _r; }  break;
        case 22: { bool _r = _t->chunkDownloaded((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 23: { uint _r = _t->seedersConnected();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = _r; }  break;
        case 24: { uint _r = _t->seedersTotal();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = _r; }  break;
        case 25: { uint _r = _t->leechersConnected();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = _r; }  break;
        case 26: { uint _r = _t->leechersTotal();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = _r; }  break;
        case 27: { QString _r = _t->currentTracker();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 28: { QStringList _r = _t->trackers();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 29: _t->setTrackerEnabled((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 30: _t->changeTracker((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 31: _t->announce(); break;
        case 32: _t->scrape(); break;
        case 33: { bool _r = _t->addTracker((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 34: { bool _r = _t->removeTracker((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 35: _t->restoreDefaultTrackers(); break;
        case 36: { QStringList _r = _t->webSeeds();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 37: { bool _r = _t->addWebSeed((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 38: { bool _r = _t->removeWebSeed((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 39: { uint _r = _t->numFiles();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = _r; }  break;
        case 40: { QString _r = _t->dataDir();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 41: { QString _r = _t->torDir();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 42: { QString _r = _t->pathOnDisk();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 43: { QString _r = _t->filePath((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 44: { QString _r = _t->filePathOnDisk((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 45: { qulonglong _r = _t->fileSize((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< qulonglong*>(_a[0]) = _r; }  break;
        case 46: { int _r = _t->filePriority((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 47: _t->setFilePriority((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 48: { int _r = _t->firstChunkOfFile((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 49: { int _r = _t->lastChunkOfFile((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 50: { double _r = _t->filePercentage((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 51: { bool _r = _t->isMultiMediaFile((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 52: _t->setDoNotDownload((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 53: { QByteArray _r = _t->stats();
            if (_a[0]) *reinterpret_cast< QByteArray*>(_a[0]) = _r; }  break;
        case 54: _t->setMaxShareRatio((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 55: { double _r = _t->maxShareRatio();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 56: { double _r = _t->shareRatio();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 57: _t->setMaxSeedTime((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 58: { double _r = _t->maxSeedTime();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 59: { double _r = _t->seedTime();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 60: { bool _r = _t->createStream((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 61: { bool _r = _t->removeStream((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 62: _t->onFinished((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 63: _t->onStoppedByError((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 64: _t->onSeedingAutoStopped((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1])),(*reinterpret_cast< bt::AutoStopReason(*)>(_a[2]))); break;
        case 65: _t->onCorruptedDataFound((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 66: _t->onTorrentStopped((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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

const QMetaObject kt::DBusTorrent::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_kt__DBusTorrent,
      qt_meta_data_kt__DBusTorrent, &staticMetaObjectExtraData }
};

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

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

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

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

// SIGNAL 0
void kt::DBusTorrent::finished(QObject * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void kt::DBusTorrent::stoppedByError(QObject * _t1, const QString & _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void kt::DBusTorrent::seedingAutoStopped(QObject * _t1, const QString & _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void kt::DBusTorrent::corruptedDataFound(QObject * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void kt::DBusTorrent::torrentStopped(QObject * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_END_MOC_NAMESPACE
