/****************************************************************************
** Meta object code from reading C++ file 'formmain.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/dialogs/formmain.h"
#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 'formmain.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_ZN8FormMainE_t {};
} // unnamed namespace

template <> constexpr inline auto FormMain::qt_create_metaobjectdata<qt_meta_tag_ZN8FormMainE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "FormMain",
        "windowResized",
        "",
        "QSize",
        "new_size",
        "display",
        "switchVisibility",
        "force_hide",
        "switchFullscreenMode",
        "showAddAccountDialog",
        "updateAddItemMenu",
        "updateRecycleBinMenu",
        "updateAccountsMenu",
        "updateTabsButtonsAvailability",
        "index",
        "updateMessageButtonsAvailability",
        "updateFeedButtonsAvailability",
        "onFeedUpdatesStarted",
        "onFeedUpdatesProgress",
        "const Feed*",
        "feed",
        "current",
        "total",
        "onFeedUpdatesFinished",
        "FeedDownloadResults",
        "results",
        "backupDatabaseSettings",
        "restoreDatabaseSettings",
        "showDocs",
        "showDbCleanupAssistant",
        "reportABug",
        "donate"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'windowResized'
        QtMocHelpers::SignalData<void(const QSize &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'display'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'switchVisibility'
        QtMocHelpers::SlotData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Slot 'switchVisibility'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'switchFullscreenMode'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showAddAccountDialog'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateAddItemMenu'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateRecycleBinMenu'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateAccountsMenu'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateTabsButtonsAvailability'
        QtMocHelpers::SlotData<void(int)>(13, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 14 },
        }}),
        // Slot 'updateMessageButtonsAvailability'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'updateFeedButtonsAvailability'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onFeedUpdatesStarted'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onFeedUpdatesProgress'
        QtMocHelpers::SlotData<void(const Feed *, int, int)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 19, 20 }, { QMetaType::Int, 21 }, { QMetaType::Int, 22 },
        }}),
        // Slot 'onFeedUpdatesFinished'
        QtMocHelpers::SlotData<void(const FeedDownloadResults &)>(23, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 24, 25 },
        }}),
        // Slot 'backupDatabaseSettings'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'restoreDatabaseSettings'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showDocs'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showDbCleanupAssistant'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'reportABug'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'donate'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FormMain, qt_meta_tag_ZN8FormMainE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject FormMain::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8FormMainE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8FormMainE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8FormMainE_t>.metaTypes,
    nullptr
} };

void FormMain::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FormMain *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->windowResized((*reinterpret_cast<std::add_pointer_t<QSize>>(_a[1]))); break;
        case 1: _t->display(); break;
        case 2: _t->switchVisibility((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->switchVisibility(); break;
        case 4: _t->switchFullscreenMode(); break;
        case 5: _t->showAddAccountDialog(); break;
        case 6: _t->updateAddItemMenu(); break;
        case 7: _t->updateRecycleBinMenu(); break;
        case 8: _t->updateAccountsMenu(); break;
        case 9: _t->updateTabsButtonsAvailability((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 10: _t->updateMessageButtonsAvailability(); break;
        case 11: _t->updateFeedButtonsAvailability(); break;
        case 12: _t->onFeedUpdatesStarted(); break;
        case 13: _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 14: _t->onFeedUpdatesFinished((*reinterpret_cast<std::add_pointer_t<FeedDownloadResults>>(_a[1]))); break;
        case 15: _t->backupDatabaseSettings(); break;
        case 16: _t->restoreDatabaseSettings(); break;
        case 17: _t->showDocs(); break;
        case 18: _t->showDbCleanupAssistant(); break;
        case 19: _t->reportABug(); break;
        case 20: _t->donate(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (FormMain::*)(const QSize & )>(_a, &FormMain::windowResized, 0))
            return;
    }
}

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

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

int FormMain::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 21;
    }
    return _id;
}

// SIGNAL 0
void FormMain::windowResized(const QSize & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
QT_WARNING_POP
