#if defined (HAVE_CONFIG_H)
#  include "config.h"
#endif
/****************************************************************************
** Meta object code from reading C++ file 'moc-QTerminal.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 "libgui/qterminal/libqterminal/moc-QTerminal.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 'moc-QTerminal.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_ZN9QTerminalE_t {};
} // unnamed namespace

template <> constexpr inline auto QTerminal::qt_create_metaobjectdata<qt_meta_tag_ZN9QTerminalE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "QTerminal",
        "report_status_message",
        "",
        "interrupt_signal",
        "edit_mfile_request",
        "show_doc_signal",
        "execute_command_in_terminal_signal",
        "request_edit_mfile_signal",
        "request_open_file_signal",
        "set_screen_size_signal",
        "clear_command_window_request",
        "interpreter_event",
        "octave::fcn_callback",
        "fcn",
        "octave::meth_callback",
        "meth",
        "copyClipboard",
        "pasteClipboard",
        "selectAll",
        "handleCustomContextMenuRequested",
        "QPoint",
        "at",
        "notice_settings",
        "init_terminal_size",
        "terminal_interrupt",
        "run_selection",
        "edit_file",
        "edit_selected",
        "help_on_expression",
        "doc_on_expression",
        "handle_visibility_changed"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'report_status_message'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'interrupt_signal'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'edit_mfile_request'
        QtMocHelpers::SignalData<void(const QString &, int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::Int, 2 },
        }}),
        // Signal 'show_doc_signal'
        QtMocHelpers::SignalData<void(const QString &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'execute_command_in_terminal_signal'
        QtMocHelpers::SignalData<void(const QString &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'request_edit_mfile_signal'
        QtMocHelpers::SignalData<void(const QString &, int)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::Int, 2 },
        }}),
        // Signal 'request_open_file_signal'
        QtMocHelpers::SignalData<void(const QString &, const QString &, int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::QString, 2 }, { QMetaType::Int, 2 },
        }}),
        // Signal 'set_screen_size_signal'
        QtMocHelpers::SignalData<void(int, int)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 }, { QMetaType::Int, 2 },
        }}),
        // Signal 'clear_command_window_request'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'interpreter_event'
        QtMocHelpers::SignalData<void(const octave::fcn_callback &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Signal 'interpreter_event'
        QtMocHelpers::SignalData<void(const octave::meth_callback &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 15 },
        }}),
        // Slot 'copyClipboard'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'pasteClipboard'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'selectAll'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'handleCustomContextMenuRequested'
        QtMocHelpers::SlotData<void(const QPoint &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 20, 21 },
        }}),
        // Slot 'notice_settings'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'init_terminal_size'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'terminal_interrupt'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'run_selection'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'edit_file'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'edit_selected'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'help_on_expression'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'doc_on_expression'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'handle_visibility_changed'
        QtMocHelpers::SlotData<void(bool)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<QTerminal, qt_meta_tag_ZN9QTerminalE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject QTerminal::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9QTerminalE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9QTerminalE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9QTerminalE_t>.metaTypes,
    nullptr
} };

void QTerminal::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QTerminal *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->report_status_message((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->interrupt_signal(); break;
        case 2: _t->edit_mfile_request((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 3: _t->show_doc_signal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->execute_command_in_terminal_signal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->request_edit_mfile_signal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 6: _t->request_open_file_signal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 7: _t->set_screen_size_signal((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 8: _t->clear_command_window_request(); break;
        case 9: _t->interpreter_event((*reinterpret_cast<std::add_pointer_t<octave::fcn_callback>>(_a[1]))); break;
        case 10: _t->interpreter_event((*reinterpret_cast<std::add_pointer_t<octave::meth_callback>>(_a[1]))); break;
        case 11: _t->copyClipboard(); break;
        case 12: _t->pasteClipboard(); break;
        case 13: _t->selectAll(); break;
        case 14: _t->handleCustomContextMenuRequested((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 15: _t->notice_settings(); break;
        case 16: _t->init_terminal_size(); break;
        case 17: _t->terminal_interrupt(); break;
        case 18: _t->run_selection(); break;
        case 19: _t->edit_file(); break;
        case 20: _t->edit_selected(); break;
        case 21: _t->help_on_expression(); break;
        case 22: _t->doc_on_expression(); break;
        case 23: _t->handle_visibility_changed((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (QTerminal::*)(const QString & )>(_a, &QTerminal::report_status_message, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (QTerminal::*)()>(_a, &QTerminal::interrupt_signal, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (QTerminal::*)(const QString & , int )>(_a, &QTerminal::edit_mfile_request, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (QTerminal::*)(const QString & )>(_a, &QTerminal::show_doc_signal, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (QTerminal::*)(const QString & )>(_a, &QTerminal::execute_command_in_terminal_signal, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (QTerminal::*)(const QString & , int )>(_a, &QTerminal::request_edit_mfile_signal, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (QTerminal::*)(const QString & , const QString & , int )>(_a, &QTerminal::request_open_file_signal, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (QTerminal::*)(int , int )>(_a, &QTerminal::set_screen_size_signal, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (QTerminal::*)()>(_a, &QTerminal::clear_command_window_request, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (QTerminal::*)(const octave::fcn_callback & )>(_a, &QTerminal::interpreter_event, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (QTerminal::*)(const octave::meth_callback & )>(_a, &QTerminal::interpreter_event, 10))
            return;
    }
}

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

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

int QTerminal::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 24;
    }
    return _id;
}

// SIGNAL 0
void QTerminal::report_status_message(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

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

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

// SIGNAL 3
void QTerminal::show_doc_signal(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void QTerminal::execute_command_in_terminal_signal(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void QTerminal::request_edit_mfile_signal(const QString & _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void QTerminal::request_open_file_signal(const QString & _t1, const QString & _t2, int _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2, _t3);
}

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

// SIGNAL 8
void QTerminal::clear_command_window_request()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void QTerminal::interpreter_event(const octave::fcn_callback & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void QTerminal::interpreter_event(const octave::meth_callback & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}
QT_WARNING_POP
