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

template <> constexpr inline auto octave::settings_dialog::qt_create_metaobjectdata<qt_meta_tag_ZN6octave15settings_dialogE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "octave::settings_dialog",
        "apply_new_settings",
        "",
        "get_octave_dir",
        "get_file_browser_dir",
        "get_dir",
        "QLineEdit*",
        "set_disabled_pref_file_browser_dir",
        "disable",
        "proxy_items_update",
        "update_terminal_colors",
        "def",
        "update_workspace_colors",
        "update_varedit_colors",
        "update_editor_lexers",
        "button_clicked",
        "QAbstractButton*",
        "button",
        "import_shortcut_set",
        "export_shortcut_set",
        "default_shortcut_set"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'apply_new_settings'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'get_octave_dir'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'get_file_browser_dir'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'get_dir'
        QtMocHelpers::SlotData<void(QLineEdit *, const QString &)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 6, 2 }, { QMetaType::QString, 2 },
        }}),
        // Slot 'set_disabled_pref_file_browser_dir'
        QtMocHelpers::SlotData<void(bool)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 8 },
        }}),
        // Slot 'proxy_items_update'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'update_terminal_colors'
        QtMocHelpers::SlotData<void(int)>(10, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 11 },
        }}),
        // Slot 'update_terminal_colors'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'update_workspace_colors'
        QtMocHelpers::SlotData<void(int)>(12, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 11 },
        }}),
        // Slot 'update_workspace_colors'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'update_varedit_colors'
        QtMocHelpers::SlotData<void(int)>(13, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 11 },
        }}),
        // Slot 'update_varedit_colors'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'update_editor_lexers'
        QtMocHelpers::SlotData<void(int)>(14, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 11 },
        }}),
        // Slot 'update_editor_lexers'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'button_clicked'
        QtMocHelpers::SlotData<void(QAbstractButton *)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Slot 'import_shortcut_set'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'export_shortcut_set'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'default_shortcut_set'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<settings_dialog, qt_meta_tag_ZN6octave15settings_dialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject octave::settings_dialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6octave15settings_dialogE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6octave15settings_dialogE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6octave15settings_dialogE_t>.metaTypes,
    nullptr
} };

void octave::settings_dialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<settings_dialog *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->apply_new_settings(); break;
        case 1: _t->get_octave_dir(); break;
        case 2: _t->get_file_browser_dir(); break;
        case 3: _t->get_dir((*reinterpret_cast<std::add_pointer_t<QLineEdit*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 4: _t->set_disabled_pref_file_browser_dir((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->proxy_items_update(); break;
        case 6: _t->update_terminal_colors((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 7: _t->update_terminal_colors(); break;
        case 8: _t->update_workspace_colors((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 9: _t->update_workspace_colors(); break;
        case 10: _t->update_varedit_colors((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 11: _t->update_varedit_colors(); break;
        case 12: _t->update_editor_lexers((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 13: _t->update_editor_lexers(); break;
        case 14: _t->button_clicked((*reinterpret_cast<std::add_pointer_t<QAbstractButton*>>(_a[1]))); break;
        case 15: _t->import_shortcut_set(); break;
        case 16: _t->export_shortcut_set(); break;
        case 17: _t->default_shortcut_set(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (settings_dialog::*)()>(_a, &settings_dialog::apply_new_settings, 0))
            return;
    }
}

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

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

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

// SIGNAL 0
void octave::settings_dialog::apply_new_settings()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
