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

template <> constexpr inline auto octave::qt_graphics_toolkit::qt_create_metaobjectdata<qt_meta_tag_ZN6octave19qt_graphics_toolkitE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "octave::qt_graphics_toolkit",
        "create_object_signal",
        "",
        "handle",
        "interpreter_event",
        "octave::fcn_callback",
        "fcn",
        "octave::meth_callback",
        "meth",
        "create_object",
        "gh_callback_event",
        "graphics_handle",
        "h",
        "std::string",
        "name",
        "octave_value",
        "data",
        "gh_set_event",
        "value",
        "notify_toolkit",
        "redraw_figure"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'create_object_signal'
        QtMocHelpers::SignalData<void(double)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 3 },
        }}),
        // Slot 'interpreter_event'
        QtMocHelpers::SlotData<void(const octave::fcn_callback &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Slot 'interpreter_event'
        QtMocHelpers::SlotData<void(const octave::meth_callback &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'create_object'
        QtMocHelpers::SlotData<void(double)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 3 },
        }}),
        // Slot 'gh_callback_event'
        QtMocHelpers::SlotData<void(const graphics_handle &, const std::string &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { 0x80000000 | 13, 14 },
        }}),
        // Slot 'gh_callback_event'
        QtMocHelpers::SlotData<void(const graphics_handle &, const std::string &, const octave_value &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { 0x80000000 | 13, 14 }, { 0x80000000 | 15, 16 },
        }}),
        // Slot 'gh_set_event'
        QtMocHelpers::SlotData<void(const graphics_handle &, const std::string &, const octave_value &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { 0x80000000 | 13, 14 }, { 0x80000000 | 15, 18 },
        }}),
        // Slot 'gh_set_event'
        QtMocHelpers::SlotData<void(const graphics_handle &, const std::string &, const octave_value &, bool)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { 0x80000000 | 13, 14 }, { 0x80000000 | 15, 18 }, { QMetaType::Bool, 19 },
        }}),
        // Slot 'gh_set_event'
        QtMocHelpers::SlotData<void(const graphics_handle &, const std::string &, const octave_value &, bool, bool)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { 0x80000000 | 13, 14 }, { 0x80000000 | 15, 18 }, { QMetaType::Bool, 19 },
            { QMetaType::Bool, 20 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<qt_graphics_toolkit, qt_meta_tag_ZN6octave19qt_graphics_toolkitE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject octave::qt_graphics_toolkit::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6octave19qt_graphics_toolkitE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6octave19qt_graphics_toolkitE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6octave19qt_graphics_toolkitE_t>.metaTypes,
    nullptr
} };

void octave::qt_graphics_toolkit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<qt_graphics_toolkit *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->create_object_signal((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 1: _t->interpreter_event((*reinterpret_cast<std::add_pointer_t<octave::fcn_callback>>(_a[1]))); break;
        case 2: _t->interpreter_event((*reinterpret_cast<std::add_pointer_t<octave::meth_callback>>(_a[1]))); break;
        case 3: _t->create_object((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 4: _t->gh_callback_event((*reinterpret_cast<std::add_pointer_t<graphics_handle>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2]))); break;
        case 5: _t->gh_callback_event((*reinterpret_cast<std::add_pointer_t<graphics_handle>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<octave_value>>(_a[3]))); break;
        case 6: _t->gh_set_event((*reinterpret_cast<std::add_pointer_t<graphics_handle>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<octave_value>>(_a[3]))); break;
        case 7: _t->gh_set_event((*reinterpret_cast<std::add_pointer_t<graphics_handle>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<octave_value>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4]))); break;
        case 8: _t->gh_set_event((*reinterpret_cast<std::add_pointer_t<graphics_handle>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<octave_value>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[5]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (qt_graphics_toolkit::*)(double )>(_a, &qt_graphics_toolkit::create_object_signal, 0))
            return;
    }
}

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

void *octave::qt_graphics_toolkit::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6octave19qt_graphics_toolkitE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "octave::base_graphics_toolkit"))
        return static_cast< octave::base_graphics_toolkit*>(this);
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void octave::qt_graphics_toolkit::create_object_signal(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
QT_WARNING_POP
