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

template <> constexpr inline auto MessagesView::qt_create_metaobjectdata<qt_meta_tag_ZN12MessagesViewE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MessagesView",
        "playLinkInMediaPlayer",
        "",
        "link",
        "selectInFeedsView",
        "RootItem*",
        "item",
        "openSingleMessageInNewTab",
        "root",
        "Message",
        "message",
        "Feed*",
        "feed",
        "currentMessageChanged",
        "selected_item",
        "currentMessageRemoved",
        "reachedEndOfList",
        "fetchFullSelectedArticles",
        "goToMotherFeed",
        "edit_feed_also",
        "editFeedOfSelectedMessage",
        "copyDataOfSelectedArticles",
        "reactOnExternalDataChange",
        "FeedsModel::ExternalDataChange",
        "cause",
        "loadItem",
        "playSelectedArticleInMediaPlayer",
        "openSelectedSourceMessagesExternally",
        "openSelectedMessagesInternally",
        "sendSelectedMessageViaEmail",
        "toggleSelectedMessagesReadUnread",
        "setSelectedMessagesReadStatus",
        "RootItem::ReadStatus",
        "read",
        "markSelectedMessagesRead",
        "markSelectedMessagesUnread",
        "markMessagesAboveRead",
        "markMessagesBelowRead",
        "markMessagesAboveUnread",
        "markMessagesBelowUnread",
        "switchSelectedMessagesImportance",
        "deleteSelectedMessages",
        "restoreSelectedMessages",
        "markArticlesFromToReadUnread",
        "row_from",
        "row_to",
        "selectNextItem",
        "selectPreviousItem",
        "selectItemWithCursorAction",
        "QAbstractItemView::CursorAction",
        "act",
        "selectNextUnreadItem",
        "searchMessages",
        "SearchLineEdit::SearchMode",
        "mode",
        "Qt::CaseSensitivity",
        "sensitivity",
        "custom_criteria",
        "phrase",
        "highlightMessages",
        "MessagesModel::MessageHighlighter",
        "highlighter",
        "changeFilter",
        "MessagesProxyModel::MessageListFilter",
        "filter",
        "verticalScrollbarValueChanged",
        "value",
        "onArticleLabelIdsChanged",
        "QList<Message>",
        "msgs",
        "openSelectedMessagesWithExternalTool",
        "adjustColumns",
        "markSelectedMessagesReadDelayed",
        "onSortIndicatorChanged",
        "column",
        "Qt::SortOrder",
        "order"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'playLinkInMediaPlayer'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'selectInFeedsView'
        QtMocHelpers::SignalData<void(RootItem *)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Signal 'openSingleMessageInNewTab'
        QtMocHelpers::SignalData<void(RootItem *, const Message &, Feed *)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 8 }, { 0x80000000 | 9, 10 }, { 0x80000000 | 11, 12 },
        }}),
        // Signal 'currentMessageChanged'
        QtMocHelpers::SignalData<void(Message, RootItem *, Feed *)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 }, { 0x80000000 | 5, 14 }, { 0x80000000 | 11, 12 },
        }}),
        // Signal 'currentMessageRemoved'
        QtMocHelpers::SignalData<void(RootItem *)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 14 },
        }}),
        // Signal 'reachedEndOfList'
        QtMocHelpers::SignalData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'fetchFullSelectedArticles'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'goToMotherFeed'
        QtMocHelpers::SlotData<void(bool)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 19 },
        }}),
        // Slot 'editFeedOfSelectedMessage'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copyDataOfSelectedArticles'
        QtMocHelpers::SlotData<void() const>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'reactOnExternalDataChange'
        QtMocHelpers::SlotData<void(RootItem *, FeedsModel::ExternalDataChange)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 }, { 0x80000000 | 23, 24 },
        }}),
        // Slot 'loadItem'
        QtMocHelpers::SlotData<void(RootItem *)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Slot 'playSelectedArticleInMediaPlayer'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'openSelectedSourceMessagesExternally'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'openSelectedMessagesInternally'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'sendSelectedMessageViaEmail'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'toggleSelectedMessagesReadUnread'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setSelectedMessagesReadStatus'
        QtMocHelpers::SlotData<void(RootItem::ReadStatus)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 32, 33 },
        }}),
        // Slot 'markSelectedMessagesRead'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'markSelectedMessagesUnread'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'markMessagesAboveRead'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'markMessagesBelowRead'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'markMessagesAboveUnread'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'markMessagesBelowUnread'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'switchSelectedMessagesImportance'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'deleteSelectedMessages'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'restoreSelectedMessages'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'markArticlesFromToReadUnread'
        QtMocHelpers::SlotData<void(int, int, RootItem::ReadStatus)>(43, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 44 }, { QMetaType::Int, 45 }, { 0x80000000 | 32, 33 },
        }}),
        // Slot 'selectNextItem'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'selectPreviousItem'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'selectItemWithCursorAction'
        QtMocHelpers::SlotData<void(QAbstractItemView::CursorAction)>(48, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 49, 50 },
        }}),
        // Slot 'selectNextUnreadItem'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'searchMessages'
        QtMocHelpers::SlotData<void(SearchLineEdit::SearchMode, Qt::CaseSensitivity, int, const QString &)>(52, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 53, 54 }, { 0x80000000 | 55, 56 }, { QMetaType::Int, 57 }, { QMetaType::QString, 58 },
        }}),
        // Slot 'highlightMessages'
        QtMocHelpers::SlotData<void(MessagesModel::MessageHighlighter)>(59, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 60, 61 },
        }}),
        // Slot 'changeFilter'
        QtMocHelpers::SlotData<void(MessagesProxyModel::MessageListFilter)>(62, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 63, 64 },
        }}),
        // Slot 'verticalScrollbarValueChanged'
        QtMocHelpers::SlotData<void(int)>(65, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Int, 66 },
        }}),
        // Slot 'onArticleLabelIdsChanged'
        QtMocHelpers::SlotData<void(const QList<Message> &)>(67, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 68, 69 },
        }}),
        // Slot 'openSelectedMessagesWithExternalTool'
        QtMocHelpers::SlotData<void()>(70, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'adjustColumns'
        QtMocHelpers::SlotData<void()>(71, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'markSelectedMessagesReadDelayed'
        QtMocHelpers::SlotData<void()>(72, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onSortIndicatorChanged'
        QtMocHelpers::SlotData<void(int, Qt::SortOrder)>(73, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 74 }, { 0x80000000 | 75, 76 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MessagesView, qt_meta_tag_ZN12MessagesViewE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MessagesView::staticMetaObject = { {
    QMetaObject::SuperData::link<BaseTreeView::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12MessagesViewE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12MessagesViewE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12MessagesViewE_t>.metaTypes,
    nullptr
} };

void MessagesView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MessagesView *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->playLinkInMediaPlayer((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->selectInFeedsView((*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[1]))); break;
        case 2: _t->openSingleMessageInNewTab((*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]))); break;
        case 3: _t->currentMessageChanged((*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 4: _t->currentMessageRemoved((*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[1]))); break;
        case 5: _t->reachedEndOfList(); break;
        case 6: _t->fetchFullSelectedArticles(); break;
        case 7: _t->goToMotherFeed((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 8: _t->editFeedOfSelectedMessage(); break;
        case 9: _t->copyDataOfSelectedArticles(); break;
        case 10: _t->reactOnExternalDataChange((*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<FeedsModel::ExternalDataChange>>(_a[2]))); break;
        case 11: _t->loadItem((*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[1]))); break;
        case 12: _t->playSelectedArticleInMediaPlayer(); break;
        case 13: _t->openSelectedSourceMessagesExternally(); break;
        case 14: _t->openSelectedMessagesInternally(); break;
        case 15: _t->sendSelectedMessageViaEmail(); break;
        case 16: _t->toggleSelectedMessagesReadUnread(); break;
        case 17: _t->setSelectedMessagesReadStatus((*reinterpret_cast<std::add_pointer_t<RootItem::ReadStatus>>(_a[1]))); break;
        case 18: _t->markSelectedMessagesRead(); break;
        case 19: _t->markSelectedMessagesUnread(); break;
        case 20: _t->markMessagesAboveRead(); break;
        case 21: _t->markMessagesBelowRead(); break;
        case 22: _t->markMessagesAboveUnread(); break;
        case 23: _t->markMessagesBelowUnread(); break;
        case 24: _t->switchSelectedMessagesImportance(); break;
        case 25: _t->deleteSelectedMessages(); break;
        case 26: _t->restoreSelectedMessages(); break;
        case 27: _t->markArticlesFromToReadUnread((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<RootItem::ReadStatus>>(_a[3]))); break;
        case 28: _t->selectNextItem(); break;
        case 29: _t->selectPreviousItem(); break;
        case 30: _t->selectItemWithCursorAction((*reinterpret_cast<std::add_pointer_t<QAbstractItemView::CursorAction>>(_a[1]))); break;
        case 31: _t->selectNextUnreadItem(); break;
        case 32: _t->searchMessages((*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->highlightMessages((*reinterpret_cast<std::add_pointer_t<MessagesModel::MessageHighlighter>>(_a[1]))); break;
        case 34: _t->changeFilter((*reinterpret_cast<std::add_pointer_t<MessagesProxyModel::MessageListFilter>>(_a[1]))); break;
        case 35: _t->verticalScrollbarValueChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 36: _t->onArticleLabelIdsChanged((*reinterpret_cast<std::add_pointer_t<QList<Message>>>(_a[1]))); break;
        case 37: _t->openSelectedMessagesWithExternalTool(); break;
        case 38: _t->adjustColumns(); break;
        case 39: _t->markSelectedMessagesReadDelayed(); break;
        case 40: _t->onSortIndicatorChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Qt::SortOrder>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 1:
            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 3:
            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 4:
            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 10:
            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 11:
            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 33:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< MessagesModel::MessageHighlighter >(); break;
            }
            break;
        case 34:
            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;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MessagesView::*)(const QString & )>(_a, &MessagesView::playLinkInMediaPlayer, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessagesView::*)(RootItem * )>(_a, &MessagesView::selectInFeedsView, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessagesView::*)(RootItem * , const Message & , Feed * )>(_a, &MessagesView::openSingleMessageInNewTab, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessagesView::*)(Message , RootItem * , Feed * )>(_a, &MessagesView::currentMessageChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessagesView::*)(RootItem * )>(_a, &MessagesView::currentMessageRemoved, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessagesView::*)()>(_a, &MessagesView::reachedEndOfList, 5))
            return;
    }
}

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

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

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

// SIGNAL 0
void MessagesView::playLinkInMediaPlayer(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void MessagesView::selectInFeedsView(RootItem * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void MessagesView::openSingleMessageInNewTab(RootItem * _t1, const Message & _t2, Feed * _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2, _t3);
}

// SIGNAL 3
void MessagesView::currentMessageChanged(Message _t1, RootItem * _t2, Feed * _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2, _t3);
}

// SIGNAL 4
void MessagesView::currentMessageRemoved(RootItem * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void MessagesView::reachedEndOfList()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
