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

#include "../../../src/kdevplatform-5.0.3/plugins/externalscript/externalscriptplugin.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'externalscriptplugin.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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
struct qt_meta_stringdata_ExternalScriptPlugin_t {
    QByteArrayData data[15];
    char stringdata0[230];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ExternalScriptPlugin_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ExternalScriptPlugin_t qt_meta_stringdata_ExternalScriptPlugin = {
    {
QT_MOC_LITERAL(0, 0, 20), // "ExternalScriptPlugin"
QT_MOC_LITERAL(1, 21, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 37, 33), // "org.kdevelop.ExternalScriptPl..."
QT_MOC_LITERAL(3, 71, 27), // "executeScriptFromActionData"
QT_MOC_LITERAL(4, 99, 0), // ""
QT_MOC_LITERAL(5, 100, 14), // "executeCommand"
QT_MOC_LITERAL(6, 115, 7), // "command"
QT_MOC_LITERAL(7, 123, 16), // "workingDirectory"
QT_MOC_LITERAL(8, 140, 18), // "executeCommandSync"
QT_MOC_LITERAL(9, 159, 11), // "rowsRemoved"
QT_MOC_LITERAL(10, 171, 6), // "parent"
QT_MOC_LITERAL(11, 178, 5), // "start"
QT_MOC_LITERAL(12, 184, 3), // "end"
QT_MOC_LITERAL(13, 188, 12), // "rowsInserted"
QT_MOC_LITERAL(14, 201, 28) // "executeScriptFromContextMenu"

    },
    "ExternalScriptPlugin\0D-Bus Interface\0"
    "org.kdevelop.ExternalScriptPlugin\0"
    "executeScriptFromActionData\0\0"
    "executeCommand\0command\0workingDirectory\0"
    "executeCommandSync\0rowsRemoved\0parent\0"
    "start\0end\0rowsInserted\0"
    "executeScriptFromContextMenu"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ExternalScriptPlugin[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
       6,   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,   46,    4, 0x0a /* Public */,
       5,    2,   47,    4, 0x4a /* Public | isScriptable */,
       8,    2,   52,    4, 0x4a /* Public | isScriptable */,
       9,    3,   57,    4, 0x08 /* Private */,
      13,    3,   64,    4, 0x08 /* Private */,
      14,    0,   71,    4, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Bool, QMetaType::QString, QMetaType::QString,    6,    7,
    QMetaType::QString, QMetaType::QString, QMetaType::QString,    6,    7,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   10,   11,   12,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   10,   11,   12,
    QMetaType::Void,

       0        // eod
};

void ExternalScriptPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ExternalScriptPlugin *_t = static_cast<ExternalScriptPlugin *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->executeScriptFromActionData(); break;
        case 1: { bool _r = _t->executeCommand((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 2: { QString _r = _t->executeCommandSync((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 3: _t->rowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 4: _t->rowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 5: _t->executeScriptFromContextMenu(); break;
        default: ;
        }
    }
}

const QMetaObject ExternalScriptPlugin::staticMetaObject = {
    { &KDevelop::IPlugin::staticMetaObject, qt_meta_stringdata_ExternalScriptPlugin.data,
      qt_meta_data_ExternalScriptPlugin,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *ExternalScriptPlugin::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_ExternalScriptPlugin.stringdata0))
        return static_cast<void*>(const_cast< ExternalScriptPlugin*>(this));
    return KDevelop::IPlugin::qt_metacast(_clname);
}

int ExternalScriptPlugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KDevelop::IPlugin::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
