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

#include "../../src/ktorrent-5.1.0/libktcore/dbus/dbusgroup.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbusgroup.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_kt__DBusGroup_t {
    QByteArrayData data[25];
    char stringdata0[372];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_kt__DBusGroup_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_kt__DBusGroup_t qt_meta_stringdata_kt__DBusGroup = {
    {
QT_MOC_LITERAL(0, 0, 13), // "kt::DBusGroup"
QT_MOC_LITERAL(1, 14, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 30, 18), // "org.ktorrent.group"
QT_MOC_LITERAL(3, 49, 4), // "name"
QT_MOC_LITERAL(4, 54, 0), // ""
QT_MOC_LITERAL(5, 55, 4), // "icon"
QT_MOC_LITERAL(6, 60, 19), // "defaultSaveLocation"
QT_MOC_LITERAL(7, 80, 22), // "setDefaultSaveLocation"
QT_MOC_LITERAL(8, 103, 3), // "dir"
QT_MOC_LITERAL(9, 107, 31), // "defaultMoveOnCompletionLocation"
QT_MOC_LITERAL(10, 139, 34), // "setDefaultMoveOnCompletionLoc..."
QT_MOC_LITERAL(11, 174, 13), // "maxShareRatio"
QT_MOC_LITERAL(12, 188, 16), // "setMaxShareRatio"
QT_MOC_LITERAL(13, 205, 5), // "ratio"
QT_MOC_LITERAL(14, 211, 11), // "maxSeedTime"
QT_MOC_LITERAL(15, 223, 14), // "setMaxSeedTime"
QT_MOC_LITERAL(16, 238, 5), // "hours"
QT_MOC_LITERAL(17, 244, 14), // "maxUploadSpeed"
QT_MOC_LITERAL(18, 259, 17), // "setMaxUploadSpeed"
QT_MOC_LITERAL(19, 277, 5), // "speed"
QT_MOC_LITERAL(20, 283, 16), // "maxDownloadSpeed"
QT_MOC_LITERAL(21, 300, 19), // "setMaxDownloadSpeed"
QT_MOC_LITERAL(22, 320, 22), // "onlyApplyOnNewTorrents"
QT_MOC_LITERAL(23, 343, 25), // "setOnlyApplyOnNewTorrents"
QT_MOC_LITERAL(24, 369, 2) // "on"

    },
    "kt::DBusGroup\0D-Bus Interface\0"
    "org.ktorrent.group\0name\0\0icon\0"
    "defaultSaveLocation\0setDefaultSaveLocation\0"
    "dir\0defaultMoveOnCompletionLocation\0"
    "setDefaultMoveOnCompletionLocation\0"
    "maxShareRatio\0setMaxShareRatio\0ratio\0"
    "maxSeedTime\0setMaxSeedTime\0hours\0"
    "maxUploadSpeed\0setMaxUploadSpeed\0speed\0"
    "maxDownloadSpeed\0setMaxDownloadSpeed\0"
    "onlyApplyOnNewTorrents\0setOnlyApplyOnNewTorrents\0"
    "on"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_kt__DBusGroup[] = {

 // content:
       7,       // 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
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    0,   96,    4, 0x4a /* Public | isScriptable */,
       5,    0,   97,    4, 0x4a /* Public | isScriptable */,
       6,    0,   98,    4, 0x4a /* Public | isScriptable */,
       7,    1,   99,    4, 0x4a /* Public | isScriptable */,
       9,    0,  102,    4, 0x4a /* Public | isScriptable */,
      10,    1,  103,    4, 0x4a /* Public | isScriptable */,
      11,    0,  106,    4, 0x4a /* Public | isScriptable */,
      12,    1,  107,    4, 0x4a /* Public | isScriptable */,
      14,    0,  110,    4, 0x4a /* Public | isScriptable */,
      15,    1,  111,    4, 0x4a /* Public | isScriptable */,
      17,    0,  114,    4, 0x4a /* Public | isScriptable */,
      18,    1,  115,    4, 0x4a /* Public | isScriptable */,
      20,    0,  118,    4, 0x4a /* Public | isScriptable */,
      21,    1,  119,    4, 0x4a /* Public | isScriptable */,
      22,    0,  122,    4, 0x4a /* Public | isScriptable */,
      23,    1,  123,    4, 0x4a /* Public | isScriptable */,

 // slots: parameters
    QMetaType::QString,
    QMetaType::QString,
    QMetaType::QString,
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::QString,
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Double,
    QMetaType::Void, QMetaType::Double,   13,
    QMetaType::Double,
    QMetaType::Void, QMetaType::Double,   16,
    QMetaType::UInt,
    QMetaType::Void, QMetaType::UInt,   19,
    QMetaType::UInt,
    QMetaType::Void, QMetaType::UInt,   19,
    QMetaType::Bool,
    QMetaType::Void, QMetaType::Bool,   24,

       0        // eod
};

void kt::DBusGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DBusGroup *_t = static_cast<DBusGroup *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { QString _r = _t->name();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 1: { QString _r = _t->icon();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 2: { QString _r = _t->defaultSaveLocation();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_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]) = std::move(_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]) = std::move(_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]) = std::move(_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]) = std::move(_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]) = std::move(_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]) = std::move(_r); }  break;
        case 15: _t->setOnlyApplyOnNewTorrents((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject kt::DBusGroup::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_kt__DBusGroup.data,
      qt_meta_data_kt__DBusGroup,  qt_static_metacall, nullptr, nullptr}
};


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

void *kt::DBusGroup::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_kt__DBusGroup.stringdata0))
        return static_cast<void*>(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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 16;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
