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

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

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

 // classinfo: key, value
      33,   14,

 // slots: signature, parameters, type, tag, flags
      58,   49,   50,   49, 0x4a,
      65,   49,   50,   49, 0x4a,
      72,   49,   50,   49, 0x4a,
      98,   94,   49,   49, 0x4a,
     130,   49,   50,   49, 0x4a,
     164,   94,   49,   49, 0x4a,
     215,   49,  208,   49, 0x4a,
     237,  231,   49,   49, 0x4a,
     262,   49,  208,   49, 0x4a,
     282,  276,   49,   49, 0x4a,
     310,   49,  305,   49, 0x4a,
     333,  327,   49,   49, 0x4a,
     357,   49,  305,   49, 0x4a,
     376,  327,   49,   49, 0x4a,
     407,   49,  402,   49, 0x4a,
     435,  432,   49,   49, 0x4a,

       0        // eod
};

static const char qt_meta_stringdata_kt__DBusGroup[] = {
    "kt::DBusGroup\0org.ktorrent.group\0"
    "D-Bus Interface\0\0QString\0name()\0icon()\0"
    "defaultSaveLocation()\0dir\0"
    "setDefaultSaveLocation(QString)\0"
    "defaultMoveOnCompletionLocation()\0"
    "setDefaultMoveOnCompletionLocation(QString)\0"
    "double\0maxShareRatio()\0ratio\0"
    "setMaxShareRatio(double)\0maxSeedTime()\0"
    "hours\0setMaxSeedTime(double)\0uint\0"
    "maxUploadSpeed()\0speed\0setMaxUploadSpeed(uint)\0"
    "maxDownloadSpeed()\0setMaxDownloadSpeed(uint)\0"
    "bool\0onlyApplyOnNewTorrents()\0on\0"
    "setOnlyApplyOnNewTorrents(bool)\0"
};

void kt::DBusGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        DBusGroup *_t = static_cast<DBusGroup *>(_o);
        switch (_id) {
        case 0: { QString _r = _t->name();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 1: { QString _r = _t->icon();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 2: { QString _r = _t->defaultSaveLocation();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 3: _t->setDefaultSaveLocation((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: { QString _r = _t->defaultMoveOnCompletionLocation();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 5: _t->setDefaultMoveOnCompletionLocation((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: { double _r = _t->maxShareRatio();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 7: _t->setMaxShareRatio((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 8: { double _r = _t->maxSeedTime();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 9: _t->setMaxSeedTime((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 10: { uint _r = _t->maxUploadSpeed();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = _r; }  break;
        case 11: _t->setMaxUploadSpeed((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 12: { uint _r = _t->maxDownloadSpeed();
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = _r; }  break;
        case 13: _t->setMaxDownloadSpeed((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 14: { bool _r = _t->onlyApplyOnNewTorrents();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 15: _t->setOnlyApplyOnNewTorrents((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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

const QMetaObject kt::DBusGroup::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_kt__DBusGroup,
      qt_meta_data_kt__DBusGroup, &staticMetaObjectExtraData }
};

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

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

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

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