/****************************************************************************
** Meta object code from reading C++ file 'tikzeditor.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/tikzeditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tikzeditor.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_TikzEditor_t {
    QByteArrayData data[27];
    char stringdata0[352];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TikzEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TikzEditor_t qt_meta_stringdata_TikzEditor = {
    {
QT_MOC_LITERAL(0, 0, 10), // "TikzEditor"
QT_MOC_LITERAL(1, 11, 21), // "cursorPositionChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 3), // "row"
QT_MOC_LITERAL(4, 38, 3), // "col"
QT_MOC_LITERAL(5, 42, 17), // "showStatusMessage"
QT_MOC_LITERAL(6, 60, 7), // "message"
QT_MOC_LITERAL(7, 68, 7), // "timeout"
QT_MOC_LITERAL(8, 76, 7), // "focusIn"
QT_MOC_LITERAL(9, 84, 8), // "focusOut"
QT_MOC_LITERAL(10, 93, 9), // "tabIndent"
QT_MOC_LITERAL(11, 103, 13), // "isUnindenting"
QT_MOC_LITERAL(12, 117, 18), // "showCursorPosition"
QT_MOC_LITERAL(13, 136, 18), // "toggleUserBookmark"
QT_MOC_LITERAL(14, 155, 20), // "previousUserBookmark"
QT_MOC_LITERAL(15, 176, 16), // "nextUserBookmark"
QT_MOC_LITERAL(16, 193, 20), // "highlightCurrentLine"
QT_MOC_LITERAL(17, 214, 13), // "matchBrackets"
QT_MOC_LITERAL(18, 228, 16), // "insertCompletion"
QT_MOC_LITERAL(19, 245, 10), // "completion"
QT_MOC_LITERAL(20, 256, 20), // "recalculateBookmarks"
QT_MOC_LITERAL(21, 277, 8), // "position"
QT_MOC_LITERAL(22, 286, 25), // "updateLineNumberAreaWidth"
QT_MOC_LITERAL(23, 312, 20), // "updateLineNumberArea"
QT_MOC_LITERAL(24, 333, 4), // "rect"
QT_MOC_LITERAL(25, 338, 2), // "dy"
QT_MOC_LITERAL(26, 341, 10) // "numOfLines"

    },
    "TikzEditor\0cursorPositionChanged\0\0row\0"
    "col\0showStatusMessage\0message\0timeout\0"
    "focusIn\0focusOut\0tabIndent\0isUnindenting\0"
    "showCursorPosition\0toggleUserBookmark\0"
    "previousUserBookmark\0nextUserBookmark\0"
    "highlightCurrentLine\0matchBrackets\0"
    "insertCompletion\0completion\0"
    "recalculateBookmarks\0position\0"
    "updateLineNumberAreaWidth\0"
    "updateLineNumberArea\0rect\0dy\0numOfLines"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TikzEditor[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      16,   14, // methods
       1,  130, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    2,   94,    2, 0x06 /* Public */,
       5,    2,   99,    2, 0x06 /* Public */,
       5,    1,  104,    2, 0x26 /* Public | MethodCloned */,
       8,    0,  107,    2, 0x06 /* Public */,
       9,    0,  108,    2, 0x06 /* Public */,
      10,    1,  109,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    0,  112,    2, 0x0a /* Public */,
      13,    0,  113,    2, 0x0a /* Public */,
      14,    0,  114,    2, 0x0a /* Public */,
      15,    0,  115,    2, 0x0a /* Public */,
      16,    0,  116,    2, 0x08 /* Private */,
      17,    0,  117,    2, 0x08 /* Private */,
      18,    1,  118,    2, 0x08 /* Private */,
      20,    1,  121,    2, 0x08 /* Private */,
      22,    0,  124,    2, 0x08 /* Private */,
      23,    2,  125,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    3,    4,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    6,    7,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   11,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   19,
    QMetaType::Void, QMetaType::Int,   21,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRect, QMetaType::Int,   24,   25,

 // properties: name, type, flags
      26, QMetaType::Int, 0x00095001,

       0        // eod
};

void TikzEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TikzEditor *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->cursorPositionChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->showStatusMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->showStatusMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->focusIn(); break;
        case 4: _t->focusOut(); break;
        case 5: _t->tabIndent((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->showCursorPosition(); break;
        case 7: _t->toggleUserBookmark(); break;
        case 8: _t->previousUserBookmark(); break;
        case 9: _t->nextUserBookmark(); break;
        case 10: _t->highlightCurrentLine(); break;
        case 11: _t->matchBrackets(); break;
        case 12: _t->insertCompletion((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->recalculateBookmarks((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->updateLineNumberAreaWidth(); break;
        case 15: _t->updateLineNumberArea((*reinterpret_cast< const QRect(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (TikzEditor::*)(int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzEditor::cursorPositionChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (TikzEditor::*)(const QString & , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzEditor::showStatusMessage)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (TikzEditor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzEditor::focusIn)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (TikzEditor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzEditor::focusOut)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (TikzEditor::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TikzEditor::tabIndent)) {
                *result = 5;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<TikzEditor *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->numOfLines(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject TikzEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<QPlainTextEdit::staticMetaObject>(),
    qt_meta_stringdata_TikzEditor.data,
    qt_meta_data_TikzEditor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int TikzEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QPlainTextEdit::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 16;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void TikzEditor::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, 0, _a);
}

// SIGNAL 1
void TikzEditor::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, 1, _a);
}

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

// SIGNAL 4
void TikzEditor::focusOut()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

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