/****************************************************************************
** Meta object code from reading C++ file 'documentcontroller.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/documentcontroller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'documentcontroller.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__DocumentController_t {
    QByteArrayData data[41];
    char stringdata0[619];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__DocumentController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__DocumentController_t qt_meta_stringdata_KDevelop__DocumentController = {
    {
QT_MOC_LITERAL(0, 0, 28), // "KDevelop::DocumentController"
QT_MOC_LITERAL(1, 29, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 45, 31), // "org.kdevelop.DocumentController"
QT_MOC_LITERAL(3, 77, 12), // "openDocument"
QT_MOC_LITERAL(4, 90, 10), // "IDocument*"
QT_MOC_LITERAL(5, 101, 0), // ""
QT_MOC_LITERAL(6, 102, 3), // "url"
QT_MOC_LITERAL(7, 106, 18), // "KTextEditor::Range"
QT_MOC_LITERAL(8, 125, 5), // "range"
QT_MOC_LITERAL(9, 131, 24), // "DocumentActivationParams"
QT_MOC_LITERAL(10, 156, 16), // "activationParams"
QT_MOC_LITERAL(11, 173, 8), // "encoding"
QT_MOC_LITERAL(12, 182, 5), // "buddy"
QT_MOC_LITERAL(13, 188, 20), // "openDocumentFromText"
QT_MOC_LITERAL(14, 209, 4), // "data"
QT_MOC_LITERAL(15, 214, 20), // "KDevelop::IDocument*"
QT_MOC_LITERAL(16, 235, 8), // "prefName"
QT_MOC_LITERAL(17, 244, 13), // "closeDocument"
QT_MOC_LITERAL(18, 258, 9), // "fileClose"
QT_MOC_LITERAL(19, 268, 20), // "slotSaveAllDocuments"
QT_MOC_LITERAL(20, 289, 17), // "closeAllDocuments"
QT_MOC_LITERAL(21, 307, 22), // "closeAllOtherDocuments"
QT_MOC_LITERAL(22, 330, 18), // "reloadAllDocuments"
QT_MOC_LITERAL(23, 349, 18), // "openDocumentSimple"
QT_MOC_LITERAL(24, 368, 4), // "line"
QT_MOC_LITERAL(25, 373, 6), // "column"
QT_MOC_LITERAL(26, 380, 19), // "openDocumentsSimple"
QT_MOC_LITERAL(27, 400, 4), // "urls"
QT_MOC_LITERAL(28, 405, 26), // "openDocumentFromTextSimple"
QT_MOC_LITERAL(29, 432, 4), // "text"
QT_MOC_LITERAL(30, 437, 18), // "activeDocumentPath"
QT_MOC_LITERAL(31, 456, 6), // "target"
QT_MOC_LITERAL(32, 463, 19), // "activeDocumentPaths"
QT_MOC_LITERAL(33, 483, 26), // "vcsAnnotateCurrentDocument"
QT_MOC_LITERAL(34, 510, 16), // "slotOpenDocument"
QT_MOC_LITERAL(35, 527, 20), // "notifyDocumentClosed"
QT_MOC_LITERAL(36, 548, 18), // "Sublime::Document*"
QT_MOC_LITERAL(37, 567, 3), // "doc"
QT_MOC_LITERAL(38, 571, 14), // "removeDocument"
QT_MOC_LITERAL(39, 586, 14), // "chooseDocument"
QT_MOC_LITERAL(40, 601, 17) // "changeDocumentUrl"

    },
    "KDevelop::DocumentController\0"
    "D-Bus Interface\0org.kdevelop.DocumentController\0"
    "openDocument\0IDocument*\0\0url\0"
    "KTextEditor::Range\0range\0"
    "DocumentActivationParams\0activationParams\0"
    "encoding\0buddy\0openDocumentFromText\0"
    "data\0KDevelop::IDocument*\0prefName\0"
    "closeDocument\0fileClose\0slotSaveAllDocuments\0"
    "closeAllDocuments\0closeAllOtherDocuments\0"
    "reloadAllDocuments\0openDocumentSimple\0"
    "line\0column\0openDocumentsSimple\0urls\0"
    "openDocumentFromTextSimple\0text\0"
    "activeDocumentPath\0target\0activeDocumentPaths\0"
    "vcsAnnotateCurrentDocument\0slotOpenDocument\0"
    "notifyDocumentClosed\0Sublime::Document*\0"
    "doc\0removeDocument\0chooseDocument\0"
    "changeDocumentUrl"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__DocumentController[] = {

 // content:
       7,       // revision
       0,       // classname
       1,   14, // classinfo
      27,   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,    5,  151,    5, 0x4a /* Public | isScriptable */,
       3,    4,  162,    5, 0x6a /* Public | MethodCloned | isScriptable */,
       3,    3,  171,    5, 0x6a /* Public | MethodCloned | isScriptable */,
       3,    2,  178,    5, 0x6a /* Public | MethodCloned | isScriptable */,
       3,    1,  183,    5, 0x6a /* Public | MethodCloned | isScriptable */,
      13,    1,  186,    5, 0x4a /* Public | isScriptable */,
       3,    2,  189,    5, 0x0a /* Public */,
      17,    1,  194,    5, 0x0a /* Public */,
      18,    0,  197,    5, 0x0a /* Public */,
      19,    0,  198,    5, 0x0a /* Public */,
      20,    0,  199,    5, 0x0a /* Public */,
      21,    0,  200,    5, 0x0a /* Public */,
      22,    0,  201,    5, 0x0a /* Public */,
      23,    3,  202,    5, 0x4a /* Public | isScriptable */,
      23,    2,  209,    5, 0x6a /* Public | MethodCloned | isScriptable */,
      23,    1,  214,    5, 0x6a /* Public | MethodCloned | isScriptable */,
      26,    1,  217,    5, 0x4a /* Public | isScriptable */,
      28,    1,  220,    5, 0x4a /* Public | isScriptable */,
      30,    1,  223,    5, 0x4a /* Public | isScriptable */,
      30,    0,  226,    5, 0x6a /* Public | MethodCloned | isScriptable */,
      32,    0,  227,    5, 0x4a /* Public | isScriptable */,
      33,    0,  228,    5, 0x0a /* Public */,
      34,    1,  229,    5, 0x08 /* Private */,
      35,    1,  232,    5, 0x08 /* Private */,
      38,    1,  235,    5, 0x08 /* Private */,
      39,    0,  238,    5, 0x08 /* Private */,
      40,    1,  239,    5, 0x08 /* Private */,

 // slots: parameters
    0x80000000 | 4, QMetaType::QUrl, 0x80000000 | 7, 0x80000000 | 9, QMetaType::QString, 0x80000000 | 4,    6,    8,   10,   11,   12,
    0x80000000 | 4, QMetaType::QUrl, 0x80000000 | 7, 0x80000000 | 9, QMetaType::QString,    6,    8,   10,   11,
    0x80000000 | 4, QMetaType::QUrl, 0x80000000 | 7, 0x80000000 | 9,    6,    8,   10,
    0x80000000 | 4, QMetaType::QUrl, 0x80000000 | 7,    6,    8,
    0x80000000 | 4, QMetaType::QUrl,    6,
    0x80000000 | 4, QMetaType::QString,   14,
    0x80000000 | 15, QMetaType::QUrl, QMetaType::QString,    6,   16,
    QMetaType::Bool, QMetaType::QUrl,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool, QMetaType::QString, QMetaType::Int, QMetaType::Int,    6,   24,   25,
    QMetaType::Bool, QMetaType::QString, QMetaType::Int,    6,   24,
    QMetaType::Bool, QMetaType::QString,    6,
    QMetaType::Bool, QMetaType::QStringList,   27,
    QMetaType::Bool, QMetaType::QString,   29,
    QMetaType::QString, QMetaType::QString,   31,
    QMetaType::QString,
    QMetaType::QStringList,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,    6,
    QMetaType::Void, 0x80000000 | 36,   37,
    QMetaType::Void, 0x80000000 | 36,    5,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15,    5,

       0        // eod
};

