/****************************************************************************
** Meta object code from reading C++ file 'webbrowser.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 "../../../../../rssguard/src/librssguard/gui/webbrowser.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 'webbrowser.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_ZN10WebBrowserE_t {};
} // unnamed namespace

template <> constexpr inline auto WebBrowser::qt_create_metaobjectdata<qt_meta_tag_ZN10WebBrowserE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "WebBrowser",
        "iconChanged",
        "",
        "index",
        "QIcon",
        "icon",
        "titleChanged",
        "title",
        "cleanupCache",
        "clear",
        "also_hide",
        "loadUrlOrSearchPhrase",
        "text",
        "loadUrl",
        "url",
        "QUrl",
        "reloadPage",
        "goForward",
        "goBack",
        "setHtml",
        "html",
        "RootItem*",
        "root",
        "loadMessage",
        "Message",
        "message",
        "setToolBarVisible",
        "visible",
        "onLinkMouseHighlighted",
        "onLinkMouseClicked",
        "updateUrl",
        "onZoomFactorChanged",
        "playCurrentSiteInMediaPlayer",
        "openCurrentSiteInSystemBrowser",
        "onLoadingStarted",
        "onLoadingProgress",
        "progress",
        "onLoadingFinished",
        "success",
        "onOpenUrlInNewTab",
        "open_externally",
        "openViewerInNewTab",
        "WebViewer*",
        "viewer",
        "onTitleChanged",
        "new_title",
        "onIconChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'iconChanged'
        QtMocHelpers::SignalData<void(int, const QIcon &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { 0x80000000 | 4, 5 },
        }}),
        // Signal 'titleChanged'
        QtMocHelpers::SignalData<void(int, const QString &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { QMetaType::QString, 7 },
        }}),
        // Slot 'cleanupCache'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clear'
        QtMocHelpers::SlotData<void(bool)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 10 },
        }}),
        // Slot 'loadUrlOrSearchPhrase'
        QtMocHelpers::SlotData<void(const QString &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 12 },
        }}),
        // Slot 'loadUrl'
        QtMocHelpers::SlotData<void(const QString &)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 14 },
        }}),
        // Slot 'loadUrl'
        QtMocHelpers::SlotData<void(const QUrl &)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 14 },
        }}),
        // Slot 'reloadPage'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'goForward'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'goBack'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setHtml'
        QtMocHelpers::SlotData<void(const QString &, const QUrl &, RootItem *)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 20 }, { 0x80000000 | 15, 14 }, { 0x80000000 | 21, 22 },
        }}),
        // Slot 'setHtml'
        QtMocHelpers::SlotData<void(const QString &, const QUrl &)>(19, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 20 }, { 0x80000000 | 15, 14 },
        }}),
        // Slot 'setHtml'
        QtMocHelpers::SlotData<void(const QString &)>(19, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 20 },
        }}),
        // Slot 'loadMessage'
        QtMocHelpers::SlotData<void(const Message &, RootItem *)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 24, 25 }, { 0x80000000 | 21, 22 },
        }}),
        // Slot 'setToolBarVisible'
        QtMocHelpers::SlotData<void(bool)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 27 },
        }}),
        // Slot 'onLinkMouseHighlighted'
        QtMocHelpers::SlotData<void(const QUrl &)>(28, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 15, 14 },
        }}),
        // Slot 'onLinkMouseClicked'
        QtMocHelpers::SlotData<void(const QUrl &)>(29, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 15, 14 },
        }}),
        // Slot 'updateUrl'
        QtMocHelpers::SlotData<void(const QUrl &)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 15, 14 },
        }}),
        // Slot 'onZoomFactorChanged'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'playCurrentSiteInMediaPlayer'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'openCurrentSiteInSystemBrowser'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onLoadingStarted'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onLoadingProgress'
        QtMocHelpers::SlotData<void(int)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 36 },
        }}),
        // Slot 'onLoadingFinished'
        QtMocHelpers::SlotData<void(bool)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 38 },
        }}),
        // Slot 'onOpenUrlInNewTab'
        QtMocHelpers::SlotData<void(bool, const QUrl &)>(39, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 40 }, { 0x80000000 | 15, 14 },
        }}),
        // Slot 'openViewerInNewTab'
        QtMocHelpers::SlotData<void(WebViewer *)>(41, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 42, 43 },
        }}),
        // Slot 'onTitleChanged'
        QtMocHelpers::SlotData<void(const QString &)>(44, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 45 },
        }}),
        // Slot 'onIconChanged'
        QtMocHelpers::SlotData<void(const QIcon &)>(46, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<WebBrowser, qt_meta_tag_ZN10WebBrowserE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject WebBrowser::staticMetaObject = { {
    QMetaObject::SuperData::link<TabContent::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10WebBrowserE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10WebBrowserE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10WebBrowserE_t>.metaTypes,
    nullptr
} };

void WebBrowser::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<WebBrowser *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->iconChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QIcon>>(_a[2]))); break;
        case 1: _t->titleChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 2: _t->cleanupCache(); break;
        case 3: _t->clear((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->loadUrlOrSearchPhrase((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->loadUrl((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 6: _t->loadUrl((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 7: _t->reloadPage(); break;
        case 8: _t->goForward(); break;
        case 9: _t->goBack(); break;
        case 10: _t->setHtml((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[3]))); break;
        case 11: _t->setHtml((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2]))); break;
        case 12: _t->setHtml((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 13: _t->loadMessage((*reinterpret_cast<std::add_pointer_t<Message>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[2]))); break;
        case 14: _t->setToolBarVisible((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 15: _t->onLinkMouseHighlighted((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 16: _t->onLinkMouseClicked((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 17: _t->updateUrl((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 18: _t->onZoomFactorChanged(); break;
        case 19: _t->playCurrentSiteInMediaPlayer(); break;
        case 20: _t->openCurrentSiteInSystemBrowser(); break;
        case 21: _t->onLoadingStarted(); break;
        case 22: _t->onLoadingProgress((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 23: _t->onLoadingFinished((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 24: _t->onOpenUrlInNewTab((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2]))); break;
        case 25: _t->openViewerInNewTab((*reinterpret_cast<std::add_pointer_t<WebViewer*>>(_a[1]))); break;
        case 26: _t->onTitleChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 27: _t->onIconChanged((*reinterpret_cast<std::add_pointer_t<QIcon>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< RootItem* >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< RootItem* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (WebBrowser::*)(int , const QIcon & )>(_a, &WebBrowser::iconChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebBrowser::*)(int , const QString & )>(_a, &WebBrowser::titleChanged, 1))
            return;
    }
}

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

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

int WebBrowser::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = TabContent::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    }
    return _id;
}

// SIGNAL 0
void WebBrowser::iconChanged(int _t1, const QIcon & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void WebBrowser::titleChanged(int _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}
QT_WARNING_POP
