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

#include "../../../../src/NotepadNext/dialogs/MainWindow.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 'MainWindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.0. 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_ZN10MainWindowE_t {};
} // unnamed namespace

template <> constexpr inline auto MainWindow::qt_create_metaobjectdata<qt_meta_tag_ZN10MainWindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MainWindow",
        "editorActivated",
        "",
        "ScintillaNext*",
        "editor",
        "aboutToClose",
        "newFile",
        "openFileDialog",
        "openFile",
        "filePath",
        "openFolderAsWorkspaceDialog",
        "reloadFile",
        "closeCurrentFile",
        "closeFile",
        "closeAllFiles",
        "closeAllExceptActive",
        "closeAllToLeft",
        "closeAllToRight",
        "saveCurrentFile",
        "saveFile",
        "saveCurrentFileAsDialog",
        "saveCurrentFileAs",
        "fileName",
        "saveFileAs",
        "saveCopyAsDialog",
        "saveCopyAs",
        "saveAll",
        "exportAsFormat",
        "Converter*",
        "converter",
        "filter",
        "copyAsFormat",
        "mimeType",
        "renameFile",
        "moveCurrentFileToTrash",
        "moveFileToTrash",
        "print",
        "convertEOLs",
        "eolMode",
        "showFindReplaceDialog",
        "index",
        "updateFileStatusBasedUi",
        "updateEOLBasedUi",
        "updateDocumentBasedUi",
        "Scintilla::Update",
        "updated",
        "updateSelectionBasedUi",
        "updateContentBasedUi",
        "updateSaveStatusBasedUi",
        "updateEditorPositionBasedUi",
        "updateLanguageBasedUi",
        "updateGui",
        "detectLanguage",
        "setLanguage",
        "languageName",
        "bringWindowToForeground",
        "focusIn",
        "addEditor",
        "checkForUpdates",
        "silent",
        "restoreWindowState",
        "switchToEditor",
        "const ScintillaNext*",
        "tabBarRightClicked",
        "languageMenuTriggered",
        "checkForUpdatesFinished",
        "url",
        "activateEditor"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'editorActivated'
        QtMocHelpers::SignalData<void(ScintillaNext *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'aboutToClose'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'newFile'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'openFileDialog'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'openFile'
        QtMocHelpers::SlotData<void(const QString &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'openFolderAsWorkspaceDialog'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'reloadFile'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'closeCurrentFile'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'closeFile'
        QtMocHelpers::SlotData<void(ScintillaNext *)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'closeAllFiles'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'closeAllExceptActive'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'closeAllToLeft'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'closeAllToRight'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'saveCurrentFile'
        QtMocHelpers::SlotData<bool()>(18, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'saveFile'
        QtMocHelpers::SlotData<bool(ScintillaNext *)>(19, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'saveCurrentFileAsDialog'
        QtMocHelpers::SlotData<bool()>(20, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'saveCurrentFileAs'
        QtMocHelpers::SlotData<bool(const QString &)>(21, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 22 },
        }}),
        // Slot 'saveFileAs'
        QtMocHelpers::SlotData<bool(ScintillaNext *, const QString &)>(23, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 3, 4 }, { QMetaType::QString, 22 },
        }}),
        // Slot 'saveCopyAsDialog'
        QtMocHelpers::SlotData<bool()>(24, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'saveCopyAs'
        QtMocHelpers::SlotData<bool(const QString &)>(25, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 22 },
        }}),
        // Slot 'saveAll'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'exportAsFormat'
        QtMocHelpers::SlotData<void(Converter *, const QString &)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 28, 29 }, { QMetaType::QString, 30 },
        }}),
        // Slot 'copyAsFormat'
        QtMocHelpers::SlotData<void(Converter *, const QString &)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 28, 29 }, { QMetaType::QString, 32 },
        }}),
        // Slot 'renameFile'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'moveCurrentFileToTrash'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'moveFileToTrash'
        QtMocHelpers::SlotData<void(ScintillaNext *)>(35, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'print'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'convertEOLs'
        QtMocHelpers::SlotData<void(int)>(37, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 38 },
        }}),
        // Slot 'showFindReplaceDialog'
        QtMocHelpers::SlotData<void(int)>(39, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 40 },
        }}),
        // Slot 'updateFileStatusBasedUi'
        QtMocHelpers::SlotData<void(ScintillaNext *)>(41, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'updateEOLBasedUi'
        QtMocHelpers::SlotData<void(ScintillaNext *)>(42, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'updateDocumentBasedUi'
        QtMocHelpers::SlotData<void(Scintilla::Update)>(43, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 44, 45 },
        }}),
        // Slot 'updateSelectionBasedUi'
        QtMocHelpers::SlotData<void(ScintillaNext *)>(46, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'updateContentBasedUi'
        QtMocHelpers::SlotData<void(ScintillaNext *)>(47, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'updateSaveStatusBasedUi'
        QtMocHelpers::SlotData<void(ScintillaNext *)>(48, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'updateEditorPositionBasedUi'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateLanguageBasedUi'
        QtMocHelpers::SlotData<void(ScintillaNext *)>(50, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'updateGui'
        QtMocHelpers::SlotData<void(ScintillaNext *)>(51, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'detectLanguage'
        QtMocHelpers::SlotData<void(ScintillaNext *)>(52, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'setLanguage'
        QtMocHelpers::SlotData<void(ScintillaNext *, const QString &)>(53, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::QString, 54 },
        }}),
        // Slot 'bringWindowToForeground'
        QtMocHelpers::SlotData<void()>(55, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'focusIn'
        QtMocHelpers::SlotData<void()>(56, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'addEditor'
        QtMocHelpers::SlotData<void(ScintillaNext *)>(57, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'checkForUpdates'
        QtMocHelpers::SlotData<void(bool)>(58, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 59 },
        }}),
        // Slot 'checkForUpdates'
        QtMocHelpers::SlotData<void()>(58, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'restoreWindowState'
        QtMocHelpers::SlotData<void()>(60, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'switchToEditor'
        QtMocHelpers::SlotData<void(const ScintillaNext *)>(61, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 62, 4 },
        }}),
        // Slot 'tabBarRightClicked'
        QtMocHelpers::SlotData<void(ScintillaNext *)>(63, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'languageMenuTriggered'
        QtMocHelpers::SlotData<void()>(64, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkForUpdatesFinished'
        QtMocHelpers::SlotData<void(QString)>(65, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 66 },
        }}),
        // Slot 'activateEditor'
        QtMocHelpers::SlotData<void(ScintillaNext *)>(67, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MainWindow, qt_meta_tag_ZN10MainWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10MainWindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10MainWindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10MainWindowE_t>.metaTypes,
    nullptr
} };

