/****************************************************************************
** Meta object code from reading C++ file 'window_main.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.9.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../cockatrice/src/client/ui/window_main.h"
#include <QtNetwork/QSslPreSharedKeyAuthenticator>
#include <QtNetwork/QSslError>
#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 'window_main.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.9.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_ZN10MainWindowE_t {};
} // unnamed namespace

template <> constexpr inline auto MainWindow::qt_create_metaobjectdata<qt_meta_tag_ZN10MainWindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MainWindow",
        "actCheckCardUpdates",
        "",
        "actCheckServerUpdates",
        "actCheckClientUpdates",
        "updateTabMenu",
        "QList<QMenu*>",
        "newMenuList",
        "statusChanged",
        "ClientStatus",
        "_status",
        "processConnectionClosedEvent",
        "Event_ConnectionClosed",
        "event",
        "processServerShutdownEvent",
        "Event_ServerShutdown",
        "serverTimeout",
        "loginError",
        "Response::ResponseCode",
        "r",
        "reasonStr",
        "endTime",
        "missingFeatures",
        "registerError",
        "activateError",
        "socketError",
        "errorStr",
        "protocolVersionMismatch",
        "localVersion",
        "remoteVersion",
        "userInfoReceived",
        "ServerInfo_User",
        "userInfo",
        "registerAccepted",
        "registerAcceptedNeedsActivate",
        "activateAccepted",
        "localGameEnded",
        "pixmapCacheSizeChanged",
        "newSizeInMBs",
        "notifyUserAboutUpdate",
        "actConnect",
        "actDisconnect",
        "actSinglePlayer",
        "actWatchReplay",
        "actFullScreen",
        "checked",
        "actRegister",
        "actSettings",
        "actExit",
        "actForgotPasswordRequest",
        "actAbout",
        "actTips",
        "actUpdate",
        "actViewLog",
        "actOpenSettingsFolder",
        "forgotPasswordSuccess",
        "forgotPasswordError",
        "promptForgotPasswordReset",
        "actShow",
        "promptForgotPasswordChallenge",
        "showWindowIfHidden",
        "cardUpdateError",
        "QProcess::ProcessError",
        "err",
        "cardUpdateFinished",
        "exitCode",
        "QProcess::ExitStatus",
        "exitStatus",
        "refreshShortcuts",
        "cardDatabaseLoadingFailed",
        "cardDatabaseNewSetsFound",
        "numUnknownSets",
        "unknownSetsNames",
        "cardDatabaseAllNewSetsEnabled",
        "checkClientUpdatesFinished",
        "needToUpdate",
        "isCompatible",
        "Release*",
        "release",
        "actOpenCustomFolder",
        "actOpenCustomsetsFolder",
        "actAddCustomSet",
        "actReloadCardDatabase",
        "actManageSets",
        "actEditTokens",
        "startupConfigCheck",
        "alertForcedOracleRun",
        "version",
        "isUpdate"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'actCheckCardUpdates'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'actCheckServerUpdates'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'actCheckClientUpdates'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateTabMenu'
        QtMocHelpers::SlotData<void(const QList<QMenu*> &)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Slot 'statusChanged'
        QtMocHelpers::SlotData<void(ClientStatus)>(8, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 9, 10 },
        }}),
        // Slot 'processConnectionClosedEvent'
        QtMocHelpers::SlotData<void(const Event_ConnectionClosed &)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Slot 'processServerShutdownEvent'
        QtMocHelpers::SlotData<void(const Event_ServerShutdown &)>(14, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 15, 13 },
        }}),
        // Slot 'serverTimeout'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'loginError'
        QtMocHelpers::SlotData<void(Response::ResponseCode, QString, quint32, QList<QString>)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 18, 19 }, { QMetaType::QString, 20 }, { QMetaType::UInt, 21 }, { QMetaType::QStringList, 22 },
        }}),
        // Slot 'registerError'
        QtMocHelpers::SlotData<void(Response::ResponseCode, QString, quint32)>(23, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 18, 19 }, { QMetaType::QString, 20 }, { QMetaType::UInt, 21 },
        }}),
        // Slot 'activateError'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'socketError'
        QtMocHelpers::SlotData<void(const QString &)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 26 },
        }}),
        // Slot 'protocolVersionMismatch'
        QtMocHelpers::SlotData<void(int, int)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 28 }, { QMetaType::Int, 29 },
        }}),
        // Slot 'userInfoReceived'
        QtMocHelpers::SlotData<void(const ServerInfo_User &)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 31, 32 },
        }}),
        // Slot 'registerAccepted'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'registerAcceptedNeedsActivate'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'activateAccepted'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'localGameEnded'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'pixmapCacheSizeChanged'
        QtMocHelpers::SlotData<void(int)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 38 },
        }}),
        // Slot 'notifyUserAboutUpdate'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actConnect'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actDisconnect'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actSinglePlayer'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actWatchReplay'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actFullScreen'
        QtMocHelpers::SlotData<void(bool)>(44, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 45 },
        }}),
        // Slot 'actRegister'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actSettings'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actExit'
        QtMocHelpers::SlotData<void()>(48, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actForgotPasswordRequest'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actAbout'
        QtMocHelpers::SlotData<void()>(50, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actTips'
        QtMocHelpers::SlotData<void()>(51, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actUpdate'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actViewLog'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actOpenSettingsFolder'
        QtMocHelpers::SlotData<void()>(54, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'forgotPasswordSuccess'
        QtMocHelpers::SlotData<void()>(55, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'forgotPasswordError'
        QtMocHelpers::SlotData<void()>(56, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'promptForgotPasswordReset'
        QtMocHelpers::SlotData<void()>(57, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actShow'
        QtMocHelpers::SlotData<void()>(58, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'promptForgotPasswordChallenge'
        QtMocHelpers::SlotData<void()>(59, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'showWindowIfHidden'
        QtMocHelpers::SlotData<void()>(60, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'cardUpdateError'
        QtMocHelpers::SlotData<void(QProcess::ProcessError)>(61, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 62, 63 },
        }}),
        // Slot 'cardUpdateFinished'
        QtMocHelpers::SlotData<void(int, QProcess::ExitStatus)>(64, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 65 }, { 0x80000000 | 66, 67 },
        }}),
        // Slot 'refreshShortcuts'
        QtMocHelpers::SlotData<void()>(68, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'cardDatabaseLoadingFailed'
        QtMocHelpers::SlotData<void()>(69, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'cardDatabaseNewSetsFound'
        QtMocHelpers::SlotData<void(int, QStringList)>(70, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 71 }, { QMetaType::QStringList, 72 },
        }}),
        // Slot 'cardDatabaseAllNewSetsEnabled'
        QtMocHelpers::SlotData<void()>(73, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkClientUpdatesFinished'
        QtMocHelpers::SlotData<void(bool, bool, Release *)>(74, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 75 }, { QMetaType::Bool, 76 }, { 0x80000000 | 77, 78 },
        }}),
        // Slot 'actOpenCustomFolder'
        QtMocHelpers::SlotData<void()>(79, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actOpenCustomsetsFolder'
        QtMocHelpers::SlotData<void()>(80, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actAddCustomSet'
        QtMocHelpers::SlotData<void()>(81, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actReloadCardDatabase'
        QtMocHelpers::SlotData<void()>(82, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actManageSets'
        QtMocHelpers::SlotData<void()>(83, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actEditTokens'
        QtMocHelpers::SlotData<void()>(84, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'startupConfigCheck'
        QtMocHelpers::SlotData<void()>(85, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'alertForcedOracleRun'
        QtMocHelpers::SlotData<void(const QString &, bool)>(86, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 87 }, { QMetaType::Bool, 88 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MainWindow, qt_meta_tag_ZN10MainWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10MainWindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10MainWindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10MainWindowE_t>.metaTypes,
    nullptr
} };

void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MainWindow *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->actCheckCardUpdates(); break;
        case 1: _t->actCheckServerUpdates(); break;
        case 2: _t->actCheckClientUpdates(); break;
        case 3: _t->updateTabMenu((*reinterpret_cast< std::add_pointer_t<QList<QMenu*>>>(_a[1]))); break;
        case 4: _t->statusChanged((*reinterpret_cast< std::add_pointer_t<ClientStatus>>(_a[1]))); break;
        case 5: _t->processConnectionClosedEvent((*reinterpret_cast< std::add_pointer_t<Event_ConnectionClosed>>(_a[1]))); break;
        case 6: _t->processServerShutdownEvent((*reinterpret_cast< std::add_pointer_t<Event_ServerShutdown>>(_a[1]))); break;
        case 7: _t->serverTimeout(); break;
        case 8: _t->loginError((*reinterpret_cast< std::add_pointer_t<Response::ResponseCode>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<quint32>>(_a[3])),(*reinterpret_cast< std::add_pointer_t<QList<QString>>>(_a[4]))); break;
        case 9: _t->registerError((*reinterpret_cast< std::add_pointer_t<Response::ResponseCode>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<quint32>>(_a[3]))); break;
        case 10: _t->activateError(); break;
        case 11: _t->socketError((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 12: _t->protocolVersionMismatch((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 13: _t->userInfoReceived((*reinterpret_cast< std::add_pointer_t<ServerInfo_User>>(_a[1]))); break;
        case 14: _t->registerAccepted(); break;
        case 15: _t->registerAcceptedNeedsActivate(); break;
        case 16: _t->activateAccepted(); break;
        case 17: _t->localGameEnded(); break;
        case 18: _t->pixmapCacheSizeChanged((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
        case 19: _t->notifyUserAboutUpdate(); break;
        case 20: _t->actConnect(); break;
        case 21: _t->actDisconnect(); break;
        case 22: _t->actSinglePlayer(); break;
        case 23: _t->actWatchReplay(); break;
        case 24: _t->actFullScreen((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 25: _t->actRegister(); break;
        case 26: _t->actSettings(); break;
        case 27: _t->actExit(); break;
        case 28: _t->actForgotPasswordRequest(); break;
        case 29: _t->actAbout(); break;
        case 30: _t->actTips(); break;
        case 31: _t->actUpdate(); break;
        case 32: _t->actViewLog(); break;
        case 33: _t->actOpenSettingsFolder(); break;
        case 34: _t->forgotPasswordSuccess(); break;
        case 35: _t->forgotPasswordError(); break;
        case 36: _t->promptForgotPasswordReset(); break;
        case 37: _t->actShow(); break;
        case 38: _t->promptForgotPasswordChallenge(); break;
        case 39: _t->showWindowIfHidden(); break;
        case 40: _t->cardUpdateError((*reinterpret_cast< std::add_pointer_t<QProcess::ProcessError>>(_a[1]))); break;
        case 41: _t->cardUpdateFinished((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QProcess::ExitStatus>>(_a[2]))); break;
        case 42: _t->refreshShortcuts(); break;
        case 43: _t->cardDatabaseLoadingFailed(); break;
        case 44: _t->cardDatabaseNewSetsFound((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QStringList>>(_a[2]))); break;
        case 45: _t->cardDatabaseAllNewSetsEnabled(); break;
        case 46: _t->checkClientUpdatesFinished((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<Release*>>(_a[3]))); break;
        case 47: _t->actOpenCustomFolder(); break;
        case 48: _t->actOpenCustomsetsFolder(); break;
        case 49: _t->actAddCustomSet(); break;
        case 50: _t->actReloadCardDatabase(); break;
        case 51: _t->actManageSets(); break;
        case 52: _t->actEditTokens(); break;
        case 53: _t->startupConfigCheck(); break;
        case 54: _t->alertForcedOracleRun((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
        default: ;
        }
    }
}

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

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

int MainWindow::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 < 55)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 55;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 55)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 55;
    }
    return _id;
}
QT_WARNING_POP
