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

template <> constexpr inline auto FeedMessageViewer::qt_create_metaobjectdata<qt_meta_tag_ZN17FeedMessageViewerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "FeedMessageViewer",
        "saveSize",
        "",
        "loadSize",
        "loadMessageViewerFonts",
        "switchMessageSplitterOrientation",
        "setToolBarsEnabled",
        "enable",
        "setListHeadersEnabled",
        "refreshVisualProperties",
        "updateArticleViewerSettings",
        "switchFeedComponentVisibility",
        "changeMessageFilter",
        "MessagesProxyModel::MessageListFilter",
        "filter",
        "changeFeedFilter",
        "FeedsProxyModel::FeedListFilter",
        "toggleShowFeedTreeBranches",
        "toggleItemsAutoExpandingOnSelection",
        "alternateRowColorsInLists",
        "respondToMainWindowResizes",
        "loadMessageToFeedAndArticleList",
        "Feed*",
        "feed",
        "Message",
        "message",
        "onFeedSplitterResized",
        "onMessageSplitterResized",
        "saveSplitterStates",
        "displayMessage",
        "RootItem*",
        "selected_item",
        "onMessageRemoved",
        "root"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'saveSize'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'loadSize'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'loadMessageViewerFonts'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'switchMessageSplitterOrientation'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setToolBarsEnabled'
        QtMocHelpers::SlotData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Slot 'setListHeadersEnabled'
        QtMocHelpers::SlotData<void(bool)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Slot 'refreshVisualProperties'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateArticleViewerSettings'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'switchFeedComponentVisibility'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'changeMessageFilter'
        QtMocHelpers::SlotData<void(MessagesProxyModel::MessageListFilter)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Slot 'changeFeedFilter'
        QtMocHelpers::SlotData<void(FeedsProxyModel::FeedListFilter)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 14 },
        }}),
        // Slot 'toggleShowFeedTreeBranches'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'toggleItemsAutoExpandingOnSelection'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'alternateRowColorsInLists'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'respondToMainWindowResizes'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'loadMessageToFeedAndArticleList'
        QtMocHelpers::SlotData<void(Feed *, const Message &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 23 }, { 0x80000000 | 24, 25 },
        }}),
        // Slot 'onFeedSplitterResized'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onMessageSplitterResized'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'saveSplitterStates'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'displayMessage'
        QtMocHelpers::SlotData<void(const Message &, RootItem *, Feed *)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 24, 25 }, { 0x80000000 | 30, 31 }, { 0x80000000 | 22, 23 },
        }}),
        // Slot 'onMessageRemoved'
        QtMocHelpers::SlotData<void(RootItem *)>(32, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 30, 33 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FeedMessageViewer, qt_meta_tag_ZN17FeedMessageViewerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject FeedMessageViewer::staticMetaObject = { {
    QMetaObject::SuperData::link<TabContent::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17FeedMessageViewerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17FeedMessageViewerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN17FeedMessageViewerE_t>.metaTypes,
    nullptr
} };

void FeedMessageViewer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FeedMessageViewer *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->saveSize(); break;
        case 1: _t->loadSize(); break;
        case 2: _t->loadMessageViewerFonts(); break;
        case 3: _t->switchMessageSplitterOrientation(); break;
        case 4: _t->setToolBarsEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->setListHeadersEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->refreshVisualProperties(); break;
        case 7: _t->updateArticleViewerSettings(); break;
        case 8: _t->switchFeedComponentVisibility(); break;
        case 9: _t->changeMessageFilter((*reinterpret_cast<std::add_pointer_t<MessagesProxyModel::MessageListFilter>>(_a[1]))); break;
        case 10: _t->changeFeedFilter((*reinterpret_cast<std::add_pointer_t<FeedsProxyModel::FeedListFilter>>(_a[1]))); break;
        case 11: _t->toggleShowFeedTreeBranches(); break;
        case 12: _t->toggleItemsAutoExpandingOnSelection(); break;
        case 13: _t->alternateRowColorsInLists(); break;
        case 14: _t->respondToMainWindowResizes(); break;
        case 15: _t->loadMessageToFeedAndArticleList((*reinterpret_cast<std::add_pointer_t<Feed*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Message>>(_a[2]))); break;
        case 16: _t->onFeedSplitterResized(); break;
        case 17: _t->onMessageSplitterResized(); break;
        case 18: _t->saveSplitterStates(); break;
        case 19: _t->displayMessage((*reinterpret_cast<std::add_pointer_t<Message>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<Feed*>>(_a[3]))); break;
        case 20: _t->onMessageRemoved((*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[1]))); 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 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< MessagesProxyModel::MessageListFilter >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< FeedsProxyModel::FeedListFilter >(); break;
            }
            break;
        case 19:
            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;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< RootItem* >(); break;
            }
            break;
        }
    }
}

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

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

int FeedMessageViewer::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 < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
    return _id;
}
QT_WARNING_POP
