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

#include "../../../../texworks-release-0.6.11/src/TeXDocumentWindow.h"
#include <QtGui/qtextcursor.h>
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'TeXDocumentWindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. 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_ZN17TeXDocumentWindowE_t {};
} // unnamed namespace

template <> constexpr inline auto TeXDocumentWindow::qt_create_metaobjectdata<qt_meta_tag_ZN17TeXDocumentWindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TeXDocumentWindow",
        "syncFromSource",
        "",
        "sourceFile",
        "lineNo",
        "col",
        "activatePreview",
        "activatedWindow",
        "QWidget*",
        "asyncFlashStatusBarMessage",
        "msg",
        "timeout",
        "typeset",
        "interrupt",
        "goToTypesettingWindow",
        "newFile",
        "newFromTemplate",
        "open",
        "save",
        "saveAll",
        "saveAs",
        "revert",
        "clear",
        "doFontDialog",
        "doLineDialog",
        "doFindDialog",
        "doFindAgain",
        "fromDialog",
        "doReplaceDialog",
        "doReplaceAgain",
        "doIndent",
        "doUnindent",
        "doComment",
        "doUncomment",
        "toUppercase",
        "toLowercase",
        "toggleCase",
        "balanceDelimiters",
        "doHardWrapDialog",
        "doInsertCitationsDialog",
        "setLineNumbers",
        "displayNumbers",
        "setLineSpacing",
        "percent",
        "setWrapLines",
        "wrap",
        "setSyntaxColoring",
        "index",
        "copyToFind",
        "copyToReplace",
        "findSelection",
        "showSelection",
        "toggleConsoleVisibility",
        "goToPreview",
        "syncClick",
        "openAt",
        "QAction*",
        "action",
        "sideBySide",
        "removeAuxFiles",
        "setSpellcheckLanguage",
        "lang",
        "reloadSpellcheckerMenu",
        "selectRange",
        "start",
        "length",
        "insertText",
        "text",
        "selectAll",
        "setWindowModified",
        "modified",
        "setSmartQuotesMode",
        "mode",
        "setAutoIndentMode",
        "setSyntaxColoringMode",
        "setLangInternal",
        "maybeEnableSaveAndRevert",
        "clipboardChanged",
        "doReplace",
        "ReplaceDialog::DialogCode",
        "pdfClosed",
        "updateRecentFileActions",
        "updateWindowMenu",
        "updateEngineList",
        "showCursorPosition",
        "editMenuAboutToShow",
        "processError",
        "QProcess::ProcessError",
        "error",
        "processFinished",
        "exitCode",
        "QProcess::ExitStatus",
        "exitStatus",
        "acceptInputLine",
        "selectedEngine",
        "engineAction",
        "idx",
        "handleModelineChange",
        "changedKeys",
        "removedKeys",
        "reloadIfChangedOnDisk",
        "setupFileWatcher",
        "lineEndingPopup",
        "QPoint",
        "loc",
        "encodingPopup",
        "lineEndingLabelClick",
        "QMouseEvent*",
        "event",
        "encodingLabelClick",
        "anchorClicked",
        "QUrl",
        "url",
        "delayedInit",
        "cursorPosition",
        "selection",
        "selectionStart",
        "selectionLength",
        "consoleOutput",
        "fileName",
        "rootFileName",
        "untitled",
        "spellcheckLanguage",
        "currentCodecName",
        "writeUTF8BOM"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'syncFromSource'
        QtMocHelpers::SignalData<void(const QString &, int, int, bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::Int, 4 }, { QMetaType::Int, 5 }, { QMetaType::Bool, 6 },
        }}),
        // Signal 'activatedWindow'
        QtMocHelpers::SignalData<void(QWidget *)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 2 },
        }}),
        // Signal 'asyncFlashStatusBarMessage'
        QtMocHelpers::SignalData<void(const QString &, const int)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 10 }, { QMetaType::Int, 11 },
        }}),
        // Signal 'asyncFlashStatusBarMessage'
        QtMocHelpers::SignalData<void(const QString &)>(9, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 10 },
        }}),
        // Slot 'typeset'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'interrupt'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'goToTypesettingWindow'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'newFile'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'newFromTemplate'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'open'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'save'
        QtMocHelpers::SlotData<bool()>(18, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'saveAll'
        QtMocHelpers::SlotData<bool()>(19, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'saveAs'
        QtMocHelpers::SlotData<bool()>(20, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'revert'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clear'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doFontDialog'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doLineDialog'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doFindDialog'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doFindAgain'
        QtMocHelpers::SlotData<void(bool)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 27 },
        }}),
        // Slot 'doFindAgain'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'doReplaceDialog'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doReplaceAgain'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doIndent'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doUnindent'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doComment'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doUncomment'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'toUppercase'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'toLowercase'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'toggleCase'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'balanceDelimiters'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doHardWrapDialog'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doInsertCitationsDialog'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setLineNumbers'
        QtMocHelpers::SlotData<void(bool)>(40, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 41 },
        }}),
        // Slot 'setLineSpacing'
        QtMocHelpers::SlotData<void(qreal)>(42, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QReal, 43 },
        }}),
        // Slot 'setWrapLines'
        QtMocHelpers::SlotData<void(bool)>(44, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 45 },
        }}),
        // Slot 'setSyntaxColoring'
        QtMocHelpers::SlotData<void(int)>(46, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 47 },
        }}),
        // Slot 'copyToFind'
        QtMocHelpers::SlotData<void()>(48, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copyToReplace'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'findSelection'
        QtMocHelpers::SlotData<void()>(50, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showSelection'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'toggleConsoleVisibility'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'goToPreview'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'syncClick'
        QtMocHelpers::SlotData<void(int, int)>(54, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 4 }, { QMetaType::Int, 5 },
        }}),
        // Slot 'openAt'
        QtMocHelpers::SlotData<void(QAction *)>(55, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 56, 57 },
        }}),
        // Slot 'sideBySide'
        QtMocHelpers::SlotData<void()>(58, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'removeAuxFiles'
        QtMocHelpers::SlotData<void()>(59, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setSpellcheckLanguage'
        QtMocHelpers::SlotData<void(const QString &)>(60, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 61 },
        }}),
        // Slot 'reloadSpellcheckerMenu'
        QtMocHelpers::SlotData<void()>(62, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'selectRange'
        QtMocHelpers::SlotData<void(int, int)>(63, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 64 }, { QMetaType::Int, 65 },
        }}),
        // Slot 'selectRange'
        QtMocHelpers::SlotData<void(int)>(63, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Int, 64 },
        }}),
        // Slot 'insertText'
        QtMocHelpers::SlotData<void(const QString &)>(66, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 67 },
        }}),
        // Slot 'selectAll'
        QtMocHelpers::SlotData<void()>(68, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setWindowModified'
        QtMocHelpers::SlotData<void(bool)>(69, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 70 },
        }}),
        // Slot 'setSmartQuotesMode'
        QtMocHelpers::SlotData<void(const QString &)>(71, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 72 },
        }}),
        // Slot 'setAutoIndentMode'
        QtMocHelpers::SlotData<void(const QString &)>(73, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 72 },
        }}),
        // Slot 'setSyntaxColoringMode'
        QtMocHelpers::SlotData<void(const QString &)>(74, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 72 },
        }}),
        // Slot 'setLangInternal'
        QtMocHelpers::SlotData<void(const QString &)>(75, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 61 },
        }}),
        // Slot 'maybeEnableSaveAndRevert'
        QtMocHelpers::SlotData<void(bool)>(76, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 70 },
        }}),
        // Slot 'clipboardChanged'
        QtMocHelpers::SlotData<void()>(77, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'doReplace'
        QtMocHelpers::SlotData<void(ReplaceDialog::DialogCode)>(78, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 79, 72 },
        }}),
        // Slot 'pdfClosed'
        QtMocHelpers::SlotData<void()>(80, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateRecentFileActions'
        QtMocHelpers::SlotData<void()>(81, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateWindowMenu'
        QtMocHelpers::SlotData<void()>(82, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateEngineList'
        QtMocHelpers::SlotData<void()>(83, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showCursorPosition'
        QtMocHelpers::SlotData<void()>(84, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'editMenuAboutToShow'
        QtMocHelpers::SlotData<void()>(85, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'processError'
        QtMocHelpers::SlotData<void(QProcess::ProcessError)>(86, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 87, 88 },
        }}),
        // Slot 'processFinished'
        QtMocHelpers::SlotData<void(int, QProcess::ExitStatus)>(89, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 90 }, { 0x80000000 | 91, 92 },
        }}),
        // Slot 'acceptInputLine'
        QtMocHelpers::SlotData<void()>(93, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'selectedEngine'
        QtMocHelpers::SlotData<void(QAction *)>(94, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 56, 95 },
        }}),
        // Slot 'selectedEngine'
        QtMocHelpers::SlotData<void(int)>(94, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 96 },
        }}),
        // Slot 'handleModelineChange'
        QtMocHelpers::SlotData<void(QStringList, QStringList)>(97, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QStringList, 98 }, { QMetaType::QStringList, 99 },
        }}),
        // Slot 'reloadIfChangedOnDisk'
        QtMocHelpers::SlotData<void()>(100, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'setupFileWatcher'
        QtMocHelpers::SlotData<void()>(101, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'lineEndingPopup'
        QtMocHelpers::SlotData<void(const QPoint)>(102, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 103, 104 },
        }}),
        // Slot 'encodingPopup'
        QtMocHelpers::SlotData<void(const QPoint)>(105, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 103, 104 },
        }}),
        // Slot 'lineEndingLabelClick'
        QtMocHelpers::SlotData<void(QMouseEvent *)>(106, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 107, 108 },
        }}),
        // Slot 'encodingLabelClick'
        QtMocHelpers::SlotData<void(QMouseEvent *)>(109, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 107, 108 },
        }}),
        // Slot 'anchorClicked'
        QtMocHelpers::SlotData<void(const QUrl &)>(110, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 111, 112 },
        }}),
        // Slot 'delayedInit'
        QtMocHelpers::SlotData<void()>(113, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'cursorPosition'
        QtMocHelpers::PropertyData<int>(114, QMetaType::Int, QMC::Readable | QMC::Designable | QMC::Scriptable),
        // property 'selection'
        QtMocHelpers::PropertyData<QString>(115, QMetaType::QString, QMC::Readable | QMC::Designable | QMC::Scriptable),
        // property 'selectionStart'
        QtMocHelpers::PropertyData<int>(116, QMetaType::Int, QMC::Readable | QMC::Designable | QMC::Scriptable),
        // property 'selectionLength'
        QtMocHelpers::PropertyData<int>(117, QMetaType::Int, QMC::Readable | QMC::Designable | QMC::Scriptable),
        // property 'consoleOutput'
        QtMocHelpers::PropertyData<QString>(118, QMetaType::QString, QMC::Readable | QMC::Designable | QMC::Scriptable),
        // property 'text'
        QtMocHelpers::PropertyData<QString>(67, QMetaType::QString, QMC::Readable | QMC::Designable | QMC::Scriptable),
        // property 'fileName'
        QtMocHelpers::PropertyData<QString>(119, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'rootFileName'
        QtMocHelpers::PropertyData<QString>(120, QMetaType::QString, QMC::Readable | QMC::Designable | QMC::Scriptable),
        // property 'untitled'
        QtMocHelpers::PropertyData<bool>(121, QMetaType::Bool, QMC::Readable | QMC::Designable | QMC::Scriptable),
        // property 'modified'
        QtMocHelpers::PropertyData<bool>(70, QMetaType::Bool, QMC::Readable | QMC::Writable | QMC::Designable | QMC::Scriptable | QMC::StdCppSet),
        // property 'spellcheckLanguage'
        QtMocHelpers::PropertyData<QString>(122, QMetaType::QString, QMC::Readable | QMC::Writable | QMC::Designable | QMC::Scriptable | QMC::StdCppSet),
        // property 'currentCodecName'
        QtMocHelpers::PropertyData<QString>(123, QMetaType::QString, QMC::Readable | QMC::Designable | QMC::Scriptable),
        // property 'writeUTF8BOM'
        QtMocHelpers::PropertyData<bool>(124, QMetaType::Bool, QMC::Readable | QMC::Designable | QMC::Scriptable),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TeXDocumentWindow, qt_meta_tag_ZN17TeXDocumentWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject TeXDocumentWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<TWScriptableWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17TeXDocumentWindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17TeXDocumentWindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN17TeXDocumentWindowE_t>.metaTypes,
    nullptr
} };

void TeXDocumentWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TeXDocumentWindow *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->syncFromSource((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4]))); break;
        case 1: _t->activatedWindow((*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[1]))); break;
        case 2: _t->asyncFlashStatusBarMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 3: _t->asyncFlashStatusBarMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->typeset(); break;
        case 5: _t->interrupt(); break;
        case 6: _t->goToTypesettingWindow(); break;
        case 7: _t->newFile(); break;
        case 8: _t->newFromTemplate(); break;
        case 9: _t->open(); break;
        case 10: { bool _r = _t->save();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 11: { bool _r = _t->saveAll();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 12: { bool _r = _t->saveAs();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 13: _t->revert(); break;
        case 14: _t->clear(); break;
        case 15: _t->doFontDialog(); break;
        case 16: _t->doLineDialog(); break;
        case 17: _t->doFindDialog(); break;
        case 18: _t->doFindAgain((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 19: _t->doFindAgain(); break;
        case 20: _t->doReplaceDialog(); break;
        case 21: _t->doReplaceAgain(); break;
        case 22: _t->doIndent(); break;
        case 23: _t->doUnindent(); break;
        case 24: _t->doComment(); break;
        case 25: _t->doUncomment(); break;
        case 26: _t->toUppercase(); break;
        case 27: _t->toLowercase(); break;
        case 28: _t->toggleCase(); break;
        case 29: _t->balanceDelimiters(); break;
        case 30: _t->doHardWrapDialog(); break;
        case 31: _t->doInsertCitationsDialog(); break;
        case 32: _t->setLineNumbers((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 33: _t->setLineSpacing((*reinterpret_cast<std::add_pointer_t<qreal>>(_a[1]))); break;
        case 34: _t->setWrapLines((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 35: _t->setSyntaxColoring((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 36: _t->copyToFind(); break;
        case 37: _t->copyToReplace(); break;
        case 38: _t->findSelection(); break;
        case 39: _t->showSelection(); break;
        case 40: _t->toggleConsoleVisibility(); break;
        case 41: _t->goToPreview(); break;
        case 42: _t->syncClick((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 43: _t->openAt((*reinterpret_cast<std::add_pointer_t<QAction*>>(_a[1]))); break;
        case 44: _t->sideBySide(); break;
        case 45: _t->removeAuxFiles(); break;
        case 46: _t->setSpellcheckLanguage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 47: _t->reloadSpellcheckerMenu(); break;
        case 48: _t->selectRange((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 49: _t->selectRange((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 50: _t->insertText((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 51: _t->selectAll(); break;
        case 52: _t->setWindowModified((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 53: _t->setSmartQuotesMode((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 54: _t->setAutoIndentMode((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 55: _t->setSyntaxColoringMode((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 56: _t->setLangInternal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 57: _t->maybeEnableSaveAndRevert((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 58: _t->clipboardChanged(); break;
        case 59: _t->doReplace((*reinterpret_cast<std::add_pointer_t<ReplaceDialog::DialogCode>>(_a[1]))); break;
        case 60: _t->pdfClosed(); break;
        case 61: _t->updateRecentFileActions(); break;
        case 62: _t->updateWindowMenu(); break;
        case 63: _t->updateEngineList(); break;
        case 64: _t->showCursorPosition(); break;
        case 65: _t->editMenuAboutToShow(); break;
        case 66: _t->processError((*reinterpret_cast<std::add_pointer_t<QProcess::ProcessError>>(_a[1]))); break;
        case 67: _t->processFinished((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QProcess::ExitStatus>>(_a[2]))); break;
        case 68: _t->acceptInputLine(); break;
        case 69: _t->selectedEngine((*reinterpret_cast<std::add_pointer_t<QAction*>>(_a[1]))); break;
        case 70: _t->selectedEngine((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 71: _t->handleModelineChange((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[2]))); break;
        case 72: _t->reloadIfChangedOnDisk(); break;
        case 73: _t->setupFileWatcher(); break;
        case 74: _t->lineEndingPopup((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 75: _t->encodingPopup((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 76: _t->lineEndingLabelClick((*reinterpret_cast<std::add_pointer_t<QMouseEvent*>>(_a[1]))); break;
        case 77: _t->encodingLabelClick((*reinterpret_cast<std::add_pointer_t<QMouseEvent*>>(_a[1]))); break;
        case 78: _t->anchorClicked((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 79: _t->delayedInit(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWidget* >(); break;
            }
            break;
        case 43:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
            }
            break;
        case 69:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAction* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (TeXDocumentWindow::*)(const QString & , int , int , bool )>(_a, &TeXDocumentWindow::syncFromSource, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (TeXDocumentWindow::*)(QWidget * )>(_a, &TeXDocumentWindow::activatedWindow, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (TeXDocumentWindow::*)(const QString & , const int )>(_a, &TeXDocumentWindow::asyncFlashStatusBarMessage, 2))
            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->consoleText(); break;
        case 5: *reinterpret_cast<QString*>(_v) = _t->text(); break;
        case 6: *reinterpret_cast<QString*>(_v) = _t->fileName(); break;
        case 7: *reinterpret_cast<QString*>(_v) = _t->getRootFilePath(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->untitled(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->isModified(); break;
        case 10: *reinterpret_cast<QString*>(_v) = _t->spellcheckLanguage(); break;
        case 11: *reinterpret_cast<QString*>(_v) = _t->getCurrentCodecName(); break;
        case 12: *reinterpret_cast<bool*>(_v) = _t->getUTF8BOM(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 9: _t->setModified(*reinterpret_cast<bool*>(_v)); break;
        case 10: _t->setSpellcheckLanguage(*reinterpret_cast<QString*>(_v)); break;
        default: break;
        }
    }
}

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

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

int TeXDocumentWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = TWScriptableWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 80)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 80;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 80)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 80;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void TeXDocumentWindow::syncFromSource(const QString & _t1, int _t2, int _t3, bool _t4)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3, _t4);
}

// SIGNAL 1
void TeXDocumentWindow::activatedWindow(QWidget * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void TeXDocumentWindow::asyncFlashStatusBarMessage(const QString & _t1, const int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}
QT_WARNING_POP
