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

template <> constexpr inline auto octave::workspace_view::qt_create_metaobjectdata<qt_meta_tag_ZN6octave14workspace_viewE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "octave::workspace_view",
        "command_requested",
        "",
        "cmd",
        "copy_variable_value_to_clipboard",
        "rename_variable_signal",
        "edit_variable_signal",
        "setModel",
        "workspace_model*",
        "model",
        "notice_settings",
        "save_settings",
        "restore_header_state",
        "filter_update",
        "expression",
        "filter_activate",
        "enable",
        "update_filter_history",
        "header_contextmenu_requested",
        "QPoint",
        "mpos",
        "toggle_header",
        "column",
        "contextmenu_requested",
        "pos",
        "handle_contextmenu_copy",
        "handle_contextmenu_copy_value",
        "handle_contextmenu_rename",
        "handle_contextmenu_edit",
        "handle_contextmenu_clear",
        "handle_contextmenu_disp",
        "handle_contextmenu_plot",
        "handle_contextmenu_stem",
        "handle_contextmenu_filter",
        "handle_model_changed",
        "copyClipboard",
        "selectAll"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'command_requested'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'copy_variable_value_to_clipboard'
        QtMocHelpers::SignalData<void(const QString &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'rename_variable_signal'
        QtMocHelpers::SignalData<void(const QString &, const QString &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::QString, 2 },
        }}),
        // Signal 'edit_variable_signal'
        QtMocHelpers::SignalData<void(const QString &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'setModel'
        QtMocHelpers::SlotData<void(workspace_model *)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Slot 'notice_settings'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'save_settings'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'restore_header_state'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'filter_update'
        QtMocHelpers::SlotData<void(const QString &)>(13, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::QString, 14 },
        }}),
        // Slot 'filter_activate'
        QtMocHelpers::SlotData<void(bool)>(15, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Bool, 16 },
        }}),
        // Slot 'update_filter_history'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'header_contextmenu_requested'
        QtMocHelpers::SlotData<void(const QPoint &)>(18, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 19, 20 },
        }}),
        // Slot 'toggle_header'
        QtMocHelpers::SlotData<void(int)>(21, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Int, 22 },
        }}),
        // Slot 'contextmenu_requested'
        QtMocHelpers::SlotData<void(const QPoint &)>(23, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 19, 24 },
        }}),
        // Slot 'handle_contextmenu_copy'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'handle_contextmenu_copy_value'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'handle_contextmenu_rename'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'handle_contextmenu_edit'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'handle_contextmenu_clear'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'handle_contextmenu_disp'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'handle_contextmenu_plot'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'handle_contextmenu_stem'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'handle_contextmenu_filter'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'handle_model_changed'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copyClipboard'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'selectAll'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<workspace_view, qt_meta_tag_ZN6octave14workspace_viewE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject octave::workspace_view::staticMetaObject = { {
    QMetaObject::SuperData::link<octave_dock_widget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6octave14workspace_viewE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6octave14workspace_viewE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6octave14workspace_viewE_t>.metaTypes,
    nullptr
} };

void octave::workspace_view::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<workspace_view *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->command_requested((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->copy_variable_value_to_clipboard((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->rename_variable_signal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 3: _t->edit_variable_signal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->setModel((*reinterpret_cast<std::add_pointer_t<workspace_model*>>(_a[1]))); break;
        case 5: _t->notice_settings(); break;
        case 6: _t->save_settings(); break;
        case 7: _t->restore_header_state(); break;
        case 8: _t->filter_update((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 9: _t->filter_activate((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 10: _t->update_filter_history(); break;
        case 11: _t->header_contextmenu_requested((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 12: _t->toggle_header((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 13: _t->contextmenu_requested((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 14: _t->handle_contextmenu_copy(); break;
        case 15: _t->handle_contextmenu_copy_value(); break;
        case 16: _t->handle_contextmenu_rename(); break;
        case 17: _t->handle_contextmenu_edit(); break;
        case 18: _t->handle_contextmenu_clear(); break;
        case 19: _t->handle_contextmenu_disp(); break;
        case 20: _t->handle_contextmenu_plot(); break;
        case 21: _t->handle_contextmenu_stem(); break;
        case 22: _t->handle_contextmenu_filter(); break;
        case 23: _t->handle_model_changed(); break;
        case 24: _t->copyClipboard(); break;
        case 25: _t->selectAll(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< workspace_model* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (workspace_view::*)(const QString & )>(_a, &workspace_view::command_requested, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (workspace_view::*)(const QString & )>(_a, &workspace_view::copy_variable_value_to_clipboard, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (workspace_view::*)(const QString & , const QString & )>(_a, &workspace_view::rename_variable_signal, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (workspace_view::*)(const QString & )>(_a, &workspace_view::edit_variable_signal, 3))
            return;
    }
}

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

void *octave::workspace_view::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6octave14workspace_viewE_t>.strings))
        return static_cast<void*>(this);
    return octave_dock_widget::qt_metacast(_clname);
}

int octave::workspace_view::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = octave_dock_widget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    }
    return _id;
}

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

// SIGNAL 1
void octave::workspace_view::copy_variable_value_to_clipboard(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void octave::workspace_view::rename_variable_signal(const QString & _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void octave::workspace_view::edit_variable_signal(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}
QT_WARNING_POP
