/****************************************************************************
** Meta object code from reading C++ file 'idocumentcontroller.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/idocumentcontroller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'idocumentcontroller.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__IDocumentController_t {
    QByteArrayData data[53];
    char stringdata0[844];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__IDocumentController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__IDocumentController_t qt_meta_stringdata_KDevelop__IDocumentController = {
    {
QT_MOC_LITERAL(0, 0, 29), // "KDevelop::IDocumentController"
QT_MOC_LITERAL(1, 30, 17), // "documentActivated"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 20), // "KDevelop::IDocument*"
QT_MOC_LITERAL(4, 70, 8), // "document"
QT_MOC_LITERAL(5, 79, 21), // "documentJumpPerformed"
QT_MOC_LITERAL(6, 101, 11), // "newDocument"
QT_MOC_LITERAL(7, 113, 19), // "KTextEditor::Cursor"
QT_MOC_LITERAL(8, 133, 9), // "newCursor"
QT_MOC_LITERAL(9, 143, 16), // "previousDocument"
QT_MOC_LITERAL(10, 160, 14), // "previousCursor"
QT_MOC_LITERAL(11, 175, 13), // "documentSaved"
QT_MOC_LITERAL(12, 189, 14), // "documentOpened"
QT_MOC_LITERAL(13, 204, 14), // "documentLoaded"
QT_MOC_LITERAL(14, 219, 19), // "textDocumentCreated"
QT_MOC_LITERAL(15, 239, 14), // "documentClosed"
QT_MOC_LITERAL(16, 254, 20), // "documentStateChanged"
QT_MOC_LITERAL(17, 275, 22), // "documentContentChanged"
QT_MOC_LITERAL(18, 298, 21), // "documentLoadedPrepare"
QT_MOC_LITERAL(19, 320, 18), // "documentUrlChanged"
QT_MOC_LITERAL(20, 339, 12), // "openDocument"
QT_MOC_LITERAL(21, 352, 3), // "url"
QT_MOC_LITERAL(22, 356, 6), // "cursor"
QT_MOC_LITERAL(23, 363, 24), // "DocumentActivationParams"
QT_MOC_LITERAL(24, 388, 16), // "activationParams"
QT_MOC_LITERAL(25, 405, 8), // "encoding"
QT_MOC_LITERAL(26, 414, 18), // "KTextEditor::Range"
QT_MOC_LITERAL(27, 433, 5), // "range"
QT_MOC_LITERAL(28, 439, 10), // "IDocument*"
QT_MOC_LITERAL(29, 450, 5), // "buddy"
QT_MOC_LITERAL(30, 456, 3), // "doc"
QT_MOC_LITERAL(31, 460, 8), // "prefName"
QT_MOC_LITERAL(32, 469, 17), // "closeAllDocuments"
QT_MOC_LITERAL(33, 487, 14), // "documentForUrl"
QT_MOC_LITERAL(34, 502, 13), // "openDocuments"
QT_MOC_LITERAL(35, 516, 27), // "QList<KDevelop::IDocument*>"
QT_MOC_LITERAL(36, 544, 14), // "activeDocument"
QT_MOC_LITERAL(37, 559, 16), // "activateDocument"
QT_MOC_LITERAL(38, 576, 16), // "saveAllDocuments"
QT_MOC_LITERAL(39, 593, 37), // "KDevelop::IDocument::Document..."
QT_MOC_LITERAL(40, 631, 4), // "mode"
QT_MOC_LITERAL(41, 636, 17), // "saveSomeDocuments"
QT_MOC_LITERAL(42, 654, 17), // "QList<IDocument*>"
QT_MOC_LITERAL(43, 672, 4), // "list"
QT_MOC_LITERAL(44, 677, 25), // "saveAllDocumentsForWindow"
QT_MOC_LITERAL(45, 703, 19), // "KParts::MainWindow*"
QT_MOC_LITERAL(46, 723, 2), // "mw"
QT_MOC_LITERAL(47, 726, 27), // "IDocument::DocumentSaveMode"
QT_MOC_LITERAL(48, 754, 15), // "currentAreaOnly"
QT_MOC_LITERAL(49, 770, 20), // "openDocumentFromText"
QT_MOC_LITERAL(50, 791, 4), // "data"
QT_MOC_LITERAL(51, 796, 24), // "globalTextEditorInstance"
QT_MOC_LITERAL(52, 821, 22) // "KTextEditor::Document*"

    },
    "KDevelop::IDocumentController\0"
    "documentActivated\0\0KDevelop::IDocument*\0"
    "document\0documentJumpPerformed\0"
    "newDocument\0KTextEditor::Cursor\0"
    "newCursor\0previousDocument\0previousCursor\0"
    "documentSaved\0documentOpened\0"
    "documentLoaded\0textDocumentCreated\0"
    "documentClosed\0documentStateChanged\0"
    "documentContentChanged\0documentLoadedPrepare\0"
    "documentUrlChanged\0openDocument\0url\0"
    "cursor\0DocumentActivationParams\0"
    "activationParams\0encoding\0KTextEditor::Range\0"
    "range\0IDocument*\0buddy\0doc\0prefName\0"
    "closeAllDocuments\0documentForUrl\0"
    "openDocuments\0QList<KDevelop::IDocument*>\0"
    "activeDocument\0activateDocument\0"
    "saveAllDocuments\0KDevelop::IDocument::DocumentSaveMode\0"
    "mode\0saveSomeDocuments\0QList<IDocument*>\0"
    "list\0saveAllDocumentsForWindow\0"
    "KParts::MainWindow*\0mw\0"
    "IDocument::DocumentSaveMode\0currentAreaOnly\0"
    "openDocumentFromText\0data\0"
    "globalTextEditorInstance\0"
    "KTextEditor::Document*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__IDocumentController[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  204,    2, 0x06 /* Public */,
       5,    4,  207,    2, 0x06 /* Public */,
      11,    1,  216,    2, 0x06 /* Public */,
      12,    1,  219,    2, 0x06 /* Public */,
      13,    1,  222,    2, 0x06 /* Public */,
      14,    1,  225,    2, 0x06 /* Public */,
      15,    1,  228,    2, 0x06 /* Public */,
      16,    1,  231,    2, 0x06 /* Public */,
      17,    1,  234,    2, 0x06 /* Public */,
      18,    1,  237,    2, 0x06 /* Public */,
      19,    1,  240,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      20,    4,  243,    2, 0x0a /* Public */,
      20,    3,  252,    2, 0x2a /* Public | MethodCloned */,
      20,    2,  259,    2, 0x2a /* Public | MethodCloned */,
      20,    5,  264,    2, 0x0a /* Public */,
      20,    4,  275,    2, 0x2a /* Public | MethodCloned */,
      20,    3,  284,    2, 0x2a /* Public | MethodCloned */,
      20,    2,  291,    2, 0x2a /* Public | MethodCloned */,
      20,    1,  296,    2, 0x2a /* Public | MethodCloned */,
      20,    4,  299,    2, 0x4a /* Public | isScriptable */,
      20,    3,  308,    2, 0x6a /* Public | MethodCloned | isScriptable */,
      20,    2,  315,    2, 0x6a /* Public | MethodCloned | isScriptable */,
      20,    1,  320,    2, 0x6a /* Public | MethodCloned | isScriptable */,
      20,    2,  323,    2, 0x0a /* Public */,
      32,    0,  328,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
      33,    1,  329,    2, 0x42 /* Public | isScriptable */,
      34,    0,  332,    2, 0x42 /* Public | isScriptable */,
      36,    0,  333,    2, 0x42 /* Public | isScriptable */,
      37,    2,  334,    2, 0x42 /* Public | isScriptable */,
      37,    1,  339,    2, 0x62 /* Public | MethodCloned | isScriptable */,
      38,    1,  342,    2, 0x42 /* Public | isScriptable */,
      38,    0,  345,    2, 0x62 /* Public | MethodCloned | isScriptable */,
      41,    2,  346,    2, 0x42 /* Public | isScriptable */,
      41,    1,  351,    2, 0x62 /* Public | MethodCloned | isScriptable */,
      44,    3,  354,    2, 0x42 /* Public | isScriptable */,
      44,    2,  361,    2, 0x62 /* Public | MethodCloned | isScriptable */,
      49,    1,  366,    2, 0x42 /* Public | isScriptable */,
      51,    0,  369,    2, 0x42 /* Public | isScriptable */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 7, 0x80000000 | 3, 0x80000000 | 7,    6,    8,    9,   10,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    0x80000000 | 3, QMetaType::QUrl, 0x80000000 | 7, 0x80000000 | 23, QMetaType::QString,   21,   22,   24,   25,
    0x80000000 | 3, QMetaType::QUrl, 0x80000000 | 7, 0x80000000 | 23,   21,   22,   24,
    0x80000000 | 3, QMetaType::QUrl, 0x80000000 | 7,   21,   22,
    0x80000000 | 3, QMetaType::QUrl, 0x80000000 | 26, 0x80000000 | 23, QMetaType::QString, 0x80000000 | 28,   21,   27,   24,   25,   29,
    0x80000000 | 3, QMetaType::QUrl, 0x80000000 | 26, 0x80000000 | 23, QMetaType::QString,   21,   27,   24,   25,
    0x80000000 | 3, QMetaType::QUrl, 0x80000000 | 26, 0x80000000 | 23,   21,   27,   24,
    0x80000000 | 3, QMetaType::QUrl, 0x80000000 | 26,   21,   27,
    0x80000000 | 3, QMetaType::QUrl,   21,
    QMetaType::Bool, 0x80000000 | 28, 0x80000000 | 26, 0x80000000 | 23, 0x80000000 | 28,   30,   27,   24,   29,
    QMetaType::Bool, 0x80000000 | 28, 0x80000000 | 26, 0x80000000 | 23,   30,   27,   24,
    QMetaType::Bool, 0x80000000 | 28, 0x80000000 | 26,   30,   27,
    QMetaType::Bool, 0x80000000 | 28,   30,
    0x80000000 | 3, QMetaType::QUrl, QMetaType::QString,   21,   31,
    QMetaType::Bool,

 // methods: parameters
    0x80000000 | 3, QMetaType::QUrl,   21,
    0x80000000 | 35,
    0x80000000 | 3,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 26,    4,   27,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Bool, 0x80000000 | 39,   40,
    QMetaType::Bool,
    QMetaType::Bool, 0x80000000 | 42, 0x80000000 | 39,   43,   40,
    QMetaType::Bool, 0x80000000 | 42,   43,
    QMetaType::Bool, 0x80000000 | 45, 0x80000000 | 47, QMetaType::Bool,   46,   40,   48,
    QMetaType::Bool, 0x80000000 | 45, 0x80000000 | 47,   46,   40,
    0x80000000 | 3, QMetaType::QString,   50,
    0x80000000 | 52,

       0        // eod
};

