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

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

template <> constexpr inline auto dooble_search_engines_popup::qt_create_metaobjectdata<qt_meta_tag_ZN27dooble_search_engines_popupE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "dooble_search_engines_popup",
        "open_link",
        "",
        "QUrl",
        "url",
        "open_link_in_new_tab",
        "populated",
        "show",
        "slot_add_predefined",
        "slot_add_search_engine",
        "slot_delete_selected",
        "slot_double_clicked",
        "QModelIndex",
        "index",
        "slot_find",
        "slot_item_changed",
        "QStandardItem*",
        "item",
        "slot_populate",
        "slot_search_timer_timeout",
        "slot_settings_applied",
        "slot_splitter_moved",
        "pos"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'open_link'
        QtMocHelpers::SignalData<void(const QUrl &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'open_link_in_new_tab'
        QtMocHelpers::SignalData<void(const QUrl &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'populated'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'show'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slot_add_predefined'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slot_add_search_engine'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slot_delete_selected'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slot_double_clicked'
        QtMocHelpers::SlotData<void(const QModelIndex &)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Slot 'slot_find'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slot_item_changed'
        QtMocHelpers::SlotData<void(QStandardItem *)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Slot 'slot_populate'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slot_search_timer_timeout'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slot_settings_applied'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slot_splitter_moved'
        QtMocHelpers::SlotData<void(int, int)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 22 }, { QMetaType::Int, 13 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<dooble_search_engines_popup, qt_meta_tag_ZN27dooble_search_engines_popupE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject dooble_search_engines_popup::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN27dooble_search_engines_popupE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN27dooble_search_engines_popupE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN27dooble_search_engines_popupE_t>.metaTypes,
    nullptr
} };

void dooble_search_engines_popup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<dooble_search_engines_popup *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->open_link((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 1: _t->open_link_in_new_tab((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 2: _t->populated(); break;
        case 3: _t->show(); break;
        case 4: _t->slot_add_predefined(); break;
        case 5: _t->slot_add_search_engine(); break;
        case 6: _t->slot_delete_selected(); break;
        case 7: _t->slot_double_clicked((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 8: _t->slot_find(); break;
        case 9: _t->slot_item_changed((*reinterpret_cast<std::add_pointer_t<QStandardItem*>>(_a[1]))); break;
        case 10: _t->slot_populate(); break;
        case 11: _t->slot_search_timer_timeout(); break;
        case 12: _t->slot_settings_applied(); break;
        case 13: _t->slot_splitter_moved((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (dooble_search_engines_popup::*)(const QUrl & )>(_a, &dooble_search_engines_popup::open_link, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_search_engines_popup::*)(const QUrl & )>(_a, &dooble_search_engines_popup::open_link_in_new_tab, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_search_engines_popup::*)()>(_a, &dooble_search_engines_popup::populated, 2))
            return;
    }
}

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

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

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

// SIGNAL 0
void dooble_search_engines_popup::open_link(const QUrl & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void dooble_search_engines_popup::open_link_in_new_tab(const QUrl & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void dooble_search_engines_popup::populated()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
