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

#include "../../../texmaker-6.0.1/src/latexeditor.h"
#include <QtGui/qtextcursor.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'latexeditor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN11LatexEditorE_t {};
} // unnamed namespace

template <> constexpr inline auto LatexEditor::qt_create_metaobjectdata<qt_meta_tag_ZN11LatexEditorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LatexEditor",
        "spellme",
        "",
        "tooltiptab",
        "requestpdf",
        "setBlockRange",
        "updatelineWidget",
        "requestUpdateStructure",
        "requestGotoStructure",
        "poshaschanged",
        "numLinesChanged",
        "matchAll",
        "setHightLightLine",
        "clearHightLightLine",
        "paste",
        "cut",
        "setCursorVisible",
        "setColors",
        "QList<QColor>",
        "colors",
        "setUserTagsList",
        "utlist",
        "undoText",
        "redoText",
        "selectRange",
        "start",
        "length",
        "insertText",
        "text",
        "setUncommittedLines",
        "QList<int>",
        "lines",
        "correctWord",
        "checkSpellingWord",
        "checkSpellingSelection",
        "checkSpellingDocument",
        "insertCompletion",
        "completion",
        "jumpToPdf",
        "jumpToEndBlock",
        "requestNewNumLines",
        "n",
        "matchPar",
        "matchLat",
        "ensureFinalNewLine",
        "removeBlockSelection",
        "slotSelectionChanged",
        "cursorPosition",
        "selection",
        "selectionStart",
        "selectionLength"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'spellme'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'tooltiptab'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'requestpdf'
        QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'setBlockRange'
        QtMocHelpers::SignalData<void(int, int)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 }, { QMetaType::Int, 2 },
        }}),
        // Signal 'updatelineWidget'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'requestUpdateStructure'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'requestGotoStructure'
        QtMocHelpers::SignalData<void(int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Signal 'poshaschanged'
        QtMocHelpers::SignalData<void(int, int)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 }, { QMetaType::Int, 2 },
        }}),
        // Signal 'numLinesChanged'
        QtMocHelpers::SignalData<void(int)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'matchAll'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setHightLightLine'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clearHightLightLine'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'paste'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'cut'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setCursorVisible'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setColors'
        QtMocHelpers::SlotData<void(QList<QColor>)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 19 },
        }}),
        // Slot 'setUserTagsList'
        QtMocHelpers::SlotData<void(QStringList)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 21 },
        }}),
        // Slot 'undoText'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'redoText'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'selectRange'
        QtMocHelpers::SlotData<void(int, int)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 25 }, { QMetaType::Int, 26 },
        }}),
        // Slot 'selectRange'
        QtMocHelpers::SlotData<void(int)>(24, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Int, 25 },
        }}),
        // Slot 'insertText'
        QtMocHelpers::SlotData<void(QString)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 28 },
        }}),
        // Slot 'setUncommittedLines'
        QtMocHelpers::SlotData<void(QList<int>)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 30, 31 },
        }}),
        // Slot 'correctWord'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkSpellingWord'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkSpellingSelection'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkSpellingDocument'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'insertCompletion'
        QtMocHelpers::SlotData<void(const QString &)>(36, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 37 },
        }}),
        // Slot 'jumpToPdf'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'jumpToEndBlock'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'requestNewNumLines'
        QtMocHelpers::SlotData<void(int)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 41 },
        }}),
        // Slot 'matchPar'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'matchLat'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'ensureFinalNewLine'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'removeBlockSelection'
        QtMocHelpers::SlotData<void(const QString &)>(45, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 28 },
        }}),
        // Slot 'removeBlockSelection'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'slotSelectionChanged'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'cursorPosition'
        QtMocHelpers::PropertyData<int>(47, QMetaType::Int, QMC::Readable | QMC::Designable | QMC::Scriptable),
        // property 'selection'
        QtMocHelpers::PropertyData<QString>(48, QMetaType::QString, QMC::Readable | QMC::Designable | QMC::Scriptable),
        // property 'selectionStart'
        QtMocHelpers::PropertyData<int>(49, QMetaType::Int, QMC::Readable | QMC::Designable | QMC::Scriptable),
        // property 'selectionLength'
        QtMocHelpers::PropertyData<int>(50, QMetaType::Int, QMC::Readable | QMC::Designable | QMC::Scriptable),
        // property 'text'
        QtMocHelpers::PropertyData<QString>(28, QMetaType::QString, QMC::Readable | QMC::Designable | QMC::Scriptable),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<LatexEditor, qt_meta_tag_ZN11LatexEditorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject LatexEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<QPlainTextEdit::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11LatexEditorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11LatexEditorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11LatexEditorE_t>.metaTypes,
    nullptr
} };

void LatexEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<LatexEditor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->spellme(); break;
        case 1: _t->tooltiptab(); break;
        case 2: _t->requestpdf((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->setBlockRange((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 4: _t->updatelineWidget(); break;
        case 5: _t->requestUpdateStructure(); break;
        case 6: _t->requestGotoStructure((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 7: _t->poshaschanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 8: _t->numLinesChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 9: _t->matchAll(); break;
        case 10: _t->setHightLightLine(); break;
        case 11: _t->clearHightLightLine(); break;
        case 12: _t->paste(); break;
        case 13: _t->cut(); break;
        case 14: _t->setCursorVisible(); break;
        case 15: _t->setColors((*reinterpret_cast<std::add_pointer_t<QList<QColor>>>(_a[1]))); break;
        case 16: _t->setUserTagsList((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 17: _t->undoText(); break;
        case 18: _t->redoText(); break;
        case 19: _t->selectRange((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 20: _t->selectRange((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 21: _t->insertText((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 22: _t->setUncommittedLines((*reinterpret_cast<std::add_pointer_t<QList<int>>>(_a[1]))); break;
        case 23: _t->correctWord(); break;
        case 24: _t->checkSpellingWord(); break;
        case 25: _t->checkSpellingSelection(); break;
        case 26: _t->checkSpellingDocument(); break;
        case 27: _t->insertCompletion((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 28: _t->jumpToPdf(); break;
        case 29: _t->jumpToEndBlock(); break;
        case 30: _t->requestNewNumLines((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 31: _t->matchPar(); break;
        case 32: _t->matchLat(); break;
        case 33: _t->ensureFinalNewLine(); break;
        case 34: _t->removeBlockSelection((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 35: _t->removeBlockSelection(); break;
        case 36: _t->slotSelectionChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 22:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (LatexEditor::*)()>(_a, &LatexEditor::spellme, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (LatexEditor::*)()>(_a, &LatexEditor::tooltiptab, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (LatexEditor::*)(int )>(_a, &LatexEditor::requestpdf, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (LatexEditor::*)(int , int )>(_a, &LatexEditor::setBlockRange, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (LatexEditor::*)()>(_a, &LatexEditor::updatelineWidget, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (LatexEditor::*)()>(_a, &LatexEditor::requestUpdateStructure, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (LatexEditor::*)(int )>(_a, &LatexEditor::requestGotoStructure, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (LatexEditor::*)(int , int )>(_a, &LatexEditor::poshaschanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (LatexEditor::*)(int )>(_a, &LatexEditor::numLinesChanged, 8))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = _t->cursorPosition(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->selectedText(); break;
        case 2: *reinterpret_cast<int*>(_v) = _t->selectionStart(); break;
        case 3: *reinterpret_cast<int*>(_v) = _t->selectionLength(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->text(); break;
        default: break;
        }
    }
}

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

void *LatexEditor::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11LatexEditorE_t>.strings))
        return static_cast<void*>(this);
    return QPlainTextEdit::qt_metacast(_clname);
}

int LatexEditor::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 < 37)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 37;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 37)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 37;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}

// SIGNAL 0
void LatexEditor::spellme()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

// SIGNAL 2
void LatexEditor::requestpdf(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void LatexEditor::setBlockRange(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2);
}

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

// SIGNAL 5
void LatexEditor::requestUpdateStructure()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void LatexEditor::requestGotoStructure(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void LatexEditor::poshaschanged(int _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1, _t2);
}

// SIGNAL 8
void LatexEditor::numLinesChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}
QT_WARNING_POP
