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

template <> constexpr inline auto dooble_history::qt_create_metaobjectdata<qt_meta_tag_ZN14dooble_historyE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "dooble_history",
        "icon_updated",
        "",
        "QIcon",
        "icon",
        "QUrl",
        "url",
        "item_updated",
        "QWebEngineHistoryItem",
        "item",
        "new_item",
        "populated",
        "QListPairIconString",
        "list",
        "populated_favorites",
        "QListVectorByteArray",
        "favorites",
        "remove_items",
        "QListUrl",
        "urls",
        "slot_populate",
        "slot_populated_favorites",
        "slot_remove_items",
        "slot_purge_timer_timeout"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'icon_updated'
        QtMocHelpers::SignalData<void(const QIcon &, const QUrl &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 5, 6 },
        }}),
        // Signal 'item_updated'
        QtMocHelpers::SignalData<void(const QIcon &, const QWebEngineHistoryItem &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 8, 9 },
        }}),
        // Signal 'new_item'
        QtMocHelpers::SignalData<void(const QIcon &, const QWebEngineHistoryItem &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 8, 9 },
        }}),
        // Signal 'populated'
        QtMocHelpers::SignalData<void(const QListPairIconString &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Signal 'populated'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'populated_favorites'
        QtMocHelpers::SignalData<void(const QListVectorByteArray &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 },
        }}),
        // Signal 'remove_items'
        QtMocHelpers::SignalData<void(const QListUrl &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 19 },
        }}),
        // Slot 'slot_populate'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slot_populated_favorites'
        QtMocHelpers::SlotData<void(const QListVectorByteArray &)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 15, 16 },
        }}),
        // Slot 'slot_remove_items'
        QtMocHelpers::SlotData<void(const QListUrl &)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 18, 19 },
        }}),
        // Slot 'slot_purge_timer_timeout'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<dooble_history, qt_meta_tag_ZN14dooble_historyE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject dooble_history::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14dooble_historyE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14dooble_historyE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14dooble_historyE_t>.metaTypes,
    nullptr
} };

void dooble_history::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<dooble_history *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->icon_updated((*reinterpret_cast<std::add_pointer_t<QIcon>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2]))); break;
        case 1: _t->item_updated((*reinterpret_cast<std::add_pointer_t<QIcon>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QWebEngineHistoryItem>>(_a[2]))); break;
        case 2: _t->new_item((*reinterpret_cast<std::add_pointer_t<QIcon>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QWebEngineHistoryItem>>(_a[2]))); break;
        case 3: _t->populated((*reinterpret_cast<std::add_pointer_t<QListPairIconString>>(_a[1]))); break;
        case 4: _t->populated(); break;
        case 5: _t->populated_favorites((*reinterpret_cast<std::add_pointer_t<QListVectorByteArray>>(_a[1]))); break;
        case 6: _t->remove_items((*reinterpret_cast<std::add_pointer_t<QListUrl>>(_a[1]))); break;
        case 7: _t->slot_populate(); break;
        case 8: _t->slot_populated_favorites((*reinterpret_cast<std::add_pointer_t<QListVectorByteArray>>(_a[1]))); break;
        case 9: _t->slot_remove_items((*reinterpret_cast<std::add_pointer_t<QListUrl>>(_a[1]))); break;
        case 10: _t->slot_purge_timer_timeout(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (dooble_history::*)(const QIcon & , const QUrl & )>(_a, &dooble_history::icon_updated, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_history::*)(const QIcon & , const QWebEngineHistoryItem & )>(_a, &dooble_history::item_updated, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_history::*)(const QIcon & , const QWebEngineHistoryItem & )>(_a, &dooble_history::new_item, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_history::*)(const QListPairIconString & )>(_a, &dooble_history::populated, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_history::*)()>(_a, &dooble_history::populated, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_history::*)(const QListVectorByteArray & )>(_a, &dooble_history::populated_favorites, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (dooble_history::*)(const QListUrl & )>(_a, &dooble_history::remove_items, 6))
            return;
    }
}

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

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

int dooble_history::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void dooble_history::icon_updated(const QIcon & _t1, const QUrl & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void dooble_history::item_updated(const QIcon & _t1, const QWebEngineHistoryItem & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void dooble_history::new_item(const QIcon & _t1, const QWebEngineHistoryItem & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void dooble_history::populated(const QListPairIconString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

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

// SIGNAL 5
void dooble_history::populated_favorites(const QListVectorByteArray & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void dooble_history::remove_items(const QListUrl & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}
QT_WARNING_POP
