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

#include "../../../../SuperCollider-3.14.1-Source/editors/sc-ide/widgets/main_window.hpp"
#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 'main_window.hpp' 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_ZN5ScIDE10MainWindowE_t {};
} // unnamed namespace

template <> constexpr inline auto ScIDE::MainWindow::qt_create_metaobjectdata<qt_meta_tag_ZN5ScIDE10MainWindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ScIDE::MainWindow",
        "evaluateCode",
        "",
        "silent",
        "newSession",
        "saveCurrentSessionAs",
        "openSessionsDialog",
        "newDocument",
        "openDocument",
        "saveDocument",
        "saveDocumentAs",
        "saveDocumentAsExtension",
        "saveAllDocuments",
        "reloadDocument",
        "closeDocument",
        "closeAllDocuments",
        "showCmdLine",
        "showFindTool",
        "showReplaceTool",
        "showGoToLineTool",
        "hideToolBox",
        "showSettings",
        "showStatusMessage",
        "string",
        "openStartupFile",
        "openUserSupportDirectory",
        "switchSession",
        "Session*",
        "session",
        "saveSession",
        "onInterpreterStateChanged",
        "QProcess::ProcessState",
        "onQuit",
        "onCurrentDocumentChanged",
        "Document*",
        "onDocumentChangedExternally",
        "onDocDialogFinished",
        "updateRecentDocsMenu",
        "onOpenRecentDocument",
        "QAction*",
        "onOpenSessionAction",
        "updateWindowTitle",
        "toggleFullScreen",
        "lookupImplementation",
        "lookupImplementationForCursor",
        "lookupReferences",
        "lookupReferencesForCursor",
        "openHelp",
        "openHelpAboutIDE",
        "doBugReport",
        "lookupDocumentationForCursor",
        "lookupDocumentation",
        "applySettings",
        "Settings::Manager*",
        "storeSettings",
        "showSwitchSessionDialog",
        "showAbout",
        "showAboutQT",
        "cmdLineForCursor"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'evaluateCode'
        QtMocHelpers::SignalData<void(const QString &, bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::Bool, 3 },
        }}),
        // Signal 'evaluateCode'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'newSession'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'saveCurrentSessionAs'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'openSessionsDialog'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'newDocument'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'openDocument'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'saveDocument'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'saveDocumentAs'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'saveDocumentAsExtension'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'saveAllDocuments'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'reloadDocument'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'closeDocument'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'closeAllDocuments'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showCmdLine'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showCmdLine'
        QtMocHelpers::SlotData<void(const QString &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'showFindTool'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showReplaceTool'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showGoToLineTool'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'hideToolBox'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showSettings'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showStatusMessage'
        QtMocHelpers::SlotData<void(QString const &)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 23 },
        }}),
        // Slot 'openStartupFile'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openUserSupportDirectory'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'switchSession'
        QtMocHelpers::SlotData<void(Session *)>(26, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 27, 28 },
        }}),
        // Slot 'saveSession'
        QtMocHelpers::SlotData<void(Session *)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 27, 28 },
        }}),
        // Slot 'onInterpreterStateChanged'
        QtMocHelpers::SlotData<void(QProcess::ProcessState)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 31, 2 },
        }}),
        // Slot 'onQuit'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onCurrentDocumentChanged'
        QtMocHelpers::SlotData<void(Document *)>(33, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 34, 2 },
        }}),
        // Slot 'onDocumentChangedExternally'
        QtMocHelpers::SlotData<void(Document *)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 34, 2 },
        }}),
        // Slot 'onDocDialogFinished'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateRecentDocsMenu'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onOpenRecentDocument'
        QtMocHelpers::SlotData<void(QAction *)>(38, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 39, 2 },
        }}),
        // Slot 'onOpenSessionAction'
        QtMocHelpers::SlotData<void(QAction *)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 39, 2 },
        }}),
        // Slot 'updateWindowTitle'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'toggleFullScreen'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'lookupImplementation'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'lookupImplementationForCursor'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'lookupReferences'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'lookupReferencesForCursor'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openHelp'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openHelpAboutIDE'
        QtMocHelpers::SlotData<void()>(48, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'doBugReport'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'lookupDocumentationForCursor'
        QtMocHelpers::SlotData<void()>(50, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'lookupDocumentation'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'applySettings'
        QtMocHelpers::SlotData<void(Settings::Manager *)>(52, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 53, 2 },
        }}),
        // Slot 'storeSettings'
        QtMocHelpers::SlotData<void(Settings::Manager *)>(54, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 53, 2 },
        }}),
        // Slot 'showSwitchSessionDialog'
        QtMocHelpers::SlotData<void()>(55, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showAbout'
        QtMocHelpers::SlotData<void()>(56, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showAboutQT'
        QtMocHelpers::SlotData<void()>(57, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'cmdLineForCursor'
        QtMocHelpers::SlotData<void()>(58, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MainWindow, qt_meta_tag_ZN5ScIDE10MainWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ScIDE::MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5ScIDE10MainWindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5ScIDE10MainWindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN5ScIDE10MainWindowE_t>.metaTypes,
    nullptr
} };

void ScIDE::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->evaluateCode((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 1: _t->evaluateCode((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->newSession(); break;
        case 3: _t->saveCurrentSessionAs(); break;
        case 4: _t->openSessionsDialog(); break;
        case 5: _t->newDocument(); break;
        case 6: _t->openDocument(); break;
        case 7: _t->saveDocument(); break;
        case 8: _t->saveDocumentAs(); break;
        case 9: _t->saveDocumentAsExtension(); break;
        case 10: _t->saveAllDocuments(); break;
        case 11: _t->reloadDocument(); break;
        case 12: _t->closeDocument(); break;
        case 13: _t->closeAllDocuments(); break;
        case 14: _t->showCmdLine(); break;
        case 15: _t->showCmdLine((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 16: _t->showFindTool(); break;
        case 17: _t->showReplaceTool(); break;
        case 18: _t->showGoToLineTool(); break;
        case 19: _t->hideToolBox(); break;
        case 20: _t->showSettings(); break;
        case 21: _t->showStatusMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 22: _t->openStartupFile(); break;
        case 23: _t->openUserSupportDirectory(); break;
        case 24: _t->switchSession((*reinterpret_cast<std::add_pointer_t<Session*>>(_a[1]))); break;
        case 25: _t->saveSession((*reinterpret_cast<std::add_pointer_t<Session*>>(_a[1]))); break;
        case 26: _t->onInterpreterStateChanged((*reinterpret_cast<std::add_pointer_t<QProcess::ProcessState>>(_a[1]))); break;
        case 27: _t->onQuit(); break;
        case 28: _t->onCurrentDocumentChanged((*reinterpret_cast<std::add_pointer_t<Document*>>(_a[1]))); break;
        case 29: _t->onDocumentChangedExternally((*reinterpret_cast<std::add_pointer_t<Document*>>(_a[1]))); break;
        case 30: _t->onDocDialogFinished(); break;
        case 31: _t->updateRecentDocsMenu(); break;
        case 32: _t->onOpenRecentDocument((*reinterpret_cast<std::add_pointer_t<QAction*>>(_a[1]))); break;
        case 33: _t->onOpenSessionAction((*reinterpret_cast<std::add_pointer_t<QAction*>>(_a[1]))); break;
        case 34: _t->updateWindowTitle(); break;
        case 35: _t->toggleFullScreen(); break;
        case 36: _t->lookupImplementation(); break;
        case 37: _t->lookupImplementationForCursor(); break;
        case 38: _t->lookupReferences(); break;
        case 39: _t->lookupReferencesForCursor(); break;
        case 40: _t->openHelp(); break;
        case 41: _t->openHelpAboutIDE(); break;
        case 42: _t->doBugReport(); break;
        case 43: _t->lookupDocumentationForCursor(); break;
        case 44: _t->lookupDocumentation(); break;
        case 45: _t->applySettings((*reinterpret_cast<std::add_pointer_t<Settings::Manager*>>(_a[1]))); break;
        case 46: _t->storeSettings((*reinterpret_cast<std::add_pointer_t<Settings::Manager*>>(_a[1]))); break;
        case 47: _t->showSwitchSessionDialog(); break;
        case 48: _t->showAbout(); break;
        case 49: _t->showAboutQT(); break;
        case 50: _t->cmdLineForCursor(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MainWindow::*)(const QString & , bool )>(_a, &MainWindow::evaluateCode, 0))
            return;
    }
}

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

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

int ScIDE::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)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 51;
    }
    return _id;
}

// SIGNAL 0
void ScIDE::MainWindow::evaluateCode(const QString & _t1, bool _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}
QT_WARNING_POP
