/****************************************************************************
** Meta object code from reading C++ file 'tabwidget.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/tabwidget.h"
#include <QtNetwork/QSslError>
#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 'tabwidget.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_ZN9TabWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto TabWidget::qt_create_metaobjectdata<qt_meta_tag_ZN9TabWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TabWidget",
        "scrollUpCurrentBrowser",
        "",
        "scrollDownCurrentBrowser",
        "checkCornerButtonVisibility",
        "updateAppearance",
        "closeTab",
        "index",
        "closeTabWithSender",
        "closeAllTabsExceptCurrent",
        "closeAllTabs",
        "closeCurrentTab",
        "addSingleMessageView",
        "RootItem*",
        "root",
        "Message",
        "message",
        "Feed*",
        "feed",
        "addMediaPlayer",
        "url",
        "make_active",
        "addLinkedBrowser",
        "QUrl",
        "initial_url",
        "addEmptyBrowser",
        "addBrowser",
        "move_after_current",
        "WebBrowser*",
        "browser",
        "gotoNextTab",
        "gotoPreviousTab",
        "fixContentsAfterMove",
        "from",
        "to",
        "changeTitle",
        "new_title",
        "changeIcon",
        "QIcon",
        "new_icon",
        "openMainMenu"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'scrollUpCurrentBrowser'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'scrollDownCurrentBrowser'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'checkCornerButtonVisibility'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateAppearance'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'closeTab'
        QtMocHelpers::SlotData<bool(int)>(6, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Int, 7 },
        }}),
        // Slot 'closeTabWithSender'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'closeAllTabsExceptCurrent'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'closeAllTabs'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'closeCurrentTab'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'addSingleMessageView'
        QtMocHelpers::SlotData<int(RootItem *, const Message &, Feed *)>(12, 2, QMC::AccessPublic, QMetaType::Int, {{
            { 0x80000000 | 13, 14 }, { 0x80000000 | 15, 16 }, { 0x80000000 | 17, 18 },
        }}),
        // Slot 'addMediaPlayer'
        QtMocHelpers::SlotData<int(const QString &, bool)>(19, 2, QMC::AccessPublic, QMetaType::Int, {{
            { QMetaType::QString, 20 }, { QMetaType::Bool, 21 },
        }}),
        // Slot 'addLinkedBrowser'
        QtMocHelpers::SlotData<int(const QUrl &)>(22, 2, QMC::AccessPublic, QMetaType::Int, {{
            { 0x80000000 | 23, 24 },
        }}),
        // Slot 'addLinkedBrowser'
        QtMocHelpers::SlotData<int()>(22, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Int),
        // Slot 'addEmptyBrowser'
        QtMocHelpers::SlotData<int()>(25, 2, QMC::AccessPublic, QMetaType::Int),
        // Slot 'addBrowser'
        QtMocHelpers::SlotData<int(bool, bool, const QUrl &)>(26, 2, QMC::AccessPublic, QMetaType::Int, {{
            { QMetaType::Bool, 27 }, { QMetaType::Bool, 21 }, { 0x80000000 | 23, 24 },
        }}),
        // Slot 'addBrowser'
        QtMocHelpers::SlotData<int(bool, bool)>(26, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Int, {{
            { QMetaType::Bool, 27 }, { QMetaType::Bool, 21 },
        }}),
        // Slot 'addBrowser'
        QtMocHelpers::SlotData<int(bool, bool, WebBrowser *)>(26, 2, QMC::AccessPublic, QMetaType::Int, {{
            { QMetaType::Bool, 27 }, { QMetaType::Bool, 21 }, { 0x80000000 | 28, 29 },
        }}),
        // Slot 'gotoNextTab'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'gotoPreviousTab'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'fixContentsAfterMove'
        QtMocHelpers::SlotData<void(int, int)>(32, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 33 }, { QMetaType::Int, 34 },
        }}),
        // Slot 'changeTitle'
        QtMocHelpers::SlotData<void(int, const QString &)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 7 }, { QMetaType::QString, 36 },
        }}),
        // Slot 'changeIcon'
        QtMocHelpers::SlotData<void(int, const QIcon &)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 7 }, { 0x80000000 | 38, 39 },
        }}),
        // Slot 'openMainMenu'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TabWidget, qt_meta_tag_ZN9TabWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject TabWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QTabWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9TabWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9TabWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9TabWidgetE_t>.metaTypes,
    nullptr
} };

void TabWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TabWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->scrollUpCurrentBrowser(); break;
        case 1: _t->scrollDownCurrentBrowser(); break;
        case 2: _t->checkCornerButtonVisibility(); break;
        case 3: _t->updateAppearance(); break;
        case 4: { bool _r = _t->closeTab((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->closeTabWithSender(); break;
        case 6: _t->closeAllTabsExceptCurrent(); break;
        case 7: _t->closeAllTabs(); break;
        case 8: _t->closeCurrentTab(); break;
        case 9: { int _r = _t->addSingleMessageView((*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Message>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<Feed*>>(_a[3])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 10: { int _r = _t->addMediaPlayer((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 11: { int _r = _t->addLinkedBrowser((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 12: { int _r = _t->addLinkedBrowser();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 13: { int _r = _t->addEmptyBrowser();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 14: { int _r = _t->addBrowser((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[3])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 15: { int _r = _t->addBrowser((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 16: { int _r = _t->addBrowser((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<WebBrowser*>>(_a[3])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 17: _t->gotoNextTab(); break;
        case 18: _t->gotoPreviousTab(); break;
        case 19: _t->fixContentsAfterMove((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 20: _t->changeTitle((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 21: _t->changeIcon((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QIcon>>(_a[2]))); break;
        case 22: _t->openMainMenu(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Feed* >(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< RootItem* >(); break;
            }
            break;
        }
    }
}

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

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

int TabWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTabWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
    return _id;
}
QT_WARNING_POP
