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

template <> constexpr inline auto octave::variable_editor_model::qt_create_metaobjectdata<qt_meta_tag_ZN6octave21variable_editor_modelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "octave::variable_editor_model",
        "update_data_signal",
        "",
        "octave_value",
        "val",
        "data_error_signal",
        "name",
        "user_error_signal",
        "title",
        "msg",
        "set_editable_signal",
        "description_changed",
        "description",
        "edit_variable_signal",
        "interpreter_event",
        "fcn_callback",
        "fcn",
        "meth_callback",
        "meth",
        "update_data",
        "update_data_cache",
        "double_click",
        "QModelIndex",
        "idx",
        "data_error",
        "user_error"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'update_data_signal'
        QtMocHelpers::SignalData<void(const octave_value &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'data_error_signal'
        QtMocHelpers::SignalData<void(const QString &) const>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Signal 'user_error_signal'
        QtMocHelpers::SignalData<void(const QString &, const QString &) const>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 }, { QMetaType::QString, 9 },
        }}),
        // Signal 'set_editable_signal'
        QtMocHelpers::SignalData<void(bool)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'description_changed'
        QtMocHelpers::SignalData<void(const QString &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 12 },
        }}),
        // Signal 'edit_variable_signal'
        QtMocHelpers::SignalData<void(const QString &, const octave_value &)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 }, { 0x80000000 | 3, 4 },
        }}),
        // Signal 'interpreter_event'
        QtMocHelpers::SignalData<void(const fcn_callback &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 },
        }}),
        // Signal 'interpreter_event'
        QtMocHelpers::SignalData<void(const meth_callback &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
        // Slot 'update_data'
        QtMocHelpers::SlotData<void(const octave_value &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'update_data_cache'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'double_click'
        QtMocHelpers::SlotData<void(const QModelIndex &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 23 },
        }}),
        // Slot 'data_error'
        QtMocHelpers::SlotData<void(const QString &)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'user_error'
        QtMocHelpers::SlotData<void(const QString &, const QString &)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 8 }, { QMetaType::QString, 9 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<variable_editor_model, qt_meta_tag_ZN6octave21variable_editor_modelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject octave::variable_editor_model::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractTableModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6octave21variable_editor_modelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6octave21variable_editor_modelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6octave21variable_editor_modelE_t>.metaTypes,
    nullptr
} };

void octave::variable_editor_model::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<variable_editor_model *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->update_data_signal((*reinterpret_cast<std::add_pointer_t<octave_value>>(_a[1]))); break;
        case 1: _t->data_error_signal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->user_error_signal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 3: _t->set_editable_signal((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->description_changed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->edit_variable_signal((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<octave_value>>(_a[2]))); break;
        case 6: _t->interpreter_event((*reinterpret_cast<std::add_pointer_t<fcn_callback>>(_a[1]))); break;
        case 7: _t->interpreter_event((*reinterpret_cast<std::add_pointer_t<meth_callback>>(_a[1]))); break;
        case 8: _t->update_data((*reinterpret_cast<std::add_pointer_t<octave_value>>(_a[1]))); break;
        case 9: _t->update_data_cache(); break;
        case 10: _t->double_click((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 11: _t->data_error((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 12: _t->user_error((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (variable_editor_model::*)(const octave_value & )>(_a, &variable_editor_model::update_data_signal, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (variable_editor_model::*)(const QString & ) const>(_a, &variable_editor_model::data_error_signal, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (variable_editor_model::*)(const QString & , const QString & ) const>(_a, &variable_editor_model::user_error_signal, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (variable_editor_model::*)(bool )>(_a, &variable_editor_model::set_editable_signal, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (variable_editor_model::*)(const QString & )>(_a, &variable_editor_model::description_changed, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (variable_editor_model::*)(const QString & , const octave_value & )>(_a, &variable_editor_model::edit_variable_signal, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (variable_editor_model::*)(const fcn_callback & )>(_a, &variable_editor_model::interpreter_event, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (variable_editor_model::*)(const meth_callback & )>(_a, &variable_editor_model::interpreter_event, 7))
            return;
    }
}

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

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

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

// SIGNAL 0
void octave::variable_editor_model::update_data_signal(const octave_value & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void octave::variable_editor_model::data_error_signal(const QString & _t1)const
{
    QMetaObject::activate<void>(const_cast< octave::variable_editor_model *>(this), &staticMetaObject, 1, nullptr, _t1);
}

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

// SIGNAL 3
void octave::variable_editor_model::set_editable_signal(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

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

// SIGNAL 5
void octave::variable_editor_model::edit_variable_signal(const QString & _t1, const octave_value & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

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

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