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

template <> constexpr inline auto ActionWatcher::qt_create_metaobjectdata<qt_meta_tag_ZN13ActionWatcherE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ActionWatcher",
        "enabledChanged",
        "",
        "enabled",
        "onChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'enabledChanged'
        QtMocHelpers::SignalData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Slot 'onChanged'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ActionWatcher, qt_meta_tag_ZN13ActionWatcherE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ActionWatcher::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13ActionWatcherE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13ActionWatcherE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13ActionWatcherE_t>.metaTypes,
    nullptr
} };

void ActionWatcher::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ActionWatcher *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->enabledChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->onChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ActionWatcher::*)(bool )>(_a, &ActionWatcher::enabledChanged, 0))
            return;
    }
}

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

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

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

// SIGNAL 0
void ActionWatcher::enabledChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN15WebEngineViewerE_t {};
} // unnamed namespace

template <> constexpr inline auto WebEngineViewer::qt_create_metaobjectdata<qt_meta_tag_ZN15WebEngineViewerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "WebEngineViewer",
        "reloadPageEnabledChanged",
        "",
        "can_go_forward",
        "goBackEnabledChanged",
        "can_go_back",
        "goForwardEnabledChanged",
        "pageTitleChanged",
        "new_title",
        "pageUrlChanged",
        "QUrl",
        "url",
        "pageIconChanged",
        "QIcon",
        "icon",
        "linkMouseHighlighted",
        "linkMouseClicked",
        "loadingStarted",
        "loadingProgress",
        "progress",
        "loadingFinished",
        "success",
        "openUrlInNewTab",
        "open_externally",
        "openViewerInNewTab",
        "WebViewer*",
        "viewer",
        "printToPdf",
        "saveCompleteWebPage"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'reloadPageEnabledChanged'
        QtMocHelpers::SignalData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'goBackEnabledChanged'
        QtMocHelpers::SignalData<void(bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 5 },
        }}),
        // Signal 'goForwardEnabledChanged'
        QtMocHelpers::SignalData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'pageTitleChanged'
        QtMocHelpers::SignalData<void(const QString &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 },
        }}),
        // Signal 'pageUrlChanged'
        QtMocHelpers::SignalData<void(const QUrl &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Signal 'pageIconChanged'
        QtMocHelpers::SignalData<void(const QIcon &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Signal 'linkMouseHighlighted'
        QtMocHelpers::SignalData<void(const QUrl &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Signal 'linkMouseClicked'
        QtMocHelpers::SignalData<void(const QUrl &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Signal 'loadingStarted'
        QtMocHelpers::SignalData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'loadingProgress'
        QtMocHelpers::SignalData<void(int)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 19 },
        }}),
        // Signal 'loadingFinished'
        QtMocHelpers::SignalData<void(bool)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 21 },
        }}),
        // Signal 'openUrlInNewTab'
        QtMocHelpers::SignalData<void(bool, const QUrl &)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 23 }, { 0x80000000 | 10, 11 },
        }}),
        // Signal 'openViewerInNewTab'
        QtMocHelpers::SignalData<void(WebViewer *)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 25, 26 },
        }}),
        // Slot 'printToPdf'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'saveCompleteWebPage'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<WebEngineViewer, qt_meta_tag_ZN15WebEngineViewerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject WebEngineViewer::staticMetaObject = { {
    QMetaObject::SuperData::link<QWebEngineView::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15WebEngineViewerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15WebEngineViewerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15WebEngineViewerE_t>.metaTypes,
    nullptr
} };

void WebEngineViewer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<WebEngineViewer *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->reloadPageEnabledChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->goBackEnabledChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->goForwardEnabledChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->pageTitleChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->pageUrlChanged((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 5: _t->pageIconChanged((*reinterpret_cast<std::add_pointer_t<QIcon>>(_a[1]))); break;
        case 6: _t->linkMouseHighlighted((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 7: _t->linkMouseClicked((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 8: _t->loadingStarted(); break;
        case 9: _t->loadingProgress((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 10: _t->loadingFinished((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 11: _t->openUrlInNewTab((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2]))); break;
        case 12: _t->openViewerInNewTab((*reinterpret_cast<std::add_pointer_t<WebViewer*>>(_a[1]))); break;
        case 13: _t->printToPdf(); break;
        case 14: _t->saveCompleteWebPage(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (WebEngineViewer::*)(bool )>(_a, &WebEngineViewer::reloadPageEnabledChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebEngineViewer::*)(bool )>(_a, &WebEngineViewer::goBackEnabledChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebEngineViewer::*)(bool )>(_a, &WebEngineViewer::goForwardEnabledChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebEngineViewer::*)(const QString & )>(_a, &WebEngineViewer::pageTitleChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebEngineViewer::*)(const QUrl & )>(_a, &WebEngineViewer::pageUrlChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebEngineViewer::*)(const QIcon & )>(_a, &WebEngineViewer::pageIconChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebEngineViewer::*)(const QUrl & )>(_a, &WebEngineViewer::linkMouseHighlighted, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebEngineViewer::*)(const QUrl & )>(_a, &WebEngineViewer::linkMouseClicked, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebEngineViewer::*)()>(_a, &WebEngineViewer::loadingStarted, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebEngineViewer::*)(int )>(_a, &WebEngineViewer::loadingProgress, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebEngineViewer::*)(bool )>(_a, &WebEngineViewer::loadingFinished, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebEngineViewer::*)(bool , const QUrl & )>(_a, &WebEngineViewer::openUrlInNewTab, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebEngineViewer::*)(WebViewer * )>(_a, &WebEngineViewer::openViewerInNewTab, 12))
            return;
    }
}

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

void *WebEngineViewer::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15WebEngineViewerE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "WebViewer"))
        return static_cast< WebViewer*>(this);
    if (!strcmp(_clname, "WebViewer"))
        return static_cast< WebViewer*>(this);
    return QWebEngineView::qt_metacast(_clname);
}

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

// SIGNAL 0
void WebEngineViewer::reloadPageEnabledChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void WebEngineViewer::goBackEnabledChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void WebEngineViewer::goForwardEnabledChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void WebEngineViewer::pageTitleChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void WebEngineViewer::pageUrlChanged(const QUrl & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void WebEngineViewer::pageIconChanged(const QIcon & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void WebEngineViewer::linkMouseHighlighted(const QUrl & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void WebEngineViewer::linkMouseClicked(const QUrl & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void WebEngineViewer::loadingStarted()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void WebEngineViewer::loadingProgress(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void WebEngineViewer::loadingFinished(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

// SIGNAL 11
void WebEngineViewer::openUrlInNewTab(bool _t1, const QUrl & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1, _t2);
}

// SIGNAL 12
void WebEngineViewer::openViewerInNewTab(WebViewer * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}
QT_WARNING_POP
