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

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

 // classinfo: key, value
      27,    9,

 // signals: signature, parameters, type, tag, flags
      48,   44,   43,   43, 0x45,
      70,   44,   43,   43, 0x45,
      94,   44,   43,   43, 0x45,
     120,  112,   43,   43, 0x45,
     159,   43,   43,   43, 0x45,
     187,  177,   43,   43, 0x45,

 // slots: signature, parameters, type, tag, flags
     225,   43,  213,   43, 0x4a,
     246,  236,   43,   43, 0x4a,
     261,  236,   43,   43, 0x4a,
     275,   43,   43,   43, 0x4a,
     286,   43,   43,   43, 0x4a,
     306,  296,   43,   43, 0x4a,
     328,  296,   43,   43, 0x4a,
     376,  358,   43,   43, 0x4a,
     397,  358,   43,   43, 0x4a,
     433,  425,   43,   43, 0x4a,
     457,   43,  452,   43, 0x4a,
     469,   43,   43,   43, 0x4a,
     482,   43,   43,   43, 0x4a,
     497,   43,  213,   43, 0x4a,
     512,  506,  452,   43, 0x4a,
     530,  506,  452,   43, 0x4a,
     560,  236,  551,   43, 0x4a,
     582,  577,  551,   43, 0x4a,
     597,   43,  551,   43, 0x4a,
     613,  608,   43,   43, 0x4a,
     631,   43,  626,   43, 0x4a,
     652,   43,  626,   43, 0x4a,
     684,   43,  676,   43, 0x4a,
     697,  694,   43,   43, 0x08,
     733,  694,   43,   43, 0x08,
     771,  694,   43,   43, 0x08,
     810,  803,   43,   43, 0x08,
     865,  863,   43,   43, 0x08,
     884,  863,   43,   43, 0x08,
     905,   43,   43,   43, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_kt__DBus[] = {
    "kt::DBus\0org.ktorrent.core\0D-Bus Interface\0"
    "\0tor\0torrentAdded(QString)\0"
    "torrentRemoved(QString)\0finished(QString)\0"
    "tor,msg\0torrentStoppedByError(QString,QString)\0"
    "settingsChanged()\0suspended\0"
    "suspendStateChanged(bool)\0QStringList\0"
    "torrents()\0info_hash\0start(QString)\0"
    "stop(QString)\0startAll()\0stopAll()\0"
    "url,group\0load(QString,QString)\0"
    "loadSilently(QString,QString)\0"
    "info_hash,data_to\0remove(QString,bool)\0"
    "removeDelayed(QString,bool)\0suspend\0"
    "setSuspended(bool)\0bool\0suspended()\0"
    "orderQueue()\0reindexQueue()\0groups()\0"
    "group\0addGroup(QString)\0removeGroup(QString)\0"
    "QObject*\0torrent(QString)\0name\0"
    "group(QString)\0settings()\0line\0"
    "log(QString)\0uint\0numTorrentsRunning()\0"
    "numTorrentsNotRunning()\0QString\0"
    "dataDir()\0tc\0torrentAdded(bt::TorrentInterface*)\0"
    "torrentRemoved(bt::TorrentInterface*)\0"
    "finished(bt::TorrentInterface*)\0tc,msg\0"
    "torrentStoppedByError(bt::TorrentInterface*,QString)\0"
    "g\0groupAdded(Group*)\0groupRemoved(Group*)\0"
    "delayedTorrentRemoval()\0"
};

void kt::DBus::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        DBus *_t = static_cast<DBus *>(_o);
        switch (_id) {
        case 0: _t->torrentAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->torrentRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->finished((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->torrentStoppedByError((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 4: _t->settingsChanged(); break;
        case 5: _t->suspendStateChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: { QStringList _r = _t->torrents();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 7: _t->start((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->stop((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->startAll(); break;
        case 10: _t->stopAll(); break;
        case 11: _t->load((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 12: _t->loadSilently((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 13: _t->remove((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 14: _t->removeDelayed((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 15: _t->setSuspended((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: { bool _r = _t->suspended();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 17: _t->orderQueue(); break;
        case 18: _t->reindexQueue(); break;
        case 19: { QStringList _r = _t->groups();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 20: { bool _r = _t->addGroup((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 21: { bool _r = _t->removeGroup((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 22: { QObject* _r = _t->torrent((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = _r; }  break;
        case 23: { QObject* _r = _t->group((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = _r; }  break;
        case 24: { QObject* _r = _t->settings();
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = _r; }  break;
        case 25: _t->log((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 26: { uint _r = _t->numTorrentsRunning();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = _r; }  break;
        case 27: { uint _r = _t->numTorrentsNotRunning();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = _r; }  break;
        case 28: { QString _r = _t->dataDir();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 29: _t->torrentAdded((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 30: _t->torrentRemoved((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 31: _t->finished((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1]))); break;
        case 32: _t->torrentStoppedByError((*reinterpret_cast< bt::TorrentInterface*(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 33: _t->groupAdded((*reinterpret_cast< Group*(*)>(_a[1]))); break;
        case 34: _t->groupRemoved((*reinterpret_cast< Group*(*)>(_a[1]))); break;
        case 35: _t->delayedTorrentRemoval(); break;
        default: ;
        }
    }
}

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

const QMetaObject kt::DBus::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_kt__DBus,
      qt_meta_data_kt__DBus, &staticMetaObjectExtraData }
};

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

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

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

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

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

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

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

// SIGNAL 3
void kt::DBus::torrentStoppedByError(const QString & _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, 3, _a);
}

// SIGNAL 4
void kt::DBus::settingsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, 0);
}

// SIGNAL 5
void kt::DBus::suspendStateChanged(bool _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_END_MOC_NAMESPACE
