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

template <> constexpr inline auto FeedReader::qt_create_metaobjectdata<qt_meta_tag_ZN10FeedReaderE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "FeedReader",
        "feedUpdatesStarted",
        "",
        "feedUpdatesFinished",
        "FeedDownloadResults",
        "updated_feeds",
        "feedUpdatesProgress",
        "const Feed*",
        "feed",
        "current",
        "total",
        "onFeedFetchRequested",
        "QList<Feed*>",
        "feeds",
        "updateAllFeedsOnStartup",
        "updateAllFeeds",
        "updateManuallyIntervaledFeeds",
        "stopRunningFeedUpdate",
        "pauseUnpaseFeedFetching",
        "pause",
        "quit",
        "executeNextAutoUpdate",
        "onFeedUpdatesFinished"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'feedUpdatesStarted'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'feedUpdatesFinished'
        QtMocHelpers::SignalData<void(FeedDownloadResults)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Signal 'feedUpdatesProgress'
        QtMocHelpers::SignalData<void(const Feed *, int, int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 }, { QMetaType::Int, 9 }, { QMetaType::Int, 10 },
        }}),
        // Slot 'onFeedFetchRequested'
        QtMocHelpers::SlotData<void(const QList<Feed*> &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Slot 'updateAllFeedsOnStartup'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateAllFeeds'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateManuallyIntervaledFeeds'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'stopRunningFeedUpdate'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'pauseUnpaseFeedFetching'
        QtMocHelpers::SlotData<void(bool)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 19 },
        }}),
        // Slot 'quit'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'executeNextAutoUpdate'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onFeedUpdatesFinished'
        QtMocHelpers::SlotData<void(FeedDownloadResults)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FeedReader, qt_meta_tag_ZN10FeedReaderE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject FeedReader::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10FeedReaderE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10FeedReaderE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10FeedReaderE_t>.metaTypes,
    nullptr
} };

void FeedReader::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FeedReader *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->feedUpdatesStarted(); break;
        case 1: _t->feedUpdatesFinished((*reinterpret_cast<std::add_pointer_t<FeedDownloadResults>>(_a[1]))); break;
        case 2: _t->feedUpdatesProgress((*reinterpret_cast<std::add_pointer_t<const Feed*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 3: _t->onFeedFetchRequested((*reinterpret_cast<std::add_pointer_t<QList<Feed*>>>(_a[1]))); break;
        case 4: _t->updateAllFeedsOnStartup(); break;
        case 5: _t->updateAllFeeds(); break;
        case 6: _t->updateManuallyIntervaledFeeds(); break;
        case 7: _t->stopRunningFeedUpdate(); break;
        case 8: _t->pauseUnpaseFeedFetching((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->quit(); break;
        case 10: _t->executeNextAutoUpdate(); break;
        case 11: _t->onFeedUpdatesFinished((*reinterpret_cast<std::add_pointer_t<FeedDownloadResults>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<Feed*> >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (FeedReader::*)()>(_a, &FeedReader::feedUpdatesStarted, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (FeedReader::*)(FeedDownloadResults )>(_a, &FeedReader::feedUpdatesFinished, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (FeedReader::*)(const Feed * , int , int )>(_a, &FeedReader::feedUpdatesProgress, 2))
            return;
    }
}

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

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

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

// SIGNAL 0
void FeedReader::feedUpdatesStarted()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void FeedReader::feedUpdatesFinished(FeedDownloadResults _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void FeedReader::feedUpdatesProgress(const Feed * _t1, int _t2, int _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2, _t3);
}
QT_WARNING_POP