void KDevelop::IDocumentController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        IDocumentController *_t = static_cast<IDocumentController *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->documentActivated((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 1: _t->documentJumpPerformed((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1])),(*reinterpret_cast< KTextEditor::Cursor(*)>(_a[2])),(*reinterpret_cast< KDevelop::IDocument*(*)>(_a[3])),(*reinterpret_cast< KTextEditor::Cursor(*)>(_a[4]))); break;
        case 2: _t->documentSaved((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 3: _t->documentOpened((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 4: _t->documentLoaded((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 5: _t->textDocumentCreated((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 6: _t->documentClosed((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 7: _t->documentStateChanged((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 8: _t->documentContentChanged((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 9: _t->documentLoadedPrepare((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 10: _t->documentUrlChanged((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 11: { KDevelop::IDocument* _r = _t->openDocument((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Cursor(*)>(_a[2])),(*reinterpret_cast< DocumentActivationParams(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< KDevelop::IDocument**>(_a[0]) = _r; }  break;
        case 12: { KDevelop::IDocument* _r = _t->openDocument((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Cursor(*)>(_a[2])),(*reinterpret_cast< DocumentActivationParams(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< KDevelop::IDocument**>(_a[0]) = _r; }  break;
        case 13: { KDevelop::IDocument* _r = _t->openDocument((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Cursor(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< KDevelop::IDocument**>(_a[0]) = _r; }  break;
        case 14: { KDevelop::IDocument* _r = _t->openDocument((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Range(*)>(_a[2])),(*reinterpret_cast< DocumentActivationParams(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< IDocument*(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< KDevelop::IDocument**>(_a[0]) = _r; }  break;
        case 15: { KDevelop::IDocument* _r = _t->openDocument((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Range(*)>(_a[2])),(*reinterpret_cast< DocumentActivationParams(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< KDevelop::IDocument**>(_a[0]) = _r; }  break;
        case 16: { KDevelop::IDocument* _r = _t->openDocument((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Range(*)>(_a[2])),(*reinterpret_cast< DocumentActivationParams(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< KDevelop::IDocument**>(_a[0]) = _r; }  break;
        case 17: { KDevelop::IDocument* _r = _t->openDocument((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Range(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< KDevelop::IDocument**>(_a[0]) = _r; }  break;
        case 18: { KDevelop::IDocument* _r = _t->openDocument((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< KDevelop::IDocument**>(_a[0]) = _r; }  break;
        case 19: { bool _r = _t->openDocument((*reinterpret_cast< IDocument*(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Range(*)>(_a[2])),(*reinterpret_cast< DocumentActivationParams(*)>(_a[3])),(*reinterpret_cast< IDocument*(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 20: { bool _r = _t->openDocument((*reinterpret_cast< IDocument*(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Range(*)>(_a[2])),(*reinterpret_cast< DocumentActivationParams(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 21: { bool _r = _t->openDocument((*reinterpret_cast< IDocument*(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Range(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 22: { bool _r = _t->openDocument((*reinterpret_cast< IDocument*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 23: { KDevelop::IDocument* _r = _t->openDocument((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< KDevelop::IDocument**>(_a[0]) = _r; }  break;
        case 24: { bool _r = _t->closeAllDocuments();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 25: { KDevelop::IDocument* _r = _t->documentForUrl((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< KDevelop::IDocument**>(_a[0]) = _r; }  break;
        case 26: { QList<KDevelop::IDocument*> _r = _t->openDocuments();
            if (_a[0]) *reinterpret_cast< QList<KDevelop::IDocument*>*>(_a[0]) = _r; }  break;
        case 27: { KDevelop::IDocument* _r = _t->activeDocument();
            if (_a[0]) *reinterpret_cast< KDevelop::IDocument**>(_a[0]) = _r; }  break;
        case 28: _t->activateDocument((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Range(*)>(_a[2]))); break;
        case 29: _t->activateDocument((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 30: { bool _r = _t->saveAllDocuments((*reinterpret_cast< KDevelop::IDocument::DocumentSaveMode(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 31: { bool _r = _t->saveAllDocuments();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 32: { bool _r = _t->saveSomeDocuments((*reinterpret_cast< const QList<IDocument*>(*)>(_a[1])),(*reinterpret_cast< KDevelop::IDocument::DocumentSaveMode(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 33: { bool _r = _t->saveSomeDocuments((*reinterpret_cast< const QList<IDocument*>(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 34: { bool _r = _t->saveAllDocumentsForWindow((*reinterpret_cast< KParts::MainWindow*(*)>(_a[1])),(*reinterpret_cast< IDocument::DocumentSaveMode(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 35: { bool _r = _t->saveAllDocumentsForWindow((*reinterpret_cast< KParts::MainWindow*(*)>(_a[1])),(*reinterpret_cast< IDocument::DocumentSaveMode(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 36: { KDevelop::IDocument* _r = _t->openDocumentFromText((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< KDevelop::IDocument**>(_a[0]) = _r; }  break;
        case 37: { KTextEditor::Document* _r = _t->globalTextEditorInstance();
            if (_a[0]) *reinterpret_cast< KTextEditor::Document**>(_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 3:
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Cursor >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Cursor >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Cursor >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Cursor >(); break;
            }
            break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Range >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Range >(); break;
            }
            break;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Range >(); break;
            }
            break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Range >(); break;
            }
            break;
        case 19:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Range >(); break;
            }
            break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Range >(); break;
            }
            break;
        case 21:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Range >(); break;
            }
            break;
        case 28:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Range >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (IDocumentController::*_t)(KDevelop::IDocument * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IDocumentController::documentActivated)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (IDocumentController::*_t)(KDevelop::IDocument * , KTextEditor::Cursor , KDevelop::IDocument * , KTextEditor::Cursor );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IDocumentController::documentJumpPerformed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (IDocumentController::*_t)(KDevelop::IDocument * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IDocumentController::documentSaved)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (IDocumentController::*_t)(KDevelop::IDocument * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IDocumentController::documentOpened)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (IDocumentController::*_t)(KDevelop::IDocument * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IDocumentController::documentLoaded)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (IDocumentController::*_t)(KDevelop::IDocument * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IDocumentController::textDocumentCreated)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (IDocumentController::*_t)(KDevelop::IDocument * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IDocumentController::documentClosed)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (IDocumentController::*_t)(KDevelop::IDocument * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IDocumentController::documentStateChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (IDocumentController::*_t)(KDevelop::IDocument * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IDocumentController::documentContentChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (IDocumentController::*_t)(KDevelop::IDocument * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IDocumentController::documentLoadedPrepare)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (IDocumentController::*_t)(KDevelop::IDocument * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IDocumentController::documentUrlChanged)) {
                *result = 10;
                return;
            }
        }
    }
}

const QMetaObject KDevelop::IDocumentController::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KDevelop__IDocumentController.data,
      qt_meta_data_KDevelop__IDocumentController,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

// SIGNAL 1
void KDevelop::IDocumentController::documentJumpPerformed(KDevelop::IDocument * _t1, KTextEditor::Cursor _t2, KDevelop::IDocument * _t3, KTextEditor::Cursor _t4)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

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

// SIGNAL 4
void KDevelop::IDocumentController::documentLoaded(KDevelop::IDocument * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KDevelop::IDocumentController::textDocumentCreated(KDevelop::IDocument * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KDevelop::IDocumentController::documentClosed(KDevelop::IDocument * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void KDevelop::IDocumentController::documentStateChanged(KDevelop::IDocument * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void KDevelop::IDocumentController::documentContentChanged(KDevelop::IDocument * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void KDevelop::IDocumentController::documentLoadedPrepare(KDevelop::IDocument * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void KDevelop::IDocumentController::documentUrlChanged(KDevelop::IDocument * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}
QT_END_MOC_NAMESPACE
