/****************************************************************************
** Meta object code from reading C++ file 'katecompletionwidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.4.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../src/ktexteditor-5.12.0/src/completion/katecompletionwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'katecompletionwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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_KateCompletionWidget_t {
    QByteArrayData data[41];
    char stringdata[523];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KateCompletionWidget_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KateCompletionWidget_t qt_meta_stringdata_KateCompletionWidget = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KateCompletionWidget"
QT_MOC_LITERAL(1, 21, 7), // "execute"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 10), // "cursorDown"
QT_MOC_LITERAL(4, 41, 8), // "cursorUp"
QT_MOC_LITERAL(5, 50, 17), // "waitForModelReset"
QT_MOC_LITERAL(6, 68, 15), // "abortCompletion"
QT_MOC_LITERAL(7, 84, 10), // "showConfig"
QT_MOC_LITERAL(8, 95, 18), // "updatePositionSlot"
QT_MOC_LITERAL(9, 114, 19), // "automaticInvocation"
QT_MOC_LITERAL(10, 134, 20), // "argumentHintsChanged"
QT_MOC_LITERAL(11, 155, 10), // "hasContent"
QT_MOC_LITERAL(12, 166, 10), // "navigateUp"
QT_MOC_LITERAL(13, 177, 12), // "navigateDown"
QT_MOC_LITERAL(14, 190, 12), // "navigateLeft"
QT_MOC_LITERAL(15, 203, 13), // "navigateRight"
QT_MOC_LITERAL(16, 217, 14), // "navigateAccept"
QT_MOC_LITERAL(17, 232, 12), // "navigateBack"
QT_MOC_LITERAL(18, 245, 13), // "hadNavigation"
QT_MOC_LITERAL(19, 259, 18), // "resetHadNavigation"
QT_MOC_LITERAL(20, 278, 20), // "completionModelReset"
QT_MOC_LITERAL(21, 299, 14), // "modelDestroyed"
QT_MOC_LITERAL(22, 314, 5), // "model"
QT_MOC_LITERAL(23, 320, 19), // "modelContentChanged"
QT_MOC_LITERAL(24, 340, 21), // "cursorPositionChanged"
QT_MOC_LITERAL(25, 362, 10), // "modelReset"
QT_MOC_LITERAL(26, 373, 12), // "rowsInserted"
QT_MOC_LITERAL(27, 386, 6), // "parent"
QT_MOC_LITERAL(28, 393, 3), // "row"
QT_MOC_LITERAL(29, 397, 6), // "rowEnd"
QT_MOC_LITERAL(30, 404, 12), // "viewFocusOut"
QT_MOC_LITERAL(31, 417, 8), // "wrapLine"
QT_MOC_LITERAL(32, 426, 19), // "KTextEditor::Cursor"
QT_MOC_LITERAL(33, 446, 8), // "position"
QT_MOC_LITERAL(34, 455, 10), // "unwrapLine"
QT_MOC_LITERAL(35, 466, 4), // "line"
QT_MOC_LITERAL(36, 471, 10), // "insertText"
QT_MOC_LITERAL(37, 482, 4), // "text"
QT_MOC_LITERAL(38, 487, 10), // "removeText"
QT_MOC_LITERAL(39, 498, 18), // "KTextEditor::Range"
QT_MOC_LITERAL(40, 517, 5) // "range"

    },
    "KateCompletionWidget\0execute\0\0cursorDown\0"
    "cursorUp\0waitForModelReset\0abortCompletion\0"
    "showConfig\0updatePositionSlot\0"
    "automaticInvocation\0argumentHintsChanged\0"
    "hasContent\0navigateUp\0navigateDown\0"
    "navigateLeft\0navigateRight\0navigateAccept\0"
    "navigateBack\0hadNavigation\0"
    "resetHadNavigation\0completionModelReset\0"
    "modelDestroyed\0model\0modelContentChanged\0"
    "cursorPositionChanged\0modelReset\0"
    "rowsInserted\0parent\0row\0rowEnd\0"
    "viewFocusOut\0wrapLine\0KTextEditor::Cursor\0"
    "position\0unwrapLine\0line\0insertText\0"
    "text\0removeText\0KTextEditor::Range\0"
    "range"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KateCompletionWidget[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  154,    2, 0x0a /* Public */,
       3,    0,  155,    2, 0x0a /* Public */,
       4,    0,  156,    2, 0x0a /* Public */,
       5,    0,  157,    2, 0x0a /* Public */,
       6,    0,  158,    2, 0x0a /* Public */,
       7,    0,  159,    2, 0x0a /* Public */,
       8,    0,  160,    2, 0x0a /* Public */,
       9,    0,  161,    2, 0x0a /* Public */,
      10,    1,  162,    2, 0x0a /* Public */,
      12,    0,  165,    2, 0x0a /* Public */,
      13,    0,  166,    2, 0x0a /* Public */,
      14,    0,  167,    2, 0x0a /* Public */,
      15,    0,  168,    2, 0x0a /* Public */,
      16,    0,  169,    2, 0x0a /* Public */,
      17,    0,  170,    2, 0x0a /* Public */,
      18,    0,  171,    2, 0x0a /* Public */,
      19,    0,  172,    2, 0x0a /* Public */,
      20,    0,  173,    2, 0x08 /* Private */,
      21,    1,  174,    2, 0x08 /* Private */,
      23,    0,  177,    2, 0x08 /* Private */,
      24,    0,  178,    2, 0x08 /* Private */,
      25,    0,  179,    2, 0x08 /* Private */,
      26,    3,  180,    2, 0x08 /* Private */,
      30,    0,  187,    2, 0x08 /* Private */,
      31,    1,  188,    2, 0x08 /* Private */,
      34,    1,  191,    2, 0x08 /* Private */,
      36,    2,  194,    2, 0x08 /* Private */,
      38,    1,  199,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QObjectStar,   22,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   27,   28,   29,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 32,   33,
    QMetaType::Void, QMetaType::Int,   35,
    QMetaType::Void, 0x80000000 | 32, QMetaType::QString,   33,   37,
    QMetaType::Void, 0x80000000 | 39,   40,

       0        // eod
};

void KateCompletionWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KateCompletionWidget *_t = static_cast<KateCompletionWidget *>(_o);
        switch (_id) {
        case 0: _t->execute(); break;
        case 1: _t->cursorDown(); break;
        case 2: _t->cursorUp(); break;
        case 3: _t->waitForModelReset(); break;
        case 4: _t->abortCompletion(); break;
        case 5: _t->showConfig(); break;
        case 6: _t->updatePositionSlot(); break;
        case 7: _t->automaticInvocation(); break;
        case 8: _t->argumentHintsChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: { bool _r = _t->navigateUp();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 10: { bool _r = _t->navigateDown();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 11: { bool _r = _t->navigateLeft();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 12: { bool _r = _t->navigateRight();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 13: { bool _r = _t->navigateAccept();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 14: { bool _r = _t->navigateBack();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 15: { bool _r = _t->hadNavigation();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 16: _t->resetHadNavigation(); break;
        case 17: _t->completionModelReset(); break;
        case 18: _t->modelDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 19: _t->modelContentChanged(); break;
        case 20: _t->cursorPositionChanged(); break;
        case 21: _t->modelReset(); break;
        case 22: _t->rowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 23: _t->viewFocusOut(); break;
        case 24: _t->wrapLine((*reinterpret_cast< const KTextEditor::Cursor(*)>(_a[1]))); break;
        case 25: _t->unwrapLine((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 26: _t->insertText((*reinterpret_cast< const KTextEditor::Cursor(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 27: _t->removeText((*reinterpret_cast< const KTextEditor::Range(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 24:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Cursor >(); break;
            }
            break;
        case 26:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Cursor >(); break;
            }
            break;
        case 27:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Range >(); break;
            }
            break;
        }
    }
}

const QMetaObject KateCompletionWidget::staticMetaObject = {
    { &QFrame::staticMetaObject, qt_meta_stringdata_KateCompletionWidget.data,
      qt_meta_data_KateCompletionWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KateCompletionWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KateCompletionWidget.stringdata))
        return static_cast<void*>(const_cast< KateCompletionWidget*>(this));
    return QFrame::qt_metacast(_clname);
}

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