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

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

 // signals: signature, parameters, type, tag, flags
      19,   18,   18,   18, 0x05,
      31,   18,   18,   18, 0x05,

 // slots: signature, parameters, type, tag, flags
      66,   46,   18,   18, 0x08,
     118,  116,   18,   18, 0x08,
     147,  142,   18,   18, 0x08,
     184,   18,   18,   18, 0x08,
     196,   18,   18,   18, 0x08,
     209,   18,   18,   18, 0x08,
     222,   18,   18,   18, 0x08,
     246,  239,   18,   18, 0x08,
     270,   18,   18,   18, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_kt__ScriptManager[] = {
    "kt::ScriptManager\0\0addScript()\0"
    "removeScript()\0selected,deselected\0"
    "onSelectionChanged(QItemSelection,QItemSelection)\0"
    "p\0showContextMenu(QPoint)\0f,to\0"
    "dataChanged(QModelIndex,QModelIndex)\0"
    "runScript()\0stopScript()\0editScript()\0"
    "showProperties()\0script\0showProperties(Script*)\0"
    "configureScript()\0"
};

void kt::ScriptManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ScriptManager *_t = static_cast<ScriptManager *>(_o);
        switch (_id) {
        case 0: _t->addScript(); break;
        case 1: _t->removeScript(); break;
        case 2: _t->onSelectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 3: _t->showContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 4: _t->dataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 5: _t->runScript(); break;
        case 6: _t->stopScript(); break;
        case 7: _t->editScript(); break;
        case 8: _t->showProperties(); break;
        case 9: _t->showProperties((*reinterpret_cast< Script*(*)>(_a[1]))); break;
        case 10: _t->configureScript(); break;
        default: ;
        }
    }
}

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

const QMetaObject kt::ScriptManager::staticMetaObject = {
    { &Activity::staticMetaObject, qt_meta_stringdata_kt__ScriptManager,
      qt_meta_data_kt__ScriptManager, &staticMetaObjectExtraData }
};

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

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

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

int kt::ScriptManager::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Activity::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void kt::ScriptManager::addScript()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

// SIGNAL 1
void kt::ScriptManager::removeScript()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}
QT_END_MOC_NAMESPACE