void KDevelop::DocumentController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DocumentController *_t = static_cast<DocumentController *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { 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< IDocument**>(_a[0]) = _r; }  break;
        case 1: { 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< IDocument**>(_a[0]) = _r; }  break;
        case 2: { 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< IDocument**>(_a[0]) = _r; }  break;
        case 3: { IDocument* _r = _t->openDocument((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Range(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< IDocument**>(_a[0]) = _r; }  break;
        case 4: { IDocument* _r = _t->openDocument((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< IDocument**>(_a[0]) = _r; }  break;
        case 5: { IDocument* _r = _t->openDocumentFromText((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< IDocument**>(_a[0]) = _r; }  break;
        case 6: { 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 7: { bool _r = _t->closeDocument((*reinterpret_cast< const QUrl(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 8: _t->fileClose(); break;
        case 9: _t->slotSaveAllDocuments(); break;
        case 10: { bool _r = _t->closeAllDocuments();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 11: _t->closeAllOtherDocuments(); break;
        case 12: _t->reloadAllDocuments(); break;
        case 13: { bool _r = _t->openDocumentSimple((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 14: { bool _r = _t->openDocumentSimple((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 15: { bool _r = _t->openDocumentSimple((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 16: { bool _r = _t->openDocumentsSimple((*reinterpret_cast< QStringList(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 17: { bool _r = _t->openDocumentFromTextSimple((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 18: { QString _r = _t->activeDocumentPath((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 19: { QString _r = _t->activeDocumentPath();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 20: { QStringList _r = _t->activeDocumentPaths();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = _r; }  break;
        case 21: _t->vcsAnnotateCurrentDocument(); break;
        case 22: _t->slotOpenDocument((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 23: _t->notifyDocumentClosed((*reinterpret_cast< Sublime::Document*(*)>(_a[1]))); break;
        case 24: _t->d->removeDocument((*reinterpret_cast< Sublime::Document*(*)>(_a[1]))); break;
        case 25: _t->d->chooseDocument(); break;
        case 26: _t->d->changeDocumentUrl((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); 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 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Range >(); break;
            }
            break;
        case 1:
            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 2:
            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 3:
            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;
        }
    }
}

const QMetaObject KDevelop::DocumentController::staticMetaObject = {
    { &IDocumentController::staticMetaObject, qt_meta_stringdata_KDevelop__DocumentController.data,
      qt_meta_data_KDevelop__DocumentController,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KDevelop::DocumentController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = IDocumentController::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
