/****************************************************************************
** Meta object code from reading C++ file 'IndexEditor.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 "../../../../src/Dialogs/IndexEditor.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 'IndexEditor.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_ZN11IndexEditorE_t {};
} // unnamed namespace

template <> constexpr inline auto IndexEditor::qt_create_metaobjectdata<qt_meta_tag_ZN11IndexEditorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "IndexEditor",
        "ShowStatusMessageRequest",
        "",
        "message",
        "AddEntry",
        "QStandardItem*",
        "is_group",
        "IndexEditorModel::indexEntry*",
        "index_entry",
        "insert_after",
        "reject",
        "showEvent",
        "QShowEvent*",
        "event",
        "Edit",
        "Cut",
        "Copy",
        "Paste",
        "Delete",
        "AutoFill",
        "Open",
        "Reload",
        "SaveAs",
        "SelectAll",
        "Save",
        "FilterEditTextChangedSlot",
        "text",
        "OpenContextMenu",
        "QPoint",
        "point",
        "SettingsFileModelUpdated"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'ShowStatusMessageRequest'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Slot 'AddEntry'
        QtMocHelpers::SlotData<QStandardItem *(bool, IndexEditorModel::indexEntry *, bool)>(4, 2, QMC::AccessPublic, 0x80000000 | 5, {{
            { QMetaType::Bool, 6 }, { 0x80000000 | 7, 8 }, { QMetaType::Bool, 9 },
        }}),
        // Slot 'AddEntry'
        QtMocHelpers::SlotData<QStandardItem *(bool, IndexEditorModel::indexEntry *)>(4, 2, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 5, {{
            { QMetaType::Bool, 6 }, { 0x80000000 | 7, 8 },
        }}),
        // Slot 'AddEntry'
        QtMocHelpers::SlotData<QStandardItem *(bool)>(4, 2, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 5, {{
            { QMetaType::Bool, 6 },
        }}),
        // Slot 'AddEntry'
        QtMocHelpers::SlotData<QStandardItem *()>(4, 2, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 5),
        // Slot 'reject'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showEvent'
        QtMocHelpers::SlotData<void(QShowEvent *)>(11, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Slot 'Edit'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Cut'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Copy'
        QtMocHelpers::SlotData<bool()>(16, 2, QMC::AccessPrivate, QMetaType::Bool),
        // Slot 'Paste'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Delete'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'AutoFill'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Open'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Reload'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'SaveAs'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'SelectAll'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Save'
        QtMocHelpers::SlotData<bool()>(24, 2, QMC::AccessPrivate, QMetaType::Bool),
        // Slot 'FilterEditTextChangedSlot'
        QtMocHelpers::SlotData<void(const QString &)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 26 },
        }}),
        // Slot 'OpenContextMenu'
        QtMocHelpers::SlotData<void(const QPoint &)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 28, 29 },
        }}),
        // Slot 'SettingsFileModelUpdated'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<IndexEditor, qt_meta_tag_ZN11IndexEditorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject IndexEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11IndexEditorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11IndexEditorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11IndexEditorE_t>.metaTypes,
    nullptr
} };

void IndexEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<IndexEditor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->ShowStatusMessageRequest((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: { QStandardItem* _r = _t->AddEntry((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<IndexEditorModel::indexEntry*>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])));
            if (_a[0]) *reinterpret_cast<QStandardItem**>(_a[0]) = std::move(_r); }  break;
        case 2: { QStandardItem* _r = _t->AddEntry((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<IndexEditorModel::indexEntry*>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QStandardItem**>(_a[0]) = std::move(_r); }  break;
        case 3: { QStandardItem* _r = _t->AddEntry((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QStandardItem**>(_a[0]) = std::move(_r); }  break;
        case 4: { QStandardItem* _r = _t->AddEntry();
            if (_a[0]) *reinterpret_cast<QStandardItem**>(_a[0]) = std::move(_r); }  break;
        case 5: _t->reject(); break;
        case 6: _t->showEvent((*reinterpret_cast<std::add_pointer_t<QShowEvent*>>(_a[1]))); break;
        case 7: _t->Edit(); break;
        case 8: _t->Cut(); break;
        case 9: { bool _r = _t->Copy();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->Paste(); break;
        case 11: _t->Delete(); break;
        case 12: _t->AutoFill(); break;
        case 13: _t->Open(); break;
        case 14: _t->Reload(); break;
        case 15: _t->SaveAs(); break;
        case 16: _t->SelectAll(); break;
        case 17: { bool _r = _t->Save();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 18: _t->FilterEditTextChangedSlot((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 19: _t->OpenContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 20: _t->SettingsFileModelUpdated(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (IndexEditor::*)(const QString & )>(_a, &IndexEditor::ShowStatusMessageRequest, 0))
            return;
    }
}

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

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

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

// SIGNAL 0
void IndexEditor::ShowStatusMessageRequest(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
QT_WARNING_POP
