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

template <> constexpr inline auto ServiceRoot::qt_create_metaobjectdata<qt_meta_tag_ZN11ServiceRootE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ServiceRoot",
        "feedFetchRequested",
        "",
        "QList<Feed*>",
        "feeds",
        "syncInFinished",
        "SyncInResult",
        "result",
        "proxyChanged",
        "QNetworkProxy",
        "proxy",
        "dataChanged",
        "QList<RootItem*>",
        "items",
        "dataChangeNotificationTriggered",
        "RootItem*",
        "item",
        "FeedsModel::ExternalDataChange",
        "change",
        "itemExpandRequested",
        "expand",
        "itemBlockingReassignmentRequested",
        "new_parent",
        "itemReassignmentRequested",
        "itemRemovalRequested",
        "reload_counts",
        "addNewFeed",
        "selected_item",
        "url",
        "addNewCategory",
        "requestSyncIn",
        "onSyncInFinished"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'feedFetchRequested'
        QtMocHelpers::SignalData<void(QList<Feed*>)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'syncInFinished'
        QtMocHelpers::SignalData<void(SyncInResult)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Signal 'proxyChanged'
        QtMocHelpers::SignalData<void(QNetworkProxy)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 },
        }}),
        // Signal 'dataChanged'
        QtMocHelpers::SignalData<void(QList<RootItem*>)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Signal 'dataChangeNotificationTriggered'
        QtMocHelpers::SignalData<void(RootItem *, FeedsModel::ExternalDataChange)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 }, { 0x80000000 | 17, 18 },
        }}),
        // Signal 'itemExpandRequested'
        QtMocHelpers::SignalData<void(QList<RootItem*>, bool)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 }, { QMetaType::Bool, 20 },
        }}),
        // Signal 'itemBlockingReassignmentRequested'
        QtMocHelpers::SignalData<void(RootItem *, RootItem *)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 }, { 0x80000000 | 15, 22 },
        }}),
        // Signal 'itemReassignmentRequested'
        QtMocHelpers::SignalData<void(RootItem *, RootItem *)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 }, { 0x80000000 | 15, 22 },
        }}),
        // Signal 'itemRemovalRequested'
        QtMocHelpers::SignalData<void(RootItem *, bool)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 }, { QMetaType::Bool, 25 },
        }}),
        // Slot 'addNewFeed'
        QtMocHelpers::SlotData<void(RootItem *, const QString &)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 27 }, { QMetaType::QString, 28 },
        }}),
        // Slot 'addNewFeed'
        QtMocHelpers::SlotData<void(RootItem *)>(26, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 15, 27 },
        }}),
        // Slot 'addNewCategory'
        QtMocHelpers::SlotData<void(RootItem *)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 27 },
        }}),
        // Slot 'requestSyncIn'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onSyncInFinished'
        QtMocHelpers::SlotData<void(const SyncInResult &)>(31, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ServiceRoot, qt_meta_tag_ZN11ServiceRootE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ServiceRoot::staticMetaObject = { {
    QMetaObject::SuperData::link<RootItem::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11ServiceRootE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11ServiceRootE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11ServiceRootE_t>.metaTypes,
    nullptr
} };

void ServiceRoot::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ServiceRoot *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->feedFetchRequested((*reinterpret_cast<std::add_pointer_t<QList<Feed*>>>(_a[1]))); break;
        case 1: _t->syncInFinished((*reinterpret_cast<std::add_pointer_t<SyncInResult>>(_a[1]))); break;
        case 2: _t->proxyChanged((*reinterpret_cast<std::add_pointer_t<QNetworkProxy>>(_a[1]))); break;
        case 3: _t->dataChanged((*reinterpret_cast<std::add_pointer_t<QList<RootItem*>>>(_a[1]))); break;
        case 4: _t->dataChangeNotificationTriggered((*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<FeedsModel::ExternalDataChange>>(_a[2]))); break;
        case 5: _t->itemExpandRequested((*reinterpret_cast<std::add_pointer_t<QList<RootItem*>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 6: _t->itemBlockingReassignmentRequested((*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[2]))); break;
        case 7: _t->itemReassignmentRequested((*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[2]))); break;
        case 8: _t->itemRemovalRequested((*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 9: _t->addNewFeed((*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 10: _t->addNewFeed((*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[1]))); break;
        case 11: _t->addNewCategory((*reinterpret_cast<std::add_pointer_t<RootItem*>>(_a[1]))); break;
        case 12: _t->requestSyncIn(); break;
        case 13: _t->onSyncInFinished((*reinterpret_cast<std::add_pointer_t<SyncInResult>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); 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< QNetworkProxy >(); break;
            }
            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<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 5:
            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 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< RootItem* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< RootItem* >(); break;
            }
            break;
        case 8:
            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 9:
            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;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ServiceRoot::*)(QList<Feed*> )>(_a, &ServiceRoot::feedFetchRequested, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ServiceRoot::*)(SyncInResult )>(_a, &ServiceRoot::syncInFinished, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ServiceRoot::*)(QNetworkProxy )>(_a, &ServiceRoot::proxyChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ServiceRoot::*)(QList<RootItem*> )>(_a, &ServiceRoot::dataChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (ServiceRoot::*)(RootItem * , FeedsModel::ExternalDataChange )>(_a, &ServiceRoot::dataChangeNotificationTriggered, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (ServiceRoot::*)(QList<RootItem*> , bool )>(_a, &ServiceRoot::itemExpandRequested, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (ServiceRoot::*)(RootItem * , RootItem * )>(_a, &ServiceRoot::itemBlockingReassignmentRequested, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (ServiceRoot::*)(RootItem * , RootItem * )>(_a, &ServiceRoot::itemReassignmentRequested, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (ServiceRoot::*)(RootItem * , bool )>(_a, &ServiceRoot::itemRemovalRequested, 8))
            return;
    }
}

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

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

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

// SIGNAL 0
void ServiceRoot::feedFetchRequested(QList<Feed*> _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void ServiceRoot::syncInFinished(SyncInResult _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void ServiceRoot::proxyChanged(QNetworkProxy _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void ServiceRoot::dataChanged(QList<RootItem*> _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void ServiceRoot::dataChangeNotificationTriggered(RootItem * _t1, FeedsModel::ExternalDataChange _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2);
}

// SIGNAL 5
void ServiceRoot::itemExpandRequested(QList<RootItem*> _t1, bool _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void ServiceRoot::itemBlockingReassignmentRequested(RootItem * _t1, RootItem * _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2);
}

// SIGNAL 7
void ServiceRoot::itemReassignmentRequested(RootItem * _t1, RootItem * _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1, _t2);
}

// SIGNAL 8
void ServiceRoot::itemRemovalRequested(RootItem * _t1, bool _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1, _t2);
}
QT_WARNING_POP
