/****************************************************************************
** Meta object code from reading C++ file 'tikzeditorview.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/tikzeditorview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tikzeditorview.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_TikzEditorView_t {
    QByteArrayData data[41];
    char stringdata0[491];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TikzEditorView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TikzEditorView_t qt_meta_stringdata_TikzEditorView = {
    {
QT_MOC_LITERAL(0, 0, 14), // "TikzEditorView"
QT_MOC_LITERAL(1, 15, 19), // "modificationChanged"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 7), // "changed"
QT_MOC_LITERAL(4, 44, 15), // "contentsChanged"
QT_MOC_LITERAL(5, 60, 21), // "cursorPositionChanged"
QT_MOC_LITERAL(6, 82, 3), // "row"
QT_MOC_LITERAL(7, 86, 3), // "col"
QT_MOC_LITERAL(8, 90, 17), // "showStatusMessage"
QT_MOC_LITERAL(9, 108, 7), // "message"
QT_MOC_LITERAL(10, 116, 7), // "timeout"
QT_MOC_LITERAL(11, 124, 18), // "setSearchFromBegin"
QT_MOC_LITERAL(12, 143, 15), // "searchFromBegin"
QT_MOC_LITERAL(13, 159, 7), // "focusIn"
QT_MOC_LITERAL(14, 167, 8), // "focusOut"
QT_MOC_LITERAL(15, 176, 15), // "setPasteEnabled"
QT_MOC_LITERAL(16, 192, 8), // "goToLine"
QT_MOC_LITERAL(17, 201, 10), // "lineNumber"
QT_MOC_LITERAL(18, 212, 12), // "editGoToLine"
QT_MOC_LITERAL(19, 225, 10), // "editIndent"
QT_MOC_LITERAL(20, 236, 12), // "editUnindent"
QT_MOC_LITERAL(21, 249, 11), // "editComment"
QT_MOC_LITERAL(22, 261, 13), // "editUncomment"
QT_MOC_LITERAL(23, 275, 8), // "editFind"
QT_MOC_LITERAL(24, 284, 12), // "editFindNext"
QT_MOC_LITERAL(25, 297, 16), // "editFindPrevious"
QT_MOC_LITERAL(26, 314, 11), // "editReplace"
QT_MOC_LITERAL(27, 326, 9), // "tabIndent"
QT_MOC_LITERAL(28, 336, 13), // "isUnindenting"
QT_MOC_LITERAL(29, 350, 6), // "indent"
QT_MOC_LITERAL(30, 357, 10), // "insertChar"
QT_MOC_LITERAL(31, 368, 12), // "numOfInserts"
QT_MOC_LITERAL(32, 381, 6), // "search"
QT_MOC_LITERAL(33, 388, 4), // "text"
QT_MOC_LITERAL(34, 393, 24), // "QTextDocument::FindFlags"
QT_MOC_LITERAL(35, 418, 5), // "flags"
QT_MOC_LITERAL(36, 424, 13), // "startAtCursor"
QT_MOC_LITERAL(37, 438, 21), // "continueFromBeginning"
QT_MOC_LITERAL(38, 460, 7), // "replace"
QT_MOC_LITERAL(39, 468, 11), // "replacement"
QT_MOC_LITERAL(40, 480, 10) // "replaceAll"

    },
    "TikzEditorView\0modificationChanged\0\0"
    "changed\0contentsChanged\0cursorPositionChanged\0"
    "row\0col\0showStatusMessage\0message\0"
    "timeout\0setSearchFromBegin\0searchFromBegin\0"
    "focusIn\0focusOut\0setPasteEnabled\0"
    "goToLine\0lineNumber\0editGoToLine\0"
    "editIndent\0editUnindent\0editComment\0"
    "editUncomment\0editFind\0editFindNext\0"
    "editFindPrevious\0editReplace\0tabIndent\0"
    "isUnindenting\0indent\0insertChar\0"
    "numOfInserts\0search\0text\0"
    "QTextDocument::FindFlags\0flags\0"
    "startAtCursor\0continueFromBeginning\0"
    "replace\0replacement\0replaceAll"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TikzEditorView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  184,    2, 0x06 /* Public */,
       4,    0,  187,    2, 0x06 /* Public */,
       5,    2,  188,    2, 0x06 /* Public */,
       8,    2,  193,    2, 0x06 /* Public */,
       8,    1,  198,    2, 0x26 /* Public | MethodCloned */,
      11,    1,  201,    2, 0x06 /* Public */,
      13,    0,  204,    2, 0x06 /* Public */,
      14,    0,  205,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    0,  206,    2, 0x0a /* Public */,
      16,    1,  207,    2, 0x0a /* Public */,
      18,    0,  210,    2, 0x08 /* Private */,
      19,    0,  211,    2, 0x08 /* Private */,
      20,    0,  212,    2, 0x08 /* Private */,
      21,    0,  213,    2, 0x08 /* Private */,
      22,    0,  214,    2, 0x08 /* Private */,
      23,    0,  215,    2, 0x08 /* Private */,
      24,    0,  216,    2, 0x08 /* Private */,
      25,    0,  217,    2, 0x08 /* Private */,
      26,    0,  218,    2, 0x08 /* Private */,
      27,    1,  219,    2, 0x08 /* Private */,
      27,    0,  222,    2, 0x28 /* Private | MethodCloned */,
      29,    3,  223,    2, 0x08 /* Private */,
      29,    2,  230,    2, 0x28 /* Private | MethodCloned */,
      32,    4,  235,    2, 0x08 /* Private */,
      32,    3,  244,    2, 0x28 /* Private | MethodCloned */,
      32,    2,  251,    2, 0x28 /* Private | MethodCloned */,
      32,    1,  256,    2, 0x28 /* Private | MethodCloned */,
      32,    0,  259,    2, 0x08 /* Private */,
      38,    1,  260,    2, 0x08 /* Private */,
      38,    4,  263,    2, 0x08 /* Private */,
      38,    3,  272,    2, 0x28 /* Private | MethodCloned */,
      38,    2,  279,    2, 0x28 /* Private | MethodCloned */,
      38,    0,  284,    2, 0x08 /* Private */,
      40,    0,  285,    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,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   28,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QChar, QMetaType::Int, QMetaType::Bool,   30,   31,   28,
    QMetaType::Void, QMetaType::QChar, QMetaType::Int,   30,   31,
    QMetaType::Bool, QMetaType::QString, 0x80000000 | 34, QMetaType::Bool, QMetaType::Bool,   33,   35,   36,   37,
    QMetaType::Bool, QMetaType::QString, 0x80000000 | 34, QMetaType::Bool,   33,   35,   36,
    QMetaType::Bool, QMetaType::QString, 0x80000000 | 34,   33,   35,
    QMetaType::Bool, QMetaType::QString,   33,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   39,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, 0x80000000 | 34, QMetaType::Bool,   33,   39,   35,   36,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, 0x80000000 | 34,   33,   39,   35,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   33,   39,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void TikzEditorView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TikzEditorView *>(_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->setPasteEnabled(); break;
        case 9: _t->goToLine((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->editGoToLine(); break;
        case 11: _t->editIndent(); break;
        case 12: _t->editUnindent(); break;
        case 13: _t->editComment(); break;
        case 14: _t->editUncomment(); break;
        case 15: _t->editFind(); break;
        case 16: _t->editFindNext(); break;
        case 17: _t->editFindPrevious(); break;
        case 18: _t->editReplace(); break;
        case 19: _t->tabIndent((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 20: _t->tabIndent(); break;
        case 21: _t->indent((*reinterpret_cast< QChar(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 22: _t->indent((*reinterpret_cast< QChar(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 23: { bool _r = _t->search((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QTextDocument::FindFlags(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 24: { bool _r = _t->search((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QTextDocument::FindFlags(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 25: { bool _r = _t->search((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QTextDocument::FindFlags(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 26: { bool _r = _t->search((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 27: _t->search(); break;
        case 28: _t->replace((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 29: _t->replace((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< QTextDocument::FindFlags(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
        case 30: _t->replace((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< QTextDocument::FindFlags(*)>(_a[3]))); break;
        case 31: _t->replace((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 32: _t->replace(); break;
        case 33: _t->replaceAll(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (TikzEditorView::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzEditorView::modificationChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (TikzEditorView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzEditorView::contentsChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (TikzEditorView::*)(int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzEditorView::cursorPositionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (TikzEditorView::*)(const QString & , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzEditorView::showStatusMessage)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (TikzEditorView::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzEditorView::setSearchFromBegin)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (TikzEditorView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzEditorView::focusIn)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (TikzEditorView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzEditorView::focusOut)) {
                *result = 7;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject TikzEditorView::staticMetaObject = { {
    QMetaObject::SuperData::link<TikzEditorViewAbstract::staticMetaObject>(),
    qt_meta_stringdata_TikzEditorView.data,
    qt_meta_data_TikzEditorView,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void TikzEditorView::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 TikzEditorView::contentsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void TikzEditorView::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 TikzEditorView::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 TikzEditorView::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 TikzEditorView::focusIn()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

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