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

template <> constexpr inline auto SearchEditor::qt_create_metaobjectdata<qt_meta_tag_ZN12SearchEditorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "SearchEditor",
        "LoadSelectedSearchRequest",
        "",
        "SearchEditorModel::searchEntry*",
        "search_entry",
        "FindSelectedSearchRequest",
        "ReplaceCurrentSelectedSearchRequest",
        "ReplaceSelectedSearchRequest",
        "CountAllSelectedSearchRequest",
        "ReplaceAllSelectedSearchRequest",
        "RestartSearch",
        "ShowStatusMessageRequest",
        "message",
        "CountsReportCountRequest",
        "entry",
        "int&",
        "count",
        "AddEntry",
        "QStandardItem*",
        "is_group",
        "insert_after",
        "ShowMessage",
        "SelectionChanged",
        "SetCurrentEntriesFromFullName",
        "name",
        "reject",
        "showEvent",
        "QShowEvent*",
        "event",
        "AddGroup",
        "Edit",
        "Cut",
        "Copy",
        "Paste",
        "Delete",
        "Import",
        "Reload",
        "Export",
        "ExportAll",
        "CollapseAll",
        "ExpandAll",
        "FillControls",
        "Apply",
        "Save",
        "MoveUp",
        "MoveDown",
        "MoveLeft",
        "MoveRight",
        "LoadFindReplace",
        "Find",
        "ReplaceCurrent",
        "Replace",
        "CountAll",
        "ReplaceAll",
        "FilterEditTextChangedSlot",
        "text",
        "OpenContextMenu",
        "QPoint",
        "point",
        "SettingsFileModelUpdated",
        "ModelItemDropped",
        "QModelIndex",
        "index",
        "MakeCountsReport"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'LoadSelectedSearchRequest'
        QtMocHelpers::SignalData<void(SearchEditorModel::searchEntry *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'FindSelectedSearchRequest'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'ReplaceCurrentSelectedSearchRequest'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'ReplaceSelectedSearchRequest'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'CountAllSelectedSearchRequest'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'ReplaceAllSelectedSearchRequest'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'RestartSearch'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'ShowStatusMessageRequest'
        QtMocHelpers::SignalData<void(const QString &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 12 },
        }}),
        // Signal 'CountsReportCountRequest'
        QtMocHelpers::SignalData<void(SearchEditorModel::searchEntry *, int &)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 14 }, { 0x80000000 | 15, 16 },
        }}),
        // Slot 'AddEntry'
        QtMocHelpers::SlotData<QStandardItem *(bool, SearchEditorModel::searchEntry *, bool)>(17, 2, QMC::AccessPublic, 0x80000000 | 18, {{
            { QMetaType::Bool, 19 }, { 0x80000000 | 3, 4 }, { QMetaType::Bool, 20 },
        }}),
        // Slot 'AddEntry'
        QtMocHelpers::SlotData<QStandardItem *(bool, SearchEditorModel::searchEntry *)>(17, 2, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 18, {{
            { QMetaType::Bool, 19 }, { 0x80000000 | 3, 4 },
        }}),
        // Slot 'AddEntry'
        QtMocHelpers::SlotData<QStandardItem *(bool)>(17, 2, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 18, {{
            { QMetaType::Bool, 19 },
        }}),
        // Slot 'AddEntry'
        QtMocHelpers::SlotData<QStandardItem *()>(17, 2, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 18),
        // Slot 'ShowMessage'
        QtMocHelpers::SlotData<void(const QString &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 12 },
        }}),
        // Slot 'SelectionChanged'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'SetCurrentEntriesFromFullName'
        QtMocHelpers::SlotData<void(const QString &)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 24 },
        }}),
        // Slot 'reject'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'showEvent'
        QtMocHelpers::SlotData<void(QShowEvent *)>(26, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 27, 28 },
        }}),
        // Slot 'AddGroup'
        QtMocHelpers::SlotData<QStandardItem *()>(29, 2, QMC::AccessPrivate, 0x80000000 | 18),
        // Slot 'Edit'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Cut'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Copy'
        QtMocHelpers::SlotData<bool()>(32, 2, QMC::AccessPrivate, QMetaType::Bool),
        // Slot 'Paste'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Delete'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Import'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Reload'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Export'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'ExportAll'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'CollapseAll'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'ExpandAll'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'FillControls'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Apply'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Save'
        QtMocHelpers::SlotData<bool()>(43, 2, QMC::AccessPrivate, QMetaType::Bool),
        // Slot 'MoveUp'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'MoveDown'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'MoveLeft'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'MoveRight'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'LoadFindReplace'
        QtMocHelpers::SlotData<void()>(48, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Find'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'ReplaceCurrent'
        QtMocHelpers::SlotData<void()>(50, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'Replace'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'CountAll'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'ReplaceAll'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'FilterEditTextChangedSlot'
        QtMocHelpers::SlotData<void(const QString &)>(54, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 55 },
        }}),
        // Slot 'OpenContextMenu'
        QtMocHelpers::SlotData<void(const QPoint &)>(56, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 57, 58 },
        }}),
        // Slot 'SettingsFileModelUpdated'
        QtMocHelpers::SlotData<void()>(59, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'ModelItemDropped'
        QtMocHelpers::SlotData<void(const QModelIndex &)>(60, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 61, 62 },
        }}),
        // Slot 'MakeCountsReport'
        QtMocHelpers::SlotData<void()>(63, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<SearchEditor, qt_meta_tag_ZN12SearchEditorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject SearchEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12SearchEditorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12SearchEditorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12SearchEditorE_t>.metaTypes,
    nullptr
} };

void SearchEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<SearchEditor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->LoadSelectedSearchRequest((*reinterpret_cast<std::add_pointer_t<SearchEditorModel::searchEntry*>>(_a[1]))); break;
        case 1: _t->FindSelectedSearchRequest(); break;
        case 2: _t->ReplaceCurrentSelectedSearchRequest(); break;
        case 3: _t->ReplaceSelectedSearchRequest(); break;
        case 4: _t->CountAllSelectedSearchRequest(); break;
        case 5: _t->ReplaceAllSelectedSearchRequest(); break;
        case 6: _t->RestartSearch(); break;
        case 7: _t->ShowStatusMessageRequest((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 8: _t->CountsReportCountRequest((*reinterpret_cast<std::add_pointer_t<SearchEditorModel::searchEntry*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int&>>(_a[2]))); break;
        case 9: { QStandardItem* _r = _t->AddEntry((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<SearchEditorModel::searchEntry*>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])));
            if (_a[0]) *reinterpret_cast<QStandardItem**>(_a[0]) = std::move(_r); }  break;
        case 10: { QStandardItem* _r = _t->AddEntry((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<SearchEditorModel::searchEntry*>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QStandardItem**>(_a[0]) = std::move(_r); }  break;
        case 11: { 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 12: { QStandardItem* _r = _t->AddEntry();
            if (_a[0]) *reinterpret_cast<QStandardItem**>(_a[0]) = std::move(_r); }  break;
        case 13: _t->ShowMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 14: _t->SelectionChanged(); break;
        case 15: _t->SetCurrentEntriesFromFullName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 16: _t->reject(); break;
        case 17: _t->showEvent((*reinterpret_cast<std::add_pointer_t<QShowEvent*>>(_a[1]))); break;
        case 18: { QStandardItem* _r = _t->AddGroup();
            if (_a[0]) *reinterpret_cast<QStandardItem**>(_a[0]) = std::move(_r); }  break;
        case 19: _t->Edit(); break;
        case 20: _t->Cut(); break;
        case 21: { bool _r = _t->Copy();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 22: _t->Paste(); break;
        case 23: _t->Delete(); break;
        case 24: _t->Import(); break;
        case 25: _t->Reload(); break;
        case 26: _t->Export(); break;
        case 27: _t->ExportAll(); break;
        case 28: _t->CollapseAll(); break;
        case 29: _t->ExpandAll(); break;
        case 30: _t->FillControls(); break;
        case 31: _t->Apply(); break;
        case 32: { bool _r = _t->Save();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 33: _t->MoveUp(); break;
        case 34: _t->MoveDown(); break;
        case 35: _t->MoveLeft(); break;
        case 36: _t->MoveRight(); break;
        case 37: _t->LoadFindReplace(); break;
        case 38: _t->Find(); break;
        case 39: _t->ReplaceCurrent(); break;
        case 40: _t->Replace(); break;
        case 41: _t->CountAll(); break;
        case 42: _t->ReplaceAll(); break;
        case 43: _t->FilterEditTextChangedSlot((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 44: _t->OpenContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 45: _t->SettingsFileModelUpdated(); break;
        case 46: _t->ModelItemDropped((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 47: _t->MakeCountsReport(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (SearchEditor::*)(SearchEditorModel::searchEntry * )>(_a, &SearchEditor::LoadSelectedSearchRequest, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (SearchEditor::*)()>(_a, &SearchEditor::FindSelectedSearchRequest, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (SearchEditor::*)()>(_a, &SearchEditor::ReplaceCurrentSelectedSearchRequest, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (SearchEditor::*)()>(_a, &SearchEditor::ReplaceSelectedSearchRequest, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (SearchEditor::*)()>(_a, &SearchEditor::CountAllSelectedSearchRequest, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (SearchEditor::*)()>(_a, &SearchEditor::ReplaceAllSelectedSearchRequest, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (SearchEditor::*)()>(_a, &SearchEditor::RestartSearch, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (SearchEditor::*)(const QString & )>(_a, &SearchEditor::ShowStatusMessageRequest, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (SearchEditor::*)(SearchEditorModel::searchEntry * , int & )>(_a, &SearchEditor::CountsReportCountRequest, 8))
            return;
    }
}

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

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

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

// SIGNAL 0
void SearchEditor::LoadSelectedSearchRequest(SearchEditorModel::searchEntry * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

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

// SIGNAL 2
void SearchEditor::ReplaceCurrentSelectedSearchRequest()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void SearchEditor::ReplaceSelectedSearchRequest()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void SearchEditor::CountAllSelectedSearchRequest()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void SearchEditor::ReplaceAllSelectedSearchRequest()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void SearchEditor::RestartSearch()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

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

// SIGNAL 8
void SearchEditor::CountsReportCountRequest(SearchEditorModel::searchEntry * _t1, int & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1, _t2);
}
QT_WARNING_POP
