/****************************************************************************
** Meta object code from reading C++ file 'scriptingmodule.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/plugins/scripting/api/scriptingmodule.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'scriptingmodule.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__ScriptingModule_t {
    QByteArrayData data[26];
    char stringdata0[325];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_kt__ScriptingModule_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_kt__ScriptingModule_t qt_meta_stringdata_kt__ScriptingModule = {
    {
QT_MOC_LITERAL(0, 0, 19), // "kt::ScriptingModule"
QT_MOC_LITERAL(1, 20, 10), // "scriptsDir"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 9), // "scriptDir"
QT_MOC_LITERAL(4, 42, 6), // "script"
QT_MOC_LITERAL(5, 49, 15), // "readConfigEntry"
QT_MOC_LITERAL(6, 65, 5), // "group"
QT_MOC_LITERAL(7, 71, 4), // "name"
QT_MOC_LITERAL(8, 76, 13), // "default_value"
QT_MOC_LITERAL(9, 90, 18), // "readConfigEntryInt"
QT_MOC_LITERAL(10, 109, 20), // "readConfigEntryFloat"
QT_MOC_LITERAL(11, 130, 19), // "readConfigEntryBool"
QT_MOC_LITERAL(12, 150, 16), // "writeConfigEntry"
QT_MOC_LITERAL(13, 167, 5), // "value"
QT_MOC_LITERAL(14, 173, 19), // "writeConfigEntryInt"
QT_MOC_LITERAL(15, 193, 21), // "writeConfigEntryFloat"
QT_MOC_LITERAL(16, 215, 20), // "writeConfigEntryBool"
QT_MOC_LITERAL(17, 236, 10), // "syncConfig"
QT_MOC_LITERAL(18, 247, 11), // "createTimer"
QT_MOC_LITERAL(19, 259, 11), // "single_shot"
QT_MOC_LITERAL(20, 271, 8), // "addGroup"
QT_MOC_LITERAL(21, 280, 4), // "icon"
QT_MOC_LITERAL(22, 285, 4), // "path"
QT_MOC_LITERAL(23, 290, 18), // "Kross::Object::Ptr"
QT_MOC_LITERAL(24, 309, 3), // "obj"
QT_MOC_LITERAL(25, 313, 11) // "removeGroup"

    },
    "kt::ScriptingModule\0scriptsDir\0\0"
    "scriptDir\0script\0readConfigEntry\0group\0"
    "name\0default_value\0readConfigEntryInt\0"
    "readConfigEntryFloat\0readConfigEntryBool\0"
    "writeConfigEntry\0value\0writeConfigEntryInt\0"
    "writeConfigEntryFloat\0writeConfigEntryBool\0"
    "syncConfig\0createTimer\0single_shot\0"
    "addGroup\0icon\0path\0Kross::Object::Ptr\0"
    "obj\0removeGroup"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_kt__ScriptingModule[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   84,    2, 0x0a /* Public */,
       3,    1,   85,    2, 0x0a /* Public */,
       5,    3,   88,    2, 0x0a /* Public */,
       9,    3,   95,    2, 0x0a /* Public */,
      10,    3,  102,    2, 0x0a /* Public */,
      11,    3,  109,    2, 0x0a /* Public */,
      12,    3,  116,    2, 0x0a /* Public */,
      14,    3,  123,    2, 0x0a /* Public */,
      15,    3,  130,    2, 0x0a /* Public */,
      16,    3,  137,    2, 0x0a /* Public */,
      17,    1,  144,    2, 0x0a /* Public */,
      18,    1,  147,    2, 0x0a /* Public */,
      20,    4,  150,    2, 0x0a /* Public */,
      25,    1,  159,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::QString,
    QMetaType::QString, QMetaType::QString,    4,
    QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString,    6,    7,    8,
    QMetaType::Int, QMetaType::QString, QMetaType::QString, QMetaType::Int,    6,    7,    8,
    QMetaType::Float, QMetaType::QString, QMetaType::QString, QMetaType::Float,    6,    7,    8,
    QMetaType::Bool, QMetaType::QString, QMetaType::QString, QMetaType::Bool,    6,    7,    8,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    6,    7,   13,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Int,    6,    7,   13,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Float,    6,    7,   13,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Bool,    6,    7,   13,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::QObjectStar, QMetaType::Bool,   19,
    QMetaType::Bool, QMetaType::QString, QMetaType::QString, QMetaType::QString, 0x80000000 | 23,    7,   21,   22,   24,
    QMetaType::Void, QMetaType::QString,    7,

       0        // eod
};

void kt::ScriptingModule::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ScriptingModule *_t = static_cast<ScriptingModule *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { QString _r = _t->scriptsDir();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 1: { QString _r = _t->scriptDir((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 2: { QString _r = _t->readConfigEntry((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 3: { int _r = _t->readConfigEntryInt((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 4: { float _r = _t->readConfigEntryFloat((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< float(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< float*>(_a[0]) = std::move(_r); }  break;
        case 5: { bool _r = _t->readConfigEntryBool((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->writeConfigEntry((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 7: _t->writeConfigEntryInt((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 8: _t->writeConfigEntryFloat((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< float(*)>(_a[3]))); break;
        case 9: _t->writeConfigEntryBool((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 10: _t->syncConfig((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: { QObject* _r = _t->createTimer((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = std::move(_r); }  break;
        case 12: { bool _r = _t->addGroup((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< Kross::Object::Ptr(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->removeGroup((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 3:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Kross::Object::Ptr >(); break;
            }
            break;
        }
    }
}

const QMetaObject kt::ScriptingModule::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_kt__ScriptingModule.data,
      qt_meta_data_kt__ScriptingModule,  qt_static_metacall, nullptr, nullptr}
};


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

void *kt::ScriptingModule::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_kt__ScriptingModule.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int kt::ScriptingModule::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
