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

template <> constexpr inline auto octave::marker::qt_create_metaobjectdata<qt_meta_tag_ZN6octave6markerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "octave::marker",
        "request_remove",
        "",
        "original_linenr",
        "handle_remove_via_original_linenr",
        "handle_request_remove_via_editor_linenr",
        "editor_linenr",
        "handle_remove",
        "handle_find_translation",
        "int&",
        "marker*&",
        "bp",
        "handle_find_just_before",
        "linenr",
        "handle_find_just_after",
        "handle_marker_line_deleted",
        "mhandle",
        "handle_marker_line_undeleted",
        "handle_report_editor_linenr",
        "QIntList&",
        "lines",
        "QStringList&",
        "conditions"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'request_remove'
        QtMocHelpers::SignalData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Slot 'handle_remove_via_original_linenr'
        QtMocHelpers::SlotData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Slot 'handle_request_remove_via_editor_linenr'
        QtMocHelpers::SlotData<void(int)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 6 },
        }}),
        // Slot 'handle_remove'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'handle_find_translation'
        QtMocHelpers::SlotData<void(int, int &, marker * &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { 0x80000000 | 9, 6 }, { 0x80000000 | 10, 11 },
        }}),
        // Slot 'handle_find_just_before'
        QtMocHelpers::SlotData<void(int, int &, int &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 13 }, { 0x80000000 | 9, 3 }, { 0x80000000 | 9, 6 },
        }}),
        // Slot 'handle_find_just_after'
        QtMocHelpers::SlotData<void(int, int &, int &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 13 }, { 0x80000000 | 9, 3 }, { 0x80000000 | 9, 6 },
        }}),
        // Slot 'handle_marker_line_deleted'
        QtMocHelpers::SlotData<void(int)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 16 },
        }}),
        // Slot 'handle_marker_line_undeleted'
        QtMocHelpers::SlotData<void(int)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 16 },
        }}),
        // Slot 'handle_report_editor_linenr'
        QtMocHelpers::SlotData<void(QIntList &, QStringList &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 20 }, { 0x80000000 | 21, 22 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<marker, qt_meta_tag_ZN6octave6markerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject octave::marker::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6octave6markerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6octave6markerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6octave6markerE_t>.metaTypes,
    nullptr
} };

void octave::marker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<marker *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->request_remove((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->handle_remove_via_original_linenr((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->handle_request_remove_via_editor_linenr((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->handle_remove(); break;
        case 4: _t->handle_find_translation((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int&>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<marker*&>>(_a[3]))); break;
        case 5: _t->handle_find_just_before((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int&>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int&>>(_a[3]))); break;
        case 6: _t->handle_find_just_after((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int&>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int&>>(_a[3]))); break;
        case 7: _t->handle_marker_line_deleted((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->handle_marker_line_undeleted((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 9: _t->handle_report_editor_linenr((*reinterpret_cast<std::add_pointer_t<QIntList&>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QStringList&>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (marker::*)(int )>(_a, &marker::request_remove, 0))
            return;
    }
}

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

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

int octave::marker::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void octave::marker::request_remove(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
QT_WARNING_POP
