/****************************************************************************
** Meta object code from reading C++ file 'contextbrowser.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/plugins/contextbrowser/contextbrowser.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'contextbrowser.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_ContextBrowserPlugin_t {
    QByteArrayData data[58];
    char stringdata0[871];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ContextBrowserPlugin_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ContextBrowserPlugin_t qt_meta_stringdata_ContextBrowserPlugin = {
    {
QT_MOC_LITERAL(0, 0, 20), // "ContextBrowserPlugin"
QT_MOC_LITERAL(1, 21, 15), // "showUsesDelayed"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 28), // "KDevelop::DeclarationPointer"
QT_MOC_LITERAL(4, 67, 11), // "declaration"
QT_MOC_LITERAL(5, 79, 23), // "previousContextShortcut"
QT_MOC_LITERAL(6, 103, 19), // "nextContextShortcut"
QT_MOC_LITERAL(7, 123, 20), // "startDelayedBrowsing"
QT_MOC_LITERAL(8, 144, 18), // "KTextEditor::View*"
QT_MOC_LITERAL(9, 163, 4), // "view"
QT_MOC_LITERAL(10, 168, 19), // "stopDelayedBrowsing"
QT_MOC_LITERAL(11, 188, 12), // "invokeAction"
QT_MOC_LITERAL(12, 201, 5), // "index"
QT_MOC_LITERAL(13, 207, 19), // "previousUseShortcut"
QT_MOC_LITERAL(14, 227, 15), // "nextUseShortcut"
QT_MOC_LITERAL(15, 243, 23), // "declarationSelectedInUI"
QT_MOC_LITERAL(16, 267, 4), // "decl"
QT_MOC_LITERAL(17, 272, 11), // "updateReady"
QT_MOC_LITERAL(18, 284, 23), // "KDevelop::IndexedString"
QT_MOC_LITERAL(19, 308, 3), // "url"
QT_MOC_LITERAL(20, 312, 32), // "KDevelop::ReferencedTopDUContext"
QT_MOC_LITERAL(21, 345, 10), // "topContext"
QT_MOC_LITERAL(22, 356, 19), // "textDocumentCreated"
QT_MOC_LITERAL(23, 376, 20), // "KDevelop::IDocument*"
QT_MOC_LITERAL(24, 397, 8), // "document"
QT_MOC_LITERAL(25, 406, 17), // "documentActivated"
QT_MOC_LITERAL(26, 424, 13), // "viewDestroyed"
QT_MOC_LITERAL(27, 438, 3), // "obj"
QT_MOC_LITERAL(28, 442, 21), // "cursorPositionChanged"
QT_MOC_LITERAL(29, 464, 19), // "KTextEditor::Cursor"
QT_MOC_LITERAL(30, 484, 11), // "newPosition"
QT_MOC_LITERAL(31, 496, 11), // "viewCreated"
QT_MOC_LITERAL(32, 508, 22), // "KTextEditor::Document*"
QT_MOC_LITERAL(33, 531, 11), // "updateViews"
QT_MOC_LITERAL(34, 543, 11), // "hideToolTip"
QT_MOC_LITERAL(35, 555, 8), // "findUses"
QT_MOC_LITERAL(36, 564, 12), // "textInserted"
QT_MOC_LITERAL(37, 577, 3), // "doc"
QT_MOC_LITERAL(38, 581, 6), // "cursor"
QT_MOC_LITERAL(39, 588, 4), // "text"
QT_MOC_LITERAL(40, 593, 16), // "selectionChanged"
QT_MOC_LITERAL(41, 610, 11), // "historyNext"
QT_MOC_LITERAL(42, 622, 15), // "historyPrevious"
QT_MOC_LITERAL(43, 638, 17), // "colorSetupChanged"
QT_MOC_LITERAL(44, 656, 21), // "documentJumpPerformed"
QT_MOC_LITERAL(45, 678, 11), // "newDocument"
QT_MOC_LITERAL(46, 690, 9), // "newCursor"
QT_MOC_LITERAL(47, 700, 16), // "previousDocument"
QT_MOC_LITERAL(48, 717, 14), // "previousCursor"
QT_MOC_LITERAL(49, 732, 19), // "nextMenuAboutToShow"
QT_MOC_LITERAL(50, 752, 23), // "previousMenuAboutToShow"
QT_MOC_LITERAL(51, 776, 15), // "actionTriggered"
QT_MOC_LITERAL(52, 792, 12), // "navigateLeft"
QT_MOC_LITERAL(53, 805, 13), // "navigateRight"
QT_MOC_LITERAL(54, 819, 10), // "navigateUp"
QT_MOC_LITERAL(55, 830, 12), // "navigateDown"
QT_MOC_LITERAL(56, 843, 14), // "navigateAccept"
QT_MOC_LITERAL(57, 858, 12) // "navigateBack"

    },
    "ContextBrowserPlugin\0showUsesDelayed\0"
    "\0KDevelop::DeclarationPointer\0declaration\0"
    "previousContextShortcut\0nextContextShortcut\0"
    "startDelayedBrowsing\0KTextEditor::View*\0"
    "view\0stopDelayedBrowsing\0invokeAction\0"
    "index\0previousUseShortcut\0nextUseShortcut\0"
    "declarationSelectedInUI\0decl\0updateReady\0"
    "KDevelop::IndexedString\0url\0"
    "KDevelop::ReferencedTopDUContext\0"
    "topContext\0textDocumentCreated\0"
    "KDevelop::IDocument*\0document\0"
    "documentActivated\0viewDestroyed\0obj\0"
    "cursorPositionChanged\0KTextEditor::Cursor\0"
    "newPosition\0viewCreated\0KTextEditor::Document*\0"
    "updateViews\0hideToolTip\0findUses\0"
    "textInserted\0doc\0cursor\0text\0"
    "selectionChanged\0historyNext\0"
    "historyPrevious\0colorSetupChanged\0"
    "documentJumpPerformed\0newDocument\0"
    "newCursor\0previousDocument\0previousCursor\0"
    "nextMenuAboutToShow\0previousMenuAboutToShow\0"
    "actionTriggered\0navigateLeft\0navigateRight\0"
    "navigateUp\0navigateDown\0navigateAccept\0"
    "navigateBack"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ContextBrowserPlugin[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,  179,    2, 0x0a /* Public */,
       5,    0,  182,    2, 0x0a /* Public */,
       6,    0,  183,    2, 0x0a /* Public */,
       7,    1,  184,    2, 0x0a /* Public */,
      10,    0,  187,    2, 0x0a /* Public */,
      11,    1,  188,    2, 0x0a /* Public */,
      13,    0,  191,    2, 0x0a /* Public */,
      14,    0,  192,    2, 0x0a /* Public */,
      15,    1,  193,    2, 0x0a /* Public */,
      17,    2,  196,    2, 0x0a /* Public */,
      22,    1,  201,    2, 0x0a /* Public */,
      25,    1,  204,    2, 0x0a /* Public */,
      26,    1,  207,    2, 0x0a /* Public */,
      28,    2,  210,    2, 0x0a /* Public */,
      31,    2,  215,    2, 0x0a /* Public */,
      33,    0,  220,    2, 0x0a /* Public */,
      34,    0,  221,    2, 0x0a /* Public */,
      35,    0,  222,    2, 0x0a /* Public */,
      36,    3,  223,    2, 0x0a /* Public */,
      40,    1,  230,    2, 0x0a /* Public */,
      41,    0,  233,    2, 0x0a /* Public */,
      42,    0,  234,    2, 0x0a /* Public */,
      43,    0,  235,    2, 0x0a /* Public */,
      44,    4,  236,    2, 0x08 /* Private */,
      49,    0,  245,    2, 0x08 /* Private */,
      50,    0,  246,    2, 0x08 /* Private */,
      51,    0,  247,    2, 0x08 /* Private */,
      52,    0,  248,    2, 0x08 /* Private */,
      53,    0,  249,    2, 0x08 /* Private */,
      54,    0,  250,    2, 0x08 /* Private */,
      55,    0,  251,    2, 0x08 /* Private */,
      56,    0,  252,    2, 0x08 /* Private */,
      57,    0,  253,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,   16,
    QMetaType::Void, 0x80000000 | 18, 0x80000000 | 20,   19,   21,
    QMetaType::Void, 0x80000000 | 23,   24,
    QMetaType::Void, 0x80000000 | 23,    2,
    QMetaType::Void, QMetaType::QObjectStar,   27,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 29,    9,   30,
    QMetaType::Void, 0x80000000 | 32, 0x80000000 | 8,    2,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 32, 0x80000000 | 29, QMetaType::QString,   37,   38,   39,
    QMetaType::Void, 0x80000000 | 8,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 23, 0x80000000 | 29, 0x80000000 | 23, 0x80000000 | 29,   45,   46,   47,   48,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void ContextBrowserPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ContextBrowserPlugin *_t = static_cast<ContextBrowserPlugin *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->showUsesDelayed((*reinterpret_cast< const KDevelop::DeclarationPointer(*)>(_a[1]))); break;
        case 1: _t->previousContextShortcut(); break;
        case 2: _t->nextContextShortcut(); break;
        case 3: _t->startDelayedBrowsing((*reinterpret_cast< KTextEditor::View*(*)>(_a[1]))); break;
        case 4: _t->stopDelayedBrowsing(); break;
        case 5: _t->invokeAction((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->previousUseShortcut(); break;
        case 7: _t->nextUseShortcut(); break;
        case 8: _t->declarationSelectedInUI((*reinterpret_cast< const KDevelop::DeclarationPointer(*)>(_a[1]))); break;
        case 9: _t->updateReady((*reinterpret_cast< const KDevelop::IndexedString(*)>(_a[1])),(*reinterpret_cast< const KDevelop::ReferencedTopDUContext(*)>(_a[2]))); break;
        case 10: _t->textDocumentCreated((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 11: _t->documentActivated((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 12: _t->viewDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 13: _t->cursorPositionChanged((*reinterpret_cast< KTextEditor::View*(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Cursor(*)>(_a[2]))); break;
        case 14: _t->viewCreated((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1])),(*reinterpret_cast< KTextEditor::View*(*)>(_a[2]))); break;
        case 15: _t->updateViews(); break;
        case 16: _t->hideToolTip(); break;
        case 17: _t->findUses(); break;
        case 18: _t->textInserted((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Cursor(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 19: _t->selectionChanged((*reinterpret_cast< KTextEditor::View*(*)>(_a[1]))); break;
        case 20: _t->historyNext(); break;
        case 21: _t->historyPrevious(); break;
        case 22: _t->colorSetupChanged(); break;
        case 23: _t->documentJumpPerformed((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Cursor(*)>(_a[2])),(*reinterpret_cast< KDevelop::IDocument*(*)>(_a[3])),(*reinterpret_cast< const KTextEditor::Cursor(*)>(_a[4]))); break;
        case 24: _t->nextMenuAboutToShow(); break;
        case 25: _t->previousMenuAboutToShow(); break;
        case 26: _t->actionTriggered(); break;
        case 27: _t->navigateLeft(); break;
        case 28: _t->navigateRight(); break;
        case 29: _t->navigateUp(); break;
        case 30: _t->navigateDown(); break;
        case 31: _t->navigateAccept(); break;
        case 32: _t->navigateBack(); 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< KDevelop::DeclarationPointer >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KDevelop::DeclarationPointer >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KDevelop::IndexedString >(); 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 18:
            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 23:
            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;
        }
    }
}

const QMetaObject ContextBrowserPlugin::staticMetaObject = {
    { &KDevelop::IPlugin::staticMetaObject, qt_meta_stringdata_ContextBrowserPlugin.data,
      qt_meta_data_ContextBrowserPlugin,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *ContextBrowserPlugin::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_ContextBrowserPlugin.stringdata0))
        return static_cast<void*>(const_cast< ContextBrowserPlugin*>(this));
    if (!strcmp(_clname, "KDevelop::IContextBrowser"))
        return static_cast< KDevelop::IContextBrowser*>(const_cast< ContextBrowserPlugin*>(this));
    if (!strcmp(_clname, "org.kdevelop.IContextBrowser"))
        return static_cast< KDevelop::IContextBrowser*>(const_cast< ContextBrowserPlugin*>(this));
    return KDevelop::IPlugin::qt_metacast(_clname);
}

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