/****************************************************************************
** Meta object code from reading C++ file 'iplugincontroller.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/interfaces/iplugincontroller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'iplugincontroller.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_KDevelop__IPluginController_t {
    QByteArrayData data[17];
    char stringdata0[228];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__IPluginController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__IPluginController_t qt_meta_stringdata_KDevelop__IPluginController = {
    {
QT_MOC_LITERAL(0, 0, 27), // "KDevelop::IPluginController"
QT_MOC_LITERAL(1, 28, 13), // "loadingPlugin"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 12), // "pluginLoaded"
QT_MOC_LITERAL(4, 56, 18), // "KDevelop::IPlugin*"
QT_MOC_LITERAL(5, 75, 15), // "unloadingPlugin"
QT_MOC_LITERAL(6, 91, 14), // "pluginUnloaded"
QT_MOC_LITERAL(7, 106, 13), // "loadedPlugins"
QT_MOC_LITERAL(8, 120, 15), // "QList<IPlugin*>"
QT_MOC_LITERAL(9, 136, 12), // "unloadPlugin"
QT_MOC_LITERAL(10, 149, 6), // "plugin"
QT_MOC_LITERAL(11, 156, 10), // "loadPlugin"
QT_MOC_LITERAL(12, 167, 8), // "IPlugin*"
QT_MOC_LITERAL(13, 176, 10), // "pluginName"
QT_MOC_LITERAL(14, 187, 18), // "pluginForExtension"
QT_MOC_LITERAL(15, 206, 9), // "extension"
QT_MOC_LITERAL(16, 216, 11) // "constraints"

    },
    "KDevelop::IPluginController\0loadingPlugin\0"
    "\0pluginLoaded\0KDevelop::IPlugin*\0"
    "unloadingPlugin\0pluginUnloaded\0"
    "loadedPlugins\0QList<IPlugin*>\0"
    "unloadPlugin\0plugin\0loadPlugin\0IPlugin*\0"
    "pluginName\0pluginForExtension\0extension\0"
    "constraints"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__IPluginController[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       3,    1,   67,    2, 0x06 /* Public */,
       5,    1,   70,    2, 0x06 /* Public */,
       6,    1,   73,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       7,    0,   76,    2, 0x42 /* Public | isScriptable */,
       9,    1,   77,    2, 0x42 /* Public | isScriptable */,
      11,    1,   80,    2, 0x42 /* Public | isScriptable */,
      14,    3,   83,    2, 0x42 /* Public | isScriptable */,
      14,    2,   90,    2, 0x62 /* Public | MethodCloned | isScriptable */,
      14,    1,   95,    2, 0x62 /* Public | MethodCloned | isScriptable */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, 0x80000000 | 4,    2,

 // methods: parameters
    0x80000000 | 8,
    QMetaType::Bool, QMetaType::QString,   10,
    0x80000000 | 12, QMetaType::QString,   13,
    0x80000000 | 12, QMetaType::QString, QMetaType::QString, QMetaType::QVariantMap,   15,   13,   16,
    0x80000000 | 12, QMetaType::QString, QMetaType::QString,   15,   13,
    0x80000000 | 12, QMetaType::QString,   15,

       0        // eod
};

void KDevelop::IPluginController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        IPluginController *_t = static_cast<IPluginController *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->loadingPlugin((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->pluginLoaded((*reinterpret_cast< KDevelop::IPlugin*(*)>(_a[1]))); break;
        case 2: _t->unloadingPlugin((*reinterpret_cast< KDevelop::IPlugin*(*)>(_a[1]))); break;
        case 3: _t->pluginUnloaded((*reinterpret_cast< KDevelop::IPlugin*(*)>(_a[1]))); break;
        case 4: { QList<IPlugin*> _r = _t->loadedPlugins();
            if (_a[0]) *reinterpret_cast< QList<IPlugin*>*>(_a[0]) = _r; }  break;
        case 5: { bool _r = _t->unloadPlugin((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 6: { IPlugin* _r = _t->loadPlugin((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< IPlugin**>(_a[0]) = _r; }  break;
        case 7: { IPlugin* _r = _t->pluginForExtension((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QVariantMap(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< IPlugin**>(_a[0]) = _r; }  break;
        case 8: { IPlugin* _r = _t->pluginForExtension((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< IPlugin**>(_a[0]) = _r; }  break;
        case 9: { IPlugin* _r = _t->pluginForExtension((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< IPlugin**>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KDevelop::IPlugin* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KDevelop::IPlugin* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KDevelop::IPlugin* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (IPluginController::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IPluginController::loadingPlugin)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (IPluginController::*_t)(KDevelop::IPlugin * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IPluginController::pluginLoaded)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (IPluginController::*_t)(KDevelop::IPlugin * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IPluginController::unloadingPlugin)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (IPluginController::*_t)(KDevelop::IPlugin * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IPluginController::pluginUnloaded)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject KDevelop::IPluginController::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KDevelop__IPluginController.data,
      qt_meta_data_KDevelop__IPluginController,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KDevelop::IPluginController::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void KDevelop::IPluginController::loadingPlugin(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KDevelop::IPluginController::pluginLoaded(KDevelop::IPlugin * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KDevelop::IPluginController::unloadingPlugin(KDevelop::IPlugin * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KDevelop::IPluginController::pluginUnloaded(KDevelop::IPlugin * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE
