/****************************************************************************
** Meta object code from reading C++ file 'ktexteditorpluginintegration.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/shell/ktexteditorpluginintegration.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ktexteditorpluginintegration.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_KTextEditorIntegration__Application_t {
    QByteArrayData data[12];
    char stringdata0[200];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KTextEditorIntegration__Application_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KTextEditorIntegration__Application_t qt_meta_stringdata_KTextEditorIntegration__Application = {
    {
QT_MOC_LITERAL(0, 0, 35), // "KTextEditorIntegration::Appli..."
QT_MOC_LITERAL(1, 36, 16), // "activeMainWindow"
QT_MOC_LITERAL(2, 53, 24), // "KTextEditor::MainWindow*"
QT_MOC_LITERAL(3, 78, 0), // ""
QT_MOC_LITERAL(4, 79, 11), // "mainWindows"
QT_MOC_LITERAL(5, 91, 31), // "QList<KTextEditor::MainWindow*>"
QT_MOC_LITERAL(6, 123, 6), // "plugin"
QT_MOC_LITERAL(7, 130, 20), // "KTextEditor::Plugin*"
QT_MOC_LITERAL(8, 151, 2), // "id"
QT_MOC_LITERAL(9, 154, 13), // "closeDocument"
QT_MOC_LITERAL(10, 168, 22), // "KTextEditor::Document*"
QT_MOC_LITERAL(11, 191, 8) // "document"

    },
    "KTextEditorIntegration::Application\0"
    "activeMainWindow\0KTextEditor::MainWindow*\0"
    "\0mainWindows\0QList<KTextEditor::MainWindow*>\0"
    "plugin\0KTextEditor::Plugin*\0id\0"
    "closeDocument\0KTextEditor::Document*\0"
    "document"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KTextEditorIntegration__Application[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   34,    3, 0x0a /* Public */,
       4,    0,   35,    3, 0x0a /* Public */,
       6,    1,   36,    3, 0x0a /* Public */,
       9,    1,   39,    3, 0x0a /* Public */,

 // slots: parameters
    0x80000000 | 2,
    0x80000000 | 5,
    0x80000000 | 7, QMetaType::QString,    8,
    QMetaType::Bool, 0x80000000 | 10,   11,

       0        // eod
};

void KTextEditorIntegration::Application::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Application *_t = static_cast<Application *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { KTextEditor::MainWindow* _r = _t->activeMainWindow();
            if (_a[0]) *reinterpret_cast< KTextEditor::MainWindow**>(_a[0]) = _r; }  break;
        case 1: { QList<KTextEditor::MainWindow*> _r = _t->mainWindows();
            if (_a[0]) *reinterpret_cast< QList<KTextEditor::MainWindow*>*>(_a[0]) = _r; }  break;
        case 2: { KTextEditor::Plugin* _r = _t->plugin((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< KTextEditor::Plugin**>(_a[0]) = _r; }  break;
        case 3: { bool _r = _t->closeDocument((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObject KTextEditorIntegration::Application::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KTextEditorIntegration__Application.data,
      qt_meta_data_KTextEditorIntegration__Application,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KTextEditorIntegration::Application::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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
    return _id;
}
struct qt_meta_stringdata_KTextEditorIntegration__MainWindow_t {
    QByteArrayData data[20];
    char stringdata0[265];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KTextEditorIntegration__MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KTextEditorIntegration__MainWindow_t qt_meta_stringdata_KTextEditorIntegration__MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 34), // "KTextEditorIntegration::MainW..."
QT_MOC_LITERAL(1, 35, 14), // "createToolView"
QT_MOC_LITERAL(2, 50, 8), // "QWidget*"
QT_MOC_LITERAL(3, 59, 0), // ""
QT_MOC_LITERAL(4, 60, 20), // "KTextEditor::Plugin*"
QT_MOC_LITERAL(5, 81, 6), // "plugin"
QT_MOC_LITERAL(6, 88, 10), // "identifier"
QT_MOC_LITERAL(7, 99, 41), // "KTextEditor::MainWindow::Tool..."
QT_MOC_LITERAL(8, 141, 3), // "pos"
QT_MOC_LITERAL(9, 145, 4), // "icon"
QT_MOC_LITERAL(10, 150, 4), // "text"
QT_MOC_LITERAL(11, 155, 10), // "guiFactory"
QT_MOC_LITERAL(12, 166, 15), // "KXMLGUIFactory*"
QT_MOC_LITERAL(13, 182, 6), // "window"
QT_MOC_LITERAL(14, 189, 5), // "views"
QT_MOC_LITERAL(15, 195, 25), // "QList<KTextEditor::View*>"
QT_MOC_LITERAL(16, 221, 10), // "activeView"
QT_MOC_LITERAL(17, 232, 18), // "KTextEditor::View*"
QT_MOC_LITERAL(18, 251, 10), // "pluginView"
QT_MOC_LITERAL(19, 262, 2) // "id"

    },
    "KTextEditorIntegration::MainWindow\0"
    "createToolView\0QWidget*\0\0KTextEditor::Plugin*\0"
    "plugin\0identifier\0"
    "KTextEditor::MainWindow::ToolViewPosition\0"
    "pos\0icon\0text\0guiFactory\0KXMLGUIFactory*\0"
    "window\0views\0QList<KTextEditor::View*>\0"
    "activeView\0KTextEditor::View*\0pluginView\0"
    "id"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KTextEditorIntegration__MainWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    5,   44,    3, 0x0a /* Public */,
      11,    0,   55,    3, 0x0a /* Public */,
      13,    0,   56,    3, 0x0a /* Public */,
      14,    0,   57,    3, 0x0a /* Public */,
      16,    0,   58,    3, 0x0a /* Public */,
      18,    1,   59,    3, 0x0a /* Public */,

 // slots: parameters
    0x80000000 | 2, 0x80000000 | 4, QMetaType::QString, 0x80000000 | 7, QMetaType::QIcon, QMetaType::QString,    5,    6,    8,    9,   10,
    0x80000000 | 12,
    0x80000000 | 2,
    0x80000000 | 15,
    0x80000000 | 17,
    QMetaType::QObjectStar, QMetaType::QString,   19,

       0        // eod
};

void KTextEditorIntegration::MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MainWindow *_t = static_cast<MainWindow *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { QWidget* _r = _t->createToolView((*reinterpret_cast< KTextEditor::Plugin*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< KTextEditor::MainWindow::ToolViewPosition(*)>(_a[3])),(*reinterpret_cast< const QIcon(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< QWidget**>(_a[0]) = _r; }  break;
        case 1: { KXMLGUIFactory* _r = _t->guiFactory();
            if (_a[0]) *reinterpret_cast< KXMLGUIFactory**>(_a[0]) = _r; }  break;
        case 2: { QWidget* _r = _t->window();
            if (_a[0]) *reinterpret_cast< QWidget**>(_a[0]) = _r; }  break;
        case 3: { QList<KTextEditor::View*> _r = _t->views();
            if (_a[0]) *reinterpret_cast< QList<KTextEditor::View*>*>(_a[0]) = _r; }  break;
        case 4: { KTextEditor::View* _r = _t->activeView();
            if (_a[0]) *reinterpret_cast< KTextEditor::View**>(_a[0]) = _r; }  break;
        case 5: { QObject* _r = _t->pluginView((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Plugin* >(); break;
            }
            break;
        }
    }
}

const QMetaObject KTextEditorIntegration::MainWindow::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KTextEditorIntegration__MainWindow.data,
      qt_meta_data_KTextEditorIntegration__MainWindow,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KTextEditorIntegration::MainWindow::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 < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    return _id;
}
struct qt_meta_stringdata_KTextEditorIntegration__Plugin_t {
    QByteArrayData data[1];
    char stringdata0[31];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KTextEditorIntegration__Plugin_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KTextEditorIntegration__Plugin_t qt_meta_stringdata_KTextEditorIntegration__Plugin = {
    {
QT_MOC_LITERAL(0, 0, 30) // "KTextEditorIntegration::Plugin"

    },
    "KTextEditorIntegration::Plugin"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KTextEditorIntegration__Plugin[] = {

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

       0        // eod
};

void KTextEditorIntegration::Plugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KTextEditorIntegration::Plugin::staticMetaObject = {
    { &KDevelop::IPlugin::staticMetaObject, qt_meta_stringdata_KTextEditorIntegration__Plugin.data,
      qt_meta_data_KTextEditorIntegration__Plugin,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KTextEditorIntegration::Plugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KDevelop::IPlugin::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
QT_END_MOC_NAMESPACE
