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

#include <memory>
#include "../../../../ktikz-0.13.2/app/tikzktexteditorview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tikzktexteditorview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_TikzKTextEditorView_t {
    QByteArrayData data[17];
    char stringdata0[224];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TikzKTextEditorView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TikzKTextEditorView_t qt_meta_stringdata_TikzKTextEditorView = {
    {
QT_MOC_LITERAL(0, 0, 19), // "TikzKTextEditorView"
QT_MOC_LITERAL(1, 20, 19), // "modificationChanged"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 7), // "changed"
QT_MOC_LITERAL(4, 49, 15), // "contentsChanged"
QT_MOC_LITERAL(5, 65, 21), // "cursorPositionChanged"
QT_MOC_LITERAL(6, 87, 3), // "row"
QT_MOC_LITERAL(7, 91, 3), // "col"
QT_MOC_LITERAL(8, 95, 17), // "showStatusMessage"
QT_MOC_LITERAL(9, 113, 7), // "message"
QT_MOC_LITERAL(10, 121, 7), // "timeout"
QT_MOC_LITERAL(11, 129, 18), // "setSearchFromBegin"
QT_MOC_LITERAL(12, 148, 15), // "searchFromBegin"
QT_MOC_LITERAL(13, 164, 7), // "focusIn"
QT_MOC_LITERAL(14, 172, 8), // "focusOut"
QT_MOC_LITERAL(15, 181, 19), // "setDocumentModified"
QT_MOC_LITERAL(16, 201, 22) // "KTextEditor::Document*"

    },
    "TikzKTextEditorView\0modificationChanged\0"
    "\0changed\0contentsChanged\0cursorPositionChanged\0"
    "row\0col\0showStatusMessage\0message\0"
    "timeout\0setSearchFromBegin\0searchFromBegin\0"
    "focusIn\0focusOut\0setDocumentModified\0"
    "KTextEditor::Document*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TikzKTextEditorView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x06 /* Public */,
       4,    0,   62,    2, 0x06 /* Public */,
       5,    2,   63,    2, 0x06 /* Public */,
       8,    2,   68,    2, 0x06 /* Public */,
       8,    1,   73,    2, 0x26 /* Public | MethodCloned */,
      11,    1,   76,    2, 0x06 /* Public */,
      13,    0,   79,    2, 0x06 /* Public */,
      14,    0,   80,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,   81,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    6,    7,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    9,   10,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 16,    2,

       0        // eod
};

void TikzKTextEditorView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TikzKTextEditorView *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->modificationChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->contentsChanged(); break;
        case 2: _t->cursorPositionChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->showStatusMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->showStatusMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->setSearchFromBegin((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->focusIn(); break;
        case 7: _t->focusOut(); break;
        case 8: _t->setDocumentModified((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< KTextEditor::Document* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (TikzKTextEditorView::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzKTextEditorView::modificationChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (TikzKTextEditorView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzKTextEditorView::contentsChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (TikzKTextEditorView::*)(int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzKTextEditorView::cursorPositionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (TikzKTextEditorView::*)(const QString & , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzKTextEditorView::showStatusMessage)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (TikzKTextEditorView::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzKTextEditorView::setSearchFromBegin)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (TikzKTextEditorView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzKTextEditorView::focusIn)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (TikzKTextEditorView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzKTextEditorView::focusOut)) {
                *result = 7;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject TikzKTextEditorView::staticMetaObject = { {
    QMetaObject::SuperData::link<TikzEditorViewAbstract::staticMetaObject>(),
    qt_meta_stringdata_TikzKTextEditorView.data,
    qt_meta_data_TikzKTextEditorView,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *TikzKTextEditorView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_TikzKTextEditorView.stringdata0))
        return static_cast<void*>(this);
    return TikzEditorViewAbstract::qt_metacast(_clname);
}

int TikzKTextEditorView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = TikzEditorViewAbstract::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void TikzKTextEditorView::modificationChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void TikzKTextEditorView::contentsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void TikzKTextEditorView::cursorPositionChanged(int _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void TikzKTextEditorView::showStatusMessage(const QString & _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 5
void TikzKTextEditorView::setSearchFromBegin(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void TikzKTextEditorView::focusIn()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void TikzKTextEditorView::focusOut()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
