/****************************************************************************
** Meta object code from reading C++ file 'SpellcheckEditor.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/SpellcheckEditor.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 'SpellcheckEditor.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_ZN16SpellcheckEditorE_t {};
} // unnamed namespace

template <> constexpr inline auto SpellcheckEditor::qt_create_metaobjectdata<qt_meta_tag_ZN16SpellcheckEditorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "SpellcheckEditor",
        "ShowStatusMessageRequest",
        "",
        "message",
        "SpellingHighlightRefreshRequest",
        "FindWordRequest",
        "word",
        "UpdateWordRequest",
        "old_word",
        "new_word",
        "Refresh",
        "sort_column",
        "Qt::SortOrder",
        "sort_order",
        "showEvent",
        "QShowEvent*",
        "event",
        "FindSelectedWord",
        "SelectionChanged",
        "QItemSelection",
        "selected",
        "deselected",
        "UpdateSuggestions",
        "DictionaryChanged",
        "dictionary",
        "ChangeState",
        "state",
        "Ignore",
        "Add",
        "SelectAll",
        "Save",
        "CopySelected",
        "ChangeAll",
        "toggleShowAllWords",
        "toggleLocaleAwareSort",
        "FilterEditTextChangedSlot",
        "text",
        "OpenContextMenu",
        "QPoint",
        "point",
        "Sort",
        "logicalindex",
        "order",
        "SelectRow",
        "row"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'ShowStatusMessageRequest'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'SpellingHighlightRefreshRequest'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'FindWordRequest'
        QtMocHelpers::SignalData<void(QString)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Signal 'UpdateWordRequest'
        QtMocHelpers::SignalData<void(QString, QString)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 }, { QMetaType::QString, 9 },
        }}),
        // Slot 'Refresh'
        QtMocHelpers::SlotData<void(int, Qt::SortOrder)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 11 }, { 0x80000000 | 12, 13 },
        }}),
        // Slot 'Refresh'
        QtMocHelpers::SlotData<void(int)>(10, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Int, 11 },
        }}),
        // Slot 'Refresh'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'showEvent'
        QtMocHelpers::SlotData<void(QShowEvent *)>(14, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 15, 16 },
        }}),
        // Slot 'FindSelectedWord'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'SelectionChanged'
        QtMocHelpers::SlotData<void(const QItemSelection &, const QItemSelection &)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 19, 20 }, { 0x80000000 | 19, 21 },
        }}),
        // Slot 'UpdateSuggestions'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'DictionaryChanged'
        QtMocHelpers::SlotData<void(QString)>(23, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 24 },
        }}),
        // Slot 'ChangeState'
        QtMocHelpers::SlotData<void(int)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 26 },
        }}),
        // Slot 'Ignore'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Add'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'SelectAll'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Save'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'CopySelected'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'ChangeAll'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'toggleShowAllWords'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'toggleLocaleAwareSort'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'FilterEditTextChangedSlot'
        QtMocHelpers::SlotData<void(const QString &)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 36 },
        }}),
        // Slot 'OpenContextMenu'
        QtMocHelpers::SlotData<void(const QPoint &)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 38, 39 },
        }}),
        // Slot 'Sort'
        QtMocHelpers::SlotData<void(int, Qt::SortOrder)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 41 }, { 0x80000000 | 12, 42 },
        }}),
        // Slot 'SelectRow'
        QtMocHelpers::SlotData<void(int)>(43, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 44 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<SpellcheckEditor, qt_meta_tag_ZN16SpellcheckEditorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject SpellcheckEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16SpellcheckEditorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16SpellcheckEditorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16SpellcheckEditorE_t>.metaTypes,
    nullptr
} };

void SpellcheckEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<SpellcheckEditor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->ShowStatusMessageRequest((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->SpellingHighlightRefreshRequest(); break;
        case 2: _t->FindWordRequest((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->UpdateWordRequest((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 4: _t->Refresh((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Qt::SortOrder>>(_a[2]))); break;
        case 5: _t->Refresh((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 6: _t->Refresh(); break;
        case 7: _t->showEvent((*reinterpret_cast<std::add_pointer_t<QShowEvent*>>(_a[1]))); break;
        case 8: _t->FindSelectedWord(); break;
        case 9: _t->SelectionChanged((*reinterpret_cast<std::add_pointer_t<QItemSelection>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QItemSelection>>(_a[2]))); break;
        case 10: _t->UpdateSuggestions(); break;
        case 11: _t->DictionaryChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 12: _t->ChangeState((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 13: _t->Ignore(); break;
        case 14: _t->Add(); break;
        case 15: _t->SelectAll(); break;
        case 16: _t->Save(); break;
        case 17: _t->CopySelected(); break;
        case 18: _t->ChangeAll(); break;
        case 19: _t->toggleShowAllWords(); break;
        case 20: _t->toggleLocaleAwareSort(); break;
        case 21: _t->FilterEditTextChangedSlot((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 22: _t->OpenContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 23: _t->Sort((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Qt::SortOrder>>(_a[2]))); break;
        case 24: _t->SelectRow((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (SpellcheckEditor::*)(const QString & )>(_a, &SpellcheckEditor::ShowStatusMessageRequest, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (SpellcheckEditor::*)()>(_a, &SpellcheckEditor::SpellingHighlightRefreshRequest, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (SpellcheckEditor::*)(QString )>(_a, &SpellcheckEditor::FindWordRequest, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (SpellcheckEditor::*)(QString , QString )>(_a, &SpellcheckEditor::UpdateWordRequest, 3))
            return;
    }
}

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

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

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

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

// SIGNAL 1
void SpellcheckEditor::SpellingHighlightRefreshRequest()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void SpellcheckEditor::FindWordRequest(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void SpellcheckEditor::UpdateWordRequest(QString _t1, QString _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2);
}
QT_WARNING_POP
