/****************************************************************************
** Meta object code from reading C++ file 'patchhighlighter.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/patchreview/patchhighlighter.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'patchhighlighter.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_PatchHighlighter_t {
    QByteArrayData data[24];
    char stringdata0[336];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PatchHighlighter_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PatchHighlighter_t qt_meta_stringdata_PatchHighlighter = {
    {
QT_MOC_LITERAL(0, 0, 16), // "PatchHighlighter"
QT_MOC_LITERAL(1, 17, 17), // "documentDestroyed"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 35), // "aboutToDeleteMovingInterfaceC..."
QT_MOC_LITERAL(4, 72, 22), // "KTextEditor::Document*"
QT_MOC_LITERAL(5, 95, 20), // "markToolTipRequested"
QT_MOC_LITERAL(6, 116, 17), // "KTextEditor::Mark"
QT_MOC_LITERAL(7, 134, 5), // "bool&"
QT_MOC_LITERAL(8, 140, 18), // "showToolTipForMark"
QT_MOC_LITERAL(9, 159, 4), // "arg1"
QT_MOC_LITERAL(10, 164, 25), // "KTextEditor::MovingRange*"
QT_MOC_LITERAL(11, 190, 4), // "arg2"
QT_MOC_LITERAL(12, 195, 9), // "isRemoval"
QT_MOC_LITERAL(13, 205, 18), // "Diff2::Difference*"
QT_MOC_LITERAL(14, 224, 11), // "isInsertion"
QT_MOC_LITERAL(15, 236, 11), // "markClicked"
QT_MOC_LITERAL(16, 248, 12), // "textInserted"
QT_MOC_LITERAL(17, 261, 3), // "doc"
QT_MOC_LITERAL(18, 265, 19), // "KTextEditor::Cursor"
QT_MOC_LITERAL(19, 285, 6), // "cursor"
QT_MOC_LITERAL(20, 292, 4), // "text"
QT_MOC_LITERAL(21, 297, 11), // "textRemoved"
QT_MOC_LITERAL(22, 309, 18), // "KTextEditor::Range"
QT_MOC_LITERAL(23, 328, 7) // "oldText"

    },
    "PatchHighlighter\0documentDestroyed\0\0"
    "aboutToDeleteMovingInterfaceContent\0"
    "KTextEditor::Document*\0markToolTipRequested\0"
    "KTextEditor::Mark\0bool&\0showToolTipForMark\0"
    "arg1\0KTextEditor::MovingRange*\0arg2\0"
    "isRemoval\0Diff2::Difference*\0isInsertion\0"
    "markClicked\0textInserted\0doc\0"
    "KTextEditor::Cursor\0cursor\0text\0"
    "textRemoved\0KTextEditor::Range\0oldText"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PatchHighlighter[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x08 /* Private */,
       3,    1,   60,    2, 0x08 /* Private */,
       5,    4,   63,    2, 0x0a /* Public */,
       8,    2,   72,    2, 0x0a /* Public */,
      12,    1,   77,    2, 0x0a /* Public */,
      14,    1,   80,    2, 0x0a /* Public */,
      15,    3,   83,    2, 0x0a /* Public */,
      16,    3,   90,    2, 0x0a /* Public */,
      21,    3,   97,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 6, QMetaType::QPoint, 0x80000000 | 7,    2,    2,    2,    2,
    QMetaType::Void, QMetaType::QPoint, 0x80000000 | 10,    9,   11,
    QMetaType::Bool, 0x80000000 | 13,    2,
    QMetaType::Bool, 0x80000000 | 13,    2,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 6, 0x80000000 | 7,    2,    2,    2,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 18, QMetaType::QString,   17,   19,   20,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 22, QMetaType::QString,    2,    2,   23,

       0        // eod
};

void PatchHighlighter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PatchHighlighter *_t = static_cast<PatchHighlighter *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->documentDestroyed(); break;
        case 1: _t->aboutToDeleteMovingInterfaceContent((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1]))); break;
        case 2: _t->markToolTipRequested((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Mark(*)>(_a[2])),(*reinterpret_cast< QPoint(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
        case 3: _t->showToolTipForMark((*reinterpret_cast< QPoint(*)>(_a[1])),(*reinterpret_cast< KTextEditor::MovingRange*(*)>(_a[2]))); break;
        case 4: { bool _r = _t->isRemoval((*reinterpret_cast< Diff2::Difference*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 5: { bool _r = _t->isInsertion((*reinterpret_cast< Diff2::Difference*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 6: _t->markClicked((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Mark(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 7: _t->textInserted((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Cursor(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 8: _t->textRemoved((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1])),(*reinterpret_cast< const KTextEditor::Range(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        default: ;
        }
    }
}

const QMetaObject PatchHighlighter::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_PatchHighlighter.data,
      qt_meta_data_PatchHighlighter,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int PatchHighlighter::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
