/****************************************************************************
** Meta object code from reading C++ file 'feedsview.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/feedsview.h"
#include <QtGui/qtextcursor.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'feedsview.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_ZN9FeedsViewE_t {};
} // unnamed namespace

template <> constexpr inline auto FeedsView::qt_create_metaobjectdata<qt_meta_tag_ZN9FeedsViewE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "FeedsView",
        "itemSelected",
        "",
        "RootItem*",
        "item",
        "requestViewNextUnreadMessage",
        "revealItem",
        "copyUrlOfSelectedFeeds",
        "sortByColumn",
        "column",
        "Qt::SortOrder",
        "order",
        "addFeedIntoSelectedAccount",
        "addCategoryIntoSelectedAccount",
        "expandCollapseCurrentItem",
        "recursive",
        "updateSelectedItems",
        "markSelectedItemRead",
        "markSelectedItemUnread",
        "markAllItemsRead",
        "clearSelectedItems",
        "clearAllItems",
        "purgeSelectedFeeds",
        "enableDisableSelectedFeeds",
        "editItems",
        "QList<RootItem*>",
        "items",
        "editSelectedItems",
        "editChildFeeds",
        "editRecursiveFeeds",
        "deleteSelectedItem",
        "moveSelectedItemUp",
        "moveSelectedItemTop",
        "moveSelectedItemBottom",
        "moveSelectedItemDown",
        "rearrangeCategoriesOfSelectedItem",
        "rearrangeFeedsOfSelectedItem",
        "selectNextItem",
        "selectPreviousItem",
        "selectNextUnreadItem",
        "switchVisibility",
        "changeFilter",
        "FeedsProxyModel::FeedListFilter",
        "filter",
        "searchItems",
        "SearchLineEdit::SearchMode",
        "mode",
        "Qt::CaseSensitivity",
        "sensitivity",
        "custom_criteria",
        "phrase",
        "toggleFeedSortingMode",
        "sort_alphabetically",
        "adjustColumns",
        "onIndexExpanded",
        "QModelIndex",
        "idx",
        "onIndexCollapsed",
        "reloadDelayedExpansions",
        "reloadItemExpandState",
        "source_idx",
        "markSelectedItemReadStatus",
        "RootItem::ReadStatus",
        "read",
        "markAllItemsReadStatus",
        "saveSortState",
        "validateItemAfterDragDrop",
        "source_index",
        "onItemExpandRequested",
        "exp"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'itemSelected'
        QtMocHelpers::SignalData<void(RootItem *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'requestViewNextUnreadMessage'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'revealItem'
        QtMocHelpers::SlotData<void(RootItem *)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'copyUrlOfSelectedFeeds'
        QtMocHelpers::SlotData<void() const>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'sortByColumn'
        QtMocHelpers::SlotData<void(int, Qt::SortOrder)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 9 }, { 0x80000000 | 10, 11 },
        }}),
        // Slot 'addFeedIntoSelectedAccount'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'addCategoryIntoSelectedAccount'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'expandCollapseCurrentItem'
        QtMocHelpers::SlotData<void(bool)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 15 },
        }}),
        // Slot 'updateSelectedItems'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'markSelectedItemRead'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'markSelectedItemUnread'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'markAllItemsRead'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clearSelectedItems'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clearAllItems'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'purgeSelectedFeeds'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'enableDisableSelectedFeeds'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'editItems'
        QtMocHelpers::SlotData<void(const QList<RootItem*> &)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 25, 26 },
        }}),
        // Slot 'editSelectedItems'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'editChildFeeds'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'editRecursiveFeeds'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'deleteSelectedItem'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'moveSelectedItemUp'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'moveSelectedItemTop'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'moveSelectedItemBottom'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'moveSelectedItemDown'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'rearrangeCategoriesOfSelectedItem'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'rearrangeFeedsOfSelectedItem'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'selectNextItem'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'selectPreviousItem'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'selectNextUnreadItem'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'switchVisibility'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'changeFilter'
        QtMocHelpers::SlotData<void(FeedsProxyModel::FeedListFilter)>(41, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 42, 43 },
        }}),
        // Slot 'searchItems'
        QtMocHelpers::SlotData<void(SearchLineEdit::SearchMode, Qt::CaseSensitivity, int, const QString &)>(44, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 45, 46 }, { 0x80000000 | 47, 48 }, { QMetaType::Int, 49 }, { QMetaType::QString, 50 },
        }}),
        // Slot 'toggleFeedSortingMode'
        QtMocHelpers::SlotData<void(bool)>(51, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 52 },
        }}),
        // Slot 'adjustColumns'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onIndexExpanded'
        QtMocHelpers::SlotData<void(const QModelIndex &)>(54, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 55, 56 },
        }}),
        // Slot 'onIndexCollapsed'
        QtMocHelpers::SlotData<void(const QModelIndex &)>(57, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 55, 56 },
        }}),
        // Slot 'reloadDelayedExpansions'
        QtMocHelpers::SlotData<void()>(58, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'reloadItemExpandState'
        QtMocHelpers::SlotData<void(const QModelIndex &)>(59, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 55, 60 },
        }}),
        // Slot 'markSelectedItemReadStatus'
        QtMocHelpers::SlotData<void(RootItem::ReadStatus)>(61, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 62, 63 },
        }}),
        // Slot 'markAllItemsReadStatus'
        QtMocHelpers::SlotData<void(RootItem::ReadStatus)>(64, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 62, 63 },
        }}),
        // Slot 'saveSortState'
        QtMocHelpers::SlotData<void(int, Qt::SortOrder)>(65, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 9 }, { 0x80000000 | 10, 11 },
        }}),
        // Slot 'validateItemAfterDragDrop'
        QtMocHelpers::SlotData<void(const QModelIndex &)>(66, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 55, 67 },
        }}),
        // Slot 'onItemExpandRequested'
        QtMocHelpers::SlotData<void(const QList<RootItem*> &, bool)>(68, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 25, 26 }, { QMetaType::Bool, 69 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FeedsView, qt_meta_tag_ZN9FeedsViewE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject FeedsView::staticMetaObject = { {
    QMetaObject::SuperData::link<BaseTreeView::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9FeedsViewE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9FeedsViewE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9FeedsViewE_t>.metaTypes,
    nullptr
} };

void FeedsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FeedsView *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->itemSelected((*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[1]))); break;
        case 1: _t->requestViewNextUnreadMessage(); break;
        case 2: _t->revealItem((*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[1]))); break;
        case 3: _t->copyUrlOfSelectedFeeds(); break;
        case 4: _t->sortByColumn((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Qt::SortOrder>>(_a[2]))); break;
        case 5: _t->addFeedIntoSelectedAccount(); break;
        case 6: _t->addCategoryIntoSelectedAccount(); break;
        case 7: _t->expandCollapseCurrentItem((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 8: _t->updateSelectedItems(); break;
        case 9: _t->markSelectedItemRead(); break;
        case 10: _t->markSelectedItemUnread(); break;
        case 11: _t->markAllItemsRead(); break;
        case 12: _t->clearSelectedItems(); break;
        case 13: _t->clearAllItems(); break;
        case 14: _t->purgeSelectedFeeds(); break;
        case 15: _t->enableDisableSelectedFeeds(); break;
        case 16: _t->editItems((*reinterpret_cast<std::add_pointer_t<QList<RootItem*>>>(_a[1]))); break;
        case 17: _t->editSelectedItems(); break;
        case 18: _t->editChildFeeds(); break;
        case 19: _t->editRecursiveFeeds(); break;
        case 20: _t->deleteSelectedItem(); break;
        case 21: _t->moveSelectedItemUp(); break;
        case 22: _t->moveSelectedItemTop(); break;
        case 23: _t->moveSelectedItemBottom(); break;
        case 24: _t->moveSelectedItemDown(); break;
        case 25: _t->rearrangeCategoriesOfSelectedItem(); break;
        case 26: _t->rearrangeFeedsOfSelectedItem(); break;
        case 27: _t->selectNextItem(); break;
        case 28: _t->selectPreviousItem(); break;
        case 29: _t->selectNextUnreadItem(); break;
        case 30: _t->switchVisibility(); break;
        case 31: _t->changeFilter((*reinterpret_cast<std::add_pointer_t<FeedsProxyModel::FeedListFilter>>(_a[1]))); break;
        case 32: _t->searchItems((*reinterpret_cast<std::add_pointer_t<SearchLineEdit::SearchMode>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Qt::CaseSensitivity>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
        case 33: _t->toggleFeedSortingMode((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 34: _t->adjustColumns(); break;
        case 35: _t->onIndexExpanded((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 36: _t->onIndexCollapsed((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 37: _t->reloadDelayedExpansions(); break;
        case 38: _t->reloadItemExpandState((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 39: _t->markSelectedItemReadStatus((*reinterpret_cast<std::add_pointer_t<RootItem::ReadStatus>>(_a[1]))); break;
        case 40: _t->markAllItemsReadStatus((*reinterpret_cast<std::add_pointer_t<RootItem::ReadStatus>>(_a[1]))); break;
        case 41: _t->saveSortState((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Qt::SortOrder>>(_a[2]))); break;
        case 42: _t->validateItemAfterDragDrop((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 43: _t->onItemExpandRequested((*reinterpret_cast<std::add_pointer_t<QList<RootItem*>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            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;
        case 2:
            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;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<RootItem*> >(); break;
            }
            break;
        case 31:
            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 43:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<RootItem*> >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (FeedsView::*)(RootItem * )>(_a, &FeedsView::itemSelected, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (FeedsView::*)()>(_a, &FeedsView::requestViewNextUnreadMessage, 1))
            return;
    }
}

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

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

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

// SIGNAL 0
void FeedsView::itemSelected(RootItem * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void FeedsView::requestViewNextUnreadMessage()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
