/****************************************************************************
** Meta object code from reading C++ file 'tab_game.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/tabs/tab_game.h"
#include <QtGui/qtextcursor.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 'tab_game.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_ZN7TabGameE_t {};
} // unnamed namespace

template <> constexpr inline auto TabGame::qt_create_metaobjectdata<qt_meta_tag_ZN7TabGameE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TabGame",
        "gameClosing",
        "",
        "TabGame*",
        "tab",
        "playerAdded",
        "Player*",
        "player",
        "playerRemoved",
        "containerProcessingStarted",
        "GameEventContext",
        "context",
        "containerProcessingDone",
        "openMessageDialog",
        "userName",
        "focus",
        "openDeckEditor",
        "const DeckLoader*",
        "deck",
        "notIdle",
        "replayNextEvent",
        "Player::EventProcessingOptions",
        "options",
        "replayFinished",
        "replayPlayButtonToggled",
        "checked",
        "replayFastForwardButtonToggled",
        "replayRewind",
        "incrementGameTime",
        "adminLockChanged",
        "lock",
        "newCardAdded",
        "AbstractCardItem*",
        "card",
        "updateCardMenu",
        "actGameInfo",
        "actConcede",
        "actRemoveLocalArrows",
        "actRotateViewCW",
        "actRotateViewCCW",
        "actSay",
        "actPhaseAction",
        "actNextPhase",
        "actNextPhaseAction",
        "actNextTurn",
        "actReverseTurn",
        "addMentionTag",
        "value",
        "linkCardToChat",
        "cardName",
        "commandFinished",
        "Response",
        "response",
        "refreshShortcuts",
        "loadLayout",
        "actCompleterChanged",
        "actResetLayout",
        "freeDocksSize",
        "hideEvent",
        "QHideEvent*",
        "event",
        "eventFilter",
        "o",
        "QEvent*",
        "e",
        "dockVisibleTriggered",
        "dockFloatingTriggered",
        "dockTopLevelChanged",
        "topLevel",
        "sendGameCommand",
        "PendingCommand*",
        "pend",
        "playerId",
        "::google::protobuf::Message",
        "command",
        "viewCardInfo",
        "providerId"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'gameClosing'
        QtMocHelpers::SignalData<void(TabGame *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'playerAdded'
        QtMocHelpers::SignalData<void(Player *)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Signal 'playerRemoved'
        QtMocHelpers::SignalData<void(Player *)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Signal 'containerProcessingStarted'
        QtMocHelpers::SignalData<void(const GameEventContext &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Signal 'containerProcessingDone'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'openMessageDialog'
        QtMocHelpers::SignalData<void(const QString &, bool)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 14 }, { QMetaType::Bool, 15 },
        }}),
        // Signal 'openDeckEditor'
        QtMocHelpers::SignalData<void(const DeckLoader *)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
        // Signal 'notIdle'
        QtMocHelpers::SignalData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'replayNextEvent'
        QtMocHelpers::SlotData<void(Player::EventProcessingOptions)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 21, 22 },
        }}),
        // Slot 'replayFinished'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'replayPlayButtonToggled'
        QtMocHelpers::SlotData<void(bool)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 25 },
        }}),
        // Slot 'replayFastForwardButtonToggled'
        QtMocHelpers::SlotData<void(bool)>(26, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 25 },
        }}),
        // Slot 'replayRewind'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'incrementGameTime'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'adminLockChanged'
        QtMocHelpers::SlotData<void(bool)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 30 },
        }}),
        // Slot 'newCardAdded'
        QtMocHelpers::SlotData<void(AbstractCardItem *)>(31, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 32, 33 },
        }}),
        // Slot 'updateCardMenu'
        QtMocHelpers::SlotData<void(AbstractCardItem *)>(34, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 32, 33 },
        }}),
        // Slot 'actGameInfo'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actConcede'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actRemoveLocalArrows'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actRotateViewCW'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actRotateViewCCW'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actSay'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actPhaseAction'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actNextPhase'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actNextPhaseAction'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actNextTurn'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actReverseTurn'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'addMentionTag'
        QtMocHelpers::SlotData<void(const QString &)>(46, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 47 },
        }}),
        // Slot 'linkCardToChat'
        QtMocHelpers::SlotData<void(const QString &)>(48, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 49 },
        }}),
        // Slot 'commandFinished'
        QtMocHelpers::SlotData<void(const Response &)>(50, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 51, 52 },
        }}),
        // Slot 'refreshShortcuts'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'loadLayout'
        QtMocHelpers::SlotData<void()>(54, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actCompleterChanged'
        QtMocHelpers::SlotData<void()>(55, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actResetLayout'
        QtMocHelpers::SlotData<void()>(56, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'freeDocksSize'
        QtMocHelpers::SlotData<void()>(57, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'hideEvent'
        QtMocHelpers::SlotData<void(QHideEvent *)>(58, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 59, 60 },
        }}),
        // Slot 'eventFilter'
        QtMocHelpers::SlotData<bool(QObject *, QEvent *)>(61, 2, QMC::AccessPrivate, QMetaType::Bool, {{
            { QMetaType::QObjectStar, 62 }, { 0x80000000 | 63, 64 },
        }}),
        // Slot 'dockVisibleTriggered'
        QtMocHelpers::SlotData<void()>(65, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'dockFloatingTriggered'
        QtMocHelpers::SlotData<void()>(66, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'dockTopLevelChanged'
        QtMocHelpers::SlotData<void(bool)>(67, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 68 },
        }}),
        // Slot 'sendGameCommand'
        QtMocHelpers::SlotData<void(PendingCommand *, int)>(69, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 70, 71 }, { QMetaType::Int, 72 },
        }}),
        // Slot 'sendGameCommand'
        QtMocHelpers::SlotData<void(PendingCommand *)>(69, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 70, 71 },
        }}),
        // Slot 'sendGameCommand'
        QtMocHelpers::SlotData<void(const ::google::protobuf::Message &, int)>(69, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 73, 74 }, { QMetaType::Int, 72 },
        }}),
        // Slot 'sendGameCommand'
        QtMocHelpers::SlotData<void(const ::google::protobuf::Message &)>(69, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 73, 74 },
        }}),
        // Slot 'viewCardInfo'
        QtMocHelpers::SlotData<void(const QString &, const QString &) const>(75, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 49 }, { QMetaType::QString, 76 },
        }}),
        // Slot 'viewCardInfo'
        QtMocHelpers::SlotData<void(const QString &) const>(75, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 49 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TabGame, qt_meta_tag_ZN7TabGameE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject TabGame::staticMetaObject = { {
    QMetaObject::SuperData::link<Tab::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7TabGameE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7TabGameE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7TabGameE_t>.metaTypes,
    nullptr
} };

void TabGame::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TabGame *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->gameClosing((*reinterpret_cast< std::add_pointer_t<TabGame*>>(_a[1]))); break;
        case 1: _t->playerAdded((*reinterpret_cast< std::add_pointer_t<Player*>>(_a[1]))); break;
        case 2: _t->playerRemoved((*reinterpret_cast< std::add_pointer_t<Player*>>(_a[1]))); break;
        case 3: _t->containerProcessingStarted((*reinterpret_cast< std::add_pointer_t<GameEventContext>>(_a[1]))); break;
        case 4: _t->containerProcessingDone(); break;
        case 5: _t->openMessageDialog((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
        case 6: _t->openDeckEditor((*reinterpret_cast< std::add_pointer_t<const DeckLoader*>>(_a[1]))); break;
        case 7: _t->notIdle(); break;
        case 8: _t->replayNextEvent((*reinterpret_cast< std::add_pointer_t<Player::EventProcessingOptions>>(_a[1]))); break;
        case 9: _t->replayFinished(); break;
        case 10: _t->replayPlayButtonToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 11: _t->replayFastForwardButtonToggled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 12: _t->replayRewind(); break;
        case 13: _t->incrementGameTime(); break;
        case 14: _t->adminLockChanged((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 15: _t->newCardAdded((*reinterpret_cast< std::add_pointer_t<AbstractCardItem*>>(_a[1]))); break;
        case 16: _t->updateCardMenu((*reinterpret_cast< std::add_pointer_t<AbstractCardItem*>>(_a[1]))); break;
        case 17: _t->actGameInfo(); break;
        case 18: _t->actConcede(); break;
        case 19: _t->actRemoveLocalArrows(); break;
        case 20: _t->actRotateViewCW(); break;
        case 21: _t->actRotateViewCCW(); break;
        case 22: _t->actSay(); break;
        case 23: _t->actPhaseAction(); break;
        case 24: _t->actNextPhase(); break;
        case 25: _t->actNextPhaseAction(); break;
        case 26: _t->actNextTurn(); break;
        case 27: _t->actReverseTurn(); break;
        case 28: _t->addMentionTag((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 29: _t->linkCardToChat((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 30: _t->commandFinished((*reinterpret_cast< std::add_pointer_t<Response>>(_a[1]))); break;
        case 31: _t->refreshShortcuts(); break;
        case 32: _t->loadLayout(); break;
        case 33: _t->actCompleterChanged(); break;
        case 34: _t->actResetLayout(); break;
        case 35: _t->freeDocksSize(); break;
        case 36: _t->hideEvent((*reinterpret_cast< std::add_pointer_t<QHideEvent*>>(_a[1]))); break;
        case 37: { bool _r = _t->eventFilter((*reinterpret_cast< std::add_pointer_t<QObject*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QEvent*>>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 38: _t->dockVisibleTriggered(); break;
        case 39: _t->dockFloatingTriggered(); break;
        case 40: _t->dockTopLevelChanged((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 41: _t->sendGameCommand((*reinterpret_cast< std::add_pointer_t<PendingCommand*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 42: _t->sendGameCommand((*reinterpret_cast< std::add_pointer_t<PendingCommand*>>(_a[1]))); break;
        case 43: _t->sendGameCommand((*reinterpret_cast< std::add_pointer_t<::google::protobuf::Message>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 44: _t->sendGameCommand((*reinterpret_cast< std::add_pointer_t<::google::protobuf::Message>>(_a[1]))); break;
        case 45: _t->viewCardInfo((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2]))); break;
        case 46: _t->viewCardInfo((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< TabGame* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Player* >(); break;
            }
            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< Player* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (TabGame::*)(TabGame * )>(_a, &TabGame::gameClosing, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabGame::*)(Player * )>(_a, &TabGame::playerAdded, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabGame::*)(Player * )>(_a, &TabGame::playerRemoved, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabGame::*)(const GameEventContext & )>(_a, &TabGame::containerProcessingStarted, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabGame::*)()>(_a, &TabGame::containerProcessingDone, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabGame::*)(const QString & , bool )>(_a, &TabGame::openMessageDialog, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabGame::*)(const DeckLoader * )>(_a, &TabGame::openDeckEditor, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabGame::*)()>(_a, &TabGame::notIdle, 7))
            return;
    }
}

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

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

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

// SIGNAL 0
void TabGame::gameClosing(TabGame * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void TabGame::playerAdded(Player * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void TabGame::playerRemoved(Player * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void TabGame::containerProcessingStarted(const GameEventContext & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void TabGame::containerProcessingDone()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void TabGame::openMessageDialog(const QString & _t1, bool _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void TabGame::openDeckEditor(const DeckLoader * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void TabGame::notIdle()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