void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MainWindow *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->editorActivated((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1]))); break;
        case 1: _t->aboutToClose(); break;
        case 2: _t->newFile(); break;
        case 3: _t->openFileDialog(); break;
        case 4: _t->openFile((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->openFolderAsWorkspaceDialog(); break;
        case 6: _t->reloadFile(); break;
        case 7: _t->closeCurrentFile(); break;
        case 8: _t->closeFile((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1]))); break;
        case 9: _t->closeAllFiles(); break;
        case 10: _t->closeAllExceptActive(); break;
        case 11: _t->closeAllToLeft(); break;
        case 12: _t->closeAllToRight(); break;
        case 13: { bool _r = _t->saveCurrentFile();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 14: { bool _r = _t->saveFile((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 15: { bool _r = _t->saveCurrentFileAsDialog();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 16: { bool _r = _t->saveCurrentFileAs((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 17: { bool _r = _t->saveFileAs((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 18: { bool _r = _t->saveCopyAsDialog();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 19: { bool _r = _t->saveCopyAs((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 20: _t->saveAll(); break;
        case 21: _t->exportAsFormat((*reinterpret_cast<std::add_pointer_t<Converter*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 22: _t->copyAsFormat((*reinterpret_cast<std::add_pointer_t<Converter*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 23: _t->renameFile(); break;
        case 24: _t->moveCurrentFileToTrash(); break;
        case 25: _t->moveFileToTrash((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1]))); break;
        case 26: _t->print(); break;
        case 27: _t->convertEOLs((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 28: _t->showFindReplaceDialog((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 29: _t->updateFileStatusBasedUi((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1]))); break;
        case 30: _t->updateEOLBasedUi((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1]))); break;
        case 31: _t->updateDocumentBasedUi((*reinterpret_cast<std::add_pointer_t<Scintilla::Update>>(_a[1]))); break;
        case 32: _t->updateSelectionBasedUi((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1]))); break;
        case 33: _t->updateContentBasedUi((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1]))); break;
        case 34: _t->updateSaveStatusBasedUi((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1]))); break;
        case 35: _t->updateEditorPositionBasedUi(); break;
        case 36: _t->updateLanguageBasedUi((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1]))); break;
        case 37: _t->updateGui((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1]))); break;
        case 38: _t->detectLanguage((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1]))); break;
        case 39: _t->setLanguage((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 40: _t->bringWindowToForeground(); break;
        case 41: _t->focusIn(); break;
        case 42: _t->addEditor((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1]))); break;
        case 43: _t->checkForUpdates((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 44: _t->checkForUpdates(); break;
        case 45: _t->restoreWindowState(); break;
        case 46: _t->switchToEditor((*reinterpret_cast<std::add_pointer_t<const ScintillaNext*>>(_a[1]))); break;
        case 47: _t->tabBarRightClicked((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1]))); break;
        case 48: _t->languageMenuTriggered(); break;
        case 49: _t->checkForUpdatesFinished((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 50: _t->activateEditor((*reinterpret_cast<std::add_pointer_t<ScintillaNext*>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 25:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 29:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 30:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 32:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 33:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 34:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 36:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 37:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 38:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 39:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 42:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 47:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        case 50:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ScintillaNext* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MainWindow::*)(ScintillaNext * )>(_a, &MainWindow::editorActivated, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MainWindow::*)()>(_a, &MainWindow::aboutToClose, 1))
            return;
    }
}

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

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

int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 51)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 51;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 51)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 51;
    }
    return _id;
}

// SIGNAL 0
void MainWindow::editorActivated(ScintillaNext * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void MainWindow::aboutToClose()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
