/****************************************************************************
** Meta object code from reading C++ file 'ilanguagecontroller.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/ilanguagecontroller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ilanguagecontroller.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__ILanguageController_t {
    QByteArrayData data[16];
    char stringdata0[264];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__ILanguageController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__ILanguageController_t qt_meta_stringdata_KDevelop__ILanguageController = {
    {
QT_MOC_LITERAL(0, 0, 29), // "KDevelop::ILanguageController"
QT_MOC_LITERAL(1, 30, 15), // "activeLanguages"
QT_MOC_LITERAL(2, 46, 24), // "QList<ILanguageSupport*>"
QT_MOC_LITERAL(3, 71, 0), // ""
QT_MOC_LITERAL(4, 72, 8), // "language"
QT_MOC_LITERAL(5, 81, 17), // "ILanguageSupport*"
QT_MOC_LITERAL(6, 99, 4), // "name"
QT_MOC_LITERAL(7, 104, 15), // "languagesForUrl"
QT_MOC_LITERAL(8, 120, 3), // "url"
QT_MOC_LITERAL(9, 124, 15), // "loadedLanguages"
QT_MOC_LITERAL(10, 140, 16), // "backgroundParser"
QT_MOC_LITERAL(11, 157, 17), // "BackgroundParser*"
QT_MOC_LITERAL(12, 175, 23), // "staticAssistantsManager"
QT_MOC_LITERAL(13, 199, 24), // "StaticAssistantsManager*"
QT_MOC_LITERAL(14, 224, 18), // "completionSettings"
QT_MOC_LITERAL(15, 243, 20) // "ICompletionSettings*"

    },
    "KDevelop::ILanguageController\0"
    "activeLanguages\0QList<ILanguageSupport*>\0"
    "\0language\0ILanguageSupport*\0name\0"
    "languagesForUrl\0url\0loadedLanguages\0"
    "backgroundParser\0BackgroundParser*\0"
    "staticAssistantsManager\0"
    "StaticAssistantsManager*\0completionSettings\0"
    "ICompletionSettings*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__ILanguageController[] = {

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

 // methods: name, argc, parameters, tag, flags
       1,    0,   49,    3, 0x42 /* Public | isScriptable */,
       4,    1,   50,    3, 0x42 /* Public | isScriptable */,
       7,    1,   53,    3, 0x42 /* Public | isScriptable */,
       9,    0,   56,    3, 0x42 /* Public | isScriptable */,
      10,    0,   57,    3, 0x42 /* Public | isScriptable */,
      12,    0,   58,    3, 0x42 /* Public | isScriptable */,
      14,    0,   59,    3, 0x42 /* Public | isScriptable */,

 // methods: parameters
    0x80000000 | 2,
    0x80000000 | 5, QMetaType::QString,    6,
    0x80000000 | 2, QMetaType::QUrl,    8,
    0x80000000 | 2,
    0x80000000 | 11,
    0x80000000 | 13,
    0x80000000 | 15,

       0        // eod
};

void KDevelop::ILanguageController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ILanguageController *_t = static_cast<ILanguageController *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { QList<ILanguageSupport*> _r = _t->activeLanguages();
            if (_a[0]) *reinterpret_cast< QList<ILanguageSupport*>*>(_a[0]) = _r; }  break;
        case 1: { ILanguageSupport* _r = _t->language((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< ILanguageSupport**>(_a[0]) = _r; }  break;
        case 2: { QList<ILanguageSupport*> _r = _t->languagesForUrl((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<ILanguageSupport*>*>(_a[0]) = _r; }  break;
        case 3: { QList<ILanguageSupport*> _r = _t->loadedLanguages();
            if (_a[0]) *reinterpret_cast< QList<ILanguageSupport*>*>(_a[0]) = _r; }  break;
        case 4: { BackgroundParser* _r = _t->backgroundParser();
            if (_a[0]) *reinterpret_cast< BackgroundParser**>(_a[0]) = _r; }  break;
        case 5: { StaticAssistantsManager* _r = _t->staticAssistantsManager();
            if (_a[0]) *reinterpret_cast< StaticAssistantsManager**>(_a[0]) = _r; }  break;
        case 6: { ICompletionSettings* _r = _t->completionSettings();
            if (_a[0]) *reinterpret_cast< ICompletionSettings**>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObject KDevelop::ILanguageController::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KDevelop__ILanguageController.data,
      qt_meta_data_KDevelop__ILanguageController,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KDevelop::ILanguageController::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 < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
