/****************************************************************************
** Meta object code from reading C++ file 'GuiSearch.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "GuiSearch.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 'GuiSearch.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. 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_ZN3lyx8frontend15GuiSearchWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto lyx::frontend::GuiSearchWidget::qt_create_metaobjectdata<qt_meta_tag_ZN3lyx8frontend15GuiSearchWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "lyx::frontend::GuiSearchWidget",
        "needTitleBarUpdate",
        "",
        "needSizeUpdate",
        "findChanged",
        "findBufferChanged",
        "findClicked",
        "findPrevClicked",
        "replaceClicked",
        "replacePrevClicked",
        "replaceallClicked",
        "minimizeClicked",
        "toggle",
        "caseSenseActTriggered",
        "wholeWordsActTriggered",
        "searchSelActTriggered",
        "immediateActTriggered",
        "immediateClicked",
        "wrapActTriggered",
        "onDockWidgetVisibilityChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'needTitleBarUpdate'
        QtMocHelpers::SignalData<void() const>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'needSizeUpdate'
        QtMocHelpers::SignalData<void() const>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'findChanged'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'findBufferChanged'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'findClicked'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'findPrevClicked'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'replaceClicked'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'replacePrevClicked'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'replaceallClicked'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'minimizeClicked'
        QtMocHelpers::SlotData<void(bool const)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 12 },
        }}),
        // Slot 'minimizeClicked'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'caseSenseActTriggered'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'wholeWordsActTriggered'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'searchSelActTriggered'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'immediateActTriggered'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'immediateClicked'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'wrapActTriggered'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onDockWidgetVisibilityChanged'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<GuiSearchWidget, qt_meta_tag_ZN3lyx8frontend15GuiSearchWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject lyx::frontend::GuiSearchWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend15GuiSearchWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend15GuiSearchWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3lyx8frontend15GuiSearchWidgetE_t>.metaTypes,
    nullptr
} };

void lyx::frontend::GuiSearchWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<GuiSearchWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->needTitleBarUpdate(); break;
        case 1: _t->needSizeUpdate(); break;
        case 2: _t->findChanged(); break;
        case 3: _t->findBufferChanged(); break;
        case 4: _t->findClicked(); break;
        case 5: _t->findPrevClicked(); break;
        case 6: _t->replaceClicked(); break;
        case 7: _t->replacePrevClicked(); break;
        case 8: _t->replaceallClicked(); break;
        case 9: _t->minimizeClicked((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 10: _t->minimizeClicked(); break;
        case 11: _t->caseSenseActTriggered(); break;
        case 12: _t->wholeWordsActTriggered(); break;
        case 13: _t->searchSelActTriggered(); break;
        case 14: _t->immediateActTriggered(); break;
        case 15: _t->immediateClicked(); break;
        case 16: _t->wrapActTriggered(); break;
        case 17: _t->onDockWidgetVisibilityChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (GuiSearchWidget::*)() const>(_a, &GuiSearchWidget::needTitleBarUpdate, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (GuiSearchWidget::*)() const>(_a, &GuiSearchWidget::needSizeUpdate, 1))
            return;
    }
}

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

void *lyx::frontend::GuiSearchWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend15GuiSearchWidgetE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Ui::SearchUi"))
        return static_cast< Ui::SearchUi*>(this);
    return QWidget::qt_metacast(_clname);
}

int lyx::frontend::GuiSearchWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::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 lyx::frontend::GuiSearchWidget::needTitleBarUpdate()const
{
    QMetaObject::activate(const_cast< lyx::frontend::GuiSearchWidget *>(this), &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void lyx::frontend::GuiSearchWidget::needSizeUpdate()const
{
    QMetaObject::activate(const_cast< lyx::frontend::GuiSearchWidget *>(this), &staticMetaObject, 1, nullptr);
}
namespace {
struct qt_meta_tag_ZN3lyx8frontend9GuiSearchE_t {};
} // unnamed namespace

template <> constexpr inline auto lyx::frontend::GuiSearch::qt_create_metaobjectdata<qt_meta_tag_ZN3lyx8frontend9GuiSearchE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "lyx::frontend::GuiSearch",
        "onBufferViewChanged",
        "",
        "updateTitle",
        "updateSize"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'onBufferViewChanged'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateTitle'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateSize'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<GuiSearch, qt_meta_tag_ZN3lyx8frontend9GuiSearchE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject lyx::frontend::GuiSearch::staticMetaObject = { {
    QMetaObject::SuperData::link<DockView::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend9GuiSearchE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend9GuiSearchE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3lyx8frontend9GuiSearchE_t>.metaTypes,
    nullptr
} };

void lyx::frontend::GuiSearch::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<GuiSearch *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->onBufferViewChanged(); break;
        case 1: _t->updateTitle(); break;
        case 2: _t->updateSize(); break;
        default: ;
        }
    }
    (void)_a;
}

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

void *lyx::frontend::GuiSearch::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3lyx8frontend9GuiSearchE_t>.strings))
        return static_cast<void*>(this);
    return DockView::qt_metacast(_clname);
}

int lyx::frontend::GuiSearch::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DockView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 3;
    }
    return _id;
}
QT_WARNING_POP
