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

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

 // slots: signature, parameters, type, tag, flags
      29,   20,   21,   20, 0x0a,
      49,   42,   21,   20, 0x0a,
      93,   68,   21,   20, 0x0a,
     138,   68,  134,   20, 0x0a,
     184,   68,  178,   20, 0x0a,
     233,   68,  228,   20, 0x0a,
     292,  275,   20,   20, 0x0a,
     334,  275,   20,   20, 0x0a,
     375,  275,   20,   20, 0x0a,
     420,  275,   20,   20, 0x0a,
     469,  463,   20,   20, 0x0a,
     510,  498,  489,   20, 0x0a,
     547,  528,  228,   20, 0x0a,
     605,  600,   20,   20, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_kt__ScriptingModule[] = {
    "kt::ScriptingModule\0\0QString\0scriptsDir()\0"
    "script\0scriptDir(QString)\0"
    "group,name,default_value\0"
    "readConfigEntry(QString,QString,QString)\0"
    "int\0readConfigEntryInt(QString,QString,int)\0"
    "float\0readConfigEntryFloat(QString,QString,float)\0"
    "bool\0readConfigEntryBool(QString,QString,bool)\0"
    "group,name,value\0"
    "writeConfigEntry(QString,QString,QString)\0"
    "writeConfigEntryInt(QString,QString,int)\0"
    "writeConfigEntryFloat(QString,QString,float)\0"
    "writeConfigEntryBool(QString,QString,bool)\0"
    "group\0syncConfig(QString)\0QObject*\0"
    "single_shot\0createTimer(bool)\0"
    "name,icon,path,obj\0"
    "addGroup(QString,QString,QString,Kross::Object::Ptr)\0"
    "name\0removeGroup(QString)\0"
};

void kt::ScriptingModule::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ScriptingModule *_t = static_cast<ScriptingModule *>(_o);
        switch (_id) {
        case 0: { QString _r = _t->scriptsDir();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 1: { QString _r = _t->scriptDir((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _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]) = _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]) = _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]) = _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]) = _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]) = _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]) = _r; }  break;
        case 13: _t->removeGroup((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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

const QMetaObject kt::ScriptingModule::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_kt__ScriptingModule,
      qt_meta_data_kt__ScriptingModule, &staticMetaObjectExtraData }
};

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

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

void *kt::ScriptingModule::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_kt__ScriptingModule))
        return static_cast<void*>(const_cast< ScriptingModule*>(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;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
