/****************************************************************************
** Meta object code from reading C++ file 'application.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/application.h"
#include <QtNetwork/QSslError>
#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 'application.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_ZN11ApplicationE_t {};
} // unnamed namespace

template <> constexpr inline auto Application::qt_create_metaobjectdata<qt_meta_tag_ZN11ApplicationE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Application",
        "sendLogToDialog",
        "",
        "message",
        "setupFont",
        "reloadCurrentSkin",
        "replace_existing_qss",
        "parseCmdArgumentsFromOtherInstance",
        "parseCmdArgumentsFromMyInstance",
        "raw_cli_args",
        "QString&",
        "custom_ua",
        "displayLog",
        "showGuiMessageCore",
        "Notification::Event",
        "event",
        "GuiMessage",
        "msg",
        "GuiMessageDestination",
        "dest",
        "GuiAction",
        "action",
        "QWidget*",
        "parent",
        "loadMessageToFeedAndArticleList",
        "Feed*",
        "feed",
        "Message",
        "fillCmdArgumentsParser",
        "QCommandLineParser&",
        "parser",
        "onCommitData",
        "QSessionManager&",
        "manager",
        "onSaveState",
        "onAboutToQuit",
        "showMessagesNumber",
        "unread_messages",
        "any_feed_has_new_unread_messages",
        "onFeedUpdatesStarted",
        "onFeedUpdatesProgress",
        "const Feed*",
        "current",
        "total",
        "onFeedUpdatesFinished",
        "FeedDownloadResults",
        "results"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sendLogToDialog'
        QtMocHelpers::SignalData<void(QString)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Slot 'setupFont'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'reloadCurrentSkin'
        QtMocHelpers::SlotData<void(bool)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 6 },
        }}),
        // Slot 'parseCmdArgumentsFromOtherInstance'
        QtMocHelpers::SlotData<void(const QString &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Slot 'parseCmdArgumentsFromMyInstance'
        QtMocHelpers::SlotData<void(const QStringList &, QString &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 9 }, { 0x80000000 | 10, 11 },
        }}),
        // Slot 'displayLog'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showGuiMessageCore'
        QtMocHelpers::SlotData<void(Notification::Event, const GuiMessage &, GuiMessageDestination, const GuiAction &, QWidget *)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 15 }, { 0x80000000 | 16, 17 }, { 0x80000000 | 18, 19 }, { 0x80000000 | 20, 21 },
            { 0x80000000 | 22, 23 },
        }}),
        // Slot 'showGuiMessageCore'
        QtMocHelpers::SlotData<void(Notification::Event, const GuiMessage &, GuiMessageDestination, const GuiAction &)>(13, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 14, 15 }, { 0x80000000 | 16, 17 }, { 0x80000000 | 18, 19 }, { 0x80000000 | 20, 21 },
        }}),
        // Slot 'showGuiMessageCore'
        QtMocHelpers::SlotData<void(Notification::Event, const GuiMessage &, GuiMessageDestination)>(13, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 14, 15 }, { 0x80000000 | 16, 17 }, { 0x80000000 | 18, 19 },
        }}),
        // Slot 'showGuiMessageCore'
        QtMocHelpers::SlotData<void(Notification::Event, const GuiMessage &)>(13, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 14, 15 }, { 0x80000000 | 16, 17 },
        }}),
        // Slot 'loadMessageToFeedAndArticleList'
        QtMocHelpers::SlotData<void(Feed *, const Message &)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 25, 26 }, { 0x80000000 | 27, 3 },
        }}),
        // Slot 'fillCmdArgumentsParser'
        QtMocHelpers::SlotData<void(QCommandLineParser &)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 29, 30 },
        }}),
        // Slot 'onCommitData'
        QtMocHelpers::SlotData<void(QSessionManager &)>(31, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 32, 33 },
        }}),
        // Slot 'onSaveState'
        QtMocHelpers::SlotData<void(QSessionManager &)>(34, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 32, 33 },
        }}),
        // Slot 'onAboutToQuit'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showMessagesNumber'
        QtMocHelpers::SlotData<void(int, bool)>(36, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 37 }, { QMetaType::Bool, 38 },
        }}),
        // Slot 'onFeedUpdatesStarted'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onFeedUpdatesProgress'
        QtMocHelpers::SlotData<void(const Feed *, int, int)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 41, 26 }, { QMetaType::Int, 42 }, { QMetaType::Int, 43 },
        }}),
        // Slot 'onFeedUpdatesFinished'
        QtMocHelpers::SlotData<void(const FeedDownloadResults &)>(44, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 45, 46 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Application, qt_meta_tag_ZN11ApplicationE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Application::staticMetaObject = { {
    QMetaObject::SuperData::link<SingleApplication::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11ApplicationE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11ApplicationE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11ApplicationE_t>.metaTypes,
    nullptr
} };

void Application::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Application *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sendLogToDialog((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->setupFont(); break;
        case 2: _t->reloadCurrentSkin((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->parseCmdArgumentsFromOtherInstance((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->parseCmdArgumentsFromMyInstance((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString&>>(_a[2]))); break;
        case 5: _t->displayLog(); break;
        case 6: _t->showGuiMessageCore((*reinterpret_cast<std::add_pointer_t<Notification::Event>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<GuiMessage>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<GuiMessageDestination>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<GuiAction>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<QWidget*>>(_a[5]))); break;
        case 7: _t->showGuiMessageCore((*reinterpret_cast<std::add_pointer_t<Notification::Event>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<GuiMessage>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<GuiMessageDestination>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<GuiAction>>(_a[4]))); break;
        case 8: _t->showGuiMessageCore((*reinterpret_cast<std::add_pointer_t<Notification::Event>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<GuiMessage>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<GuiMessageDestination>>(_a[3]))); break;
        case 9: _t->showGuiMessageCore((*reinterpret_cast<std::add_pointer_t<Notification::Event>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<GuiMessage>>(_a[2]))); break;
        case 10: _t->loadMessageToFeedAndArticleList((*reinterpret_cast<std::add_pointer_t<Feed*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Message>>(_a[2]))); break;
        case 11: _t->fillCmdArgumentsParser((*reinterpret_cast<std::add_pointer_t<QCommandLineParser&>>(_a[1]))); break;
        case 12: _t->onCommitData((*reinterpret_cast<std::add_pointer_t<QSessionManager&>>(_a[1]))); break;
        case 13: _t->onSaveState((*reinterpret_cast<std::add_pointer_t<QSessionManager&>>(_a[1]))); break;
        case 14: _t->onAboutToQuit(); break;
        case 15: _t->showMessagesNumber((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 16: _t->onFeedUpdatesStarted(); break;
        case 17: _t->onFeedUpdatesProgress((*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 18: _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 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 3:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GuiAction >(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GuiMessage >(); break;
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GuiMessageDestination >(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Notification::Event >(); break;
            case 4:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWidget* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 3:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GuiAction >(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GuiMessage >(); break;
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GuiMessageDestination >(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Notification::Event >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GuiMessage >(); break;
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GuiMessageDestination >(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Notification::Event >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GuiMessage >(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Notification::Event >(); 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< Feed* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Application::*)(QString )>(_a, &Application::sendLogToDialog, 0))
            return;
    }
}

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

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

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

// SIGNAL 0
void Application::sendLogToDialog(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
QT_WARNING_POP
