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

#include "../../../../../rssguard/src/librssguard/gui/webviewers/qtextbrowser/textbrowserviewer.h"
#include <QtNetwork/QSslError>
#include <QtGui/qtextcursor.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 'textbrowserviewer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN26TextBrowserImageDownloaderE_t {};
} // unnamed namespace

template <> constexpr inline auto TextBrowserImageDownloader::qt_create_metaobjectdata<qt_meta_tag_ZN26TextBrowserImageDownloaderE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TextBrowserImageDownloader",
        "imageDownloaded",
        "",
        "QUrl",
        "image_url",
        "QImage",
        "image",
        "downloadProgress",
        "progress",
        "downloadFinished",
        "success",
        "downloadImages"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'imageDownloaded'
        QtMocHelpers::SignalData<void(const QUrl &, const QImage &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 5, 6 },
        }}),
        // Signal 'downloadProgress'
        QtMocHelpers::SignalData<void(int)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 8 },
        }}),
        // Signal 'downloadFinished'
        QtMocHelpers::SignalData<void(bool)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 10 },
        }}),
        // Slot 'downloadImages'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TextBrowserImageDownloader, qt_meta_tag_ZN26TextBrowserImageDownloaderE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject TextBrowserImageDownloader::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN26TextBrowserImageDownloaderE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN26TextBrowserImageDownloaderE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN26TextBrowserImageDownloaderE_t>.metaTypes,
    nullptr
} };

void TextBrowserImageDownloader::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TextBrowserImageDownloader *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->imageDownloaded((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QImage>>(_a[2]))); break;
        case 1: _t->downloadProgress((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->downloadFinished((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->downloadImages(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (TextBrowserImageDownloader::*)(const QUrl & , const QImage & )>(_a, &TextBrowserImageDownloader::imageDownloaded, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (TextBrowserImageDownloader::*)(int )>(_a, &TextBrowserImageDownloader::downloadProgress, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (TextBrowserImageDownloader::*)(bool )>(_a, &TextBrowserImageDownloader::downloadFinished, 2))
            return;
    }
}

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

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

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

// SIGNAL 0
void TextBrowserImageDownloader::imageDownloaded(const QUrl & _t1, const QImage & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void TextBrowserImageDownloader::downloadProgress(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void TextBrowserImageDownloader::downloadFinished(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN19TextBrowserDocumentE_t {};
} // unnamed namespace

template <> constexpr inline auto TextBrowserDocument::qt_create_metaobjectdata<qt_meta_tag_ZN19TextBrowserDocumentE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TextBrowserDocument"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TextBrowserDocument, qt_meta_tag_ZN19TextBrowserDocumentE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject TextBrowserDocument::staticMetaObject = { {
    QMetaObject::SuperData::link<QTextDocument::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19TextBrowserDocumentE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19TextBrowserDocumentE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19TextBrowserDocumentE_t>.metaTypes,
    nullptr
} };

void TextBrowserDocument::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TextBrowserDocument *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

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

int TextBrowserDocument::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTextDocument::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN17TextBrowserViewerE_t {};
} // unnamed namespace

template <> constexpr inline auto TextBrowserViewer::qt_create_metaobjectdata<qt_meta_tag_ZN17TextBrowserViewerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TextBrowserViewer",
        "reloadPageEnabledChanged",
        "",
        "can_go_forward",
        "goBackEnabledChanged",
        "can_go_back",
        "goForwardEnabledChanged",
        "pageTitleChanged",
        "new_title",
        "pageUrlChanged",
        "QUrl",
        "url",
        "pageIconChanged",
        "QIcon",
        "linkMouseHighlighted",
        "linkMouseClicked",
        "LinkNavigationHints",
        "hints",
        "loadingStarted",
        "loadingProgress",
        "progress",
        "loadingFinished",
        "success",
        "openUrlInNewTab",
        "open_externally"
    };

    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, 2 },
        }}),
        // Signal 'linkMouseHighlighted'
        QtMocHelpers::SignalData<void(const QUrl &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Signal 'linkMouseClicked'
        QtMocHelpers::SignalData<void(const QUrl &, LinkNavigationHints)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 }, { 0x80000000 | 16, 17 },
        }}),
        // Signal 'linkMouseClicked'
        QtMocHelpers::SignalData<void(const QUrl &)>(15, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Signal 'loadingStarted'
        QtMocHelpers::SignalData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'loadingProgress'
        QtMocHelpers::SignalData<void(int)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 20 },
        }}),
        // Signal 'loadingFinished'
        QtMocHelpers::SignalData<void(bool)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 22 },
        }}),
        // Signal 'openUrlInNewTab'
        QtMocHelpers::SignalData<void(bool, const QUrl &)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 24 }, { 0x80000000 | 10, 11 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TextBrowserViewer, qt_meta_tag_ZN17TextBrowserViewerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject TextBrowserViewer::staticMetaObject = { {
    QMetaObject::SuperData::link<QTextBrowser::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17TextBrowserViewerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17TextBrowserViewerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN17TextBrowserViewerE_t>.metaTypes,
    nullptr
} };

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

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

void *TextBrowserViewer::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17TextBrowserViewerE_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 QTextBrowser::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

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

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

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

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