/****************************************************************************
** Meta object code from reading C++ file 'tab_room.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_room.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_room.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_ZN7TabRoomE_t {};
} // unnamed namespace

template <> constexpr inline auto TabRoom::qt_create_metaobjectdata<qt_meta_tag_ZN7TabRoomE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TabRoom",
        "roomClosing",
        "",
        "TabRoom*",
        "tab",
        "openMessageDialog",
        "userName",
        "focus",
        "maximizeClient",
        "notIdle",
        "sendMessage",
        "sayFinished",
        "Response",
        "response",
        "actClearChat",
        "actOpenChatSettings",
        "addMentionTag",
        "mentionTag",
        "focusTab",
        "actShowMentionPopup",
        "sender",
        "actShowPopup",
        "message",
        "actCompleterChanged",
        "processListGamesEvent",
        "Event_ListGames",
        "event",
        "processJoinRoomEvent",
        "Event_JoinRoom",
        "processLeaveRoomEvent",
        "Event_LeaveRoom",
        "processRoomSayEvent",
        "Event_RoomSay",
        "processRemoveMessagesEvent",
        "Event_RemoveMessages",
        "refreshShortcuts"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'roomClosing'
        QtMocHelpers::SignalData<void(TabRoom *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'openMessageDialog'
        QtMocHelpers::SignalData<void(const QString &, bool)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 }, { QMetaType::Bool, 7 },
        }}),
        // Signal 'maximizeClient'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'notIdle'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'sendMessage'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'sayFinished'
        QtMocHelpers::SlotData<void(const Response &)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Slot 'actClearChat'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actOpenChatSettings'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'addMentionTag'
        QtMocHelpers::SlotData<void(QString)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 17 },
        }}),
        // Slot 'focusTab'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actShowMentionPopup'
        QtMocHelpers::SlotData<void(const QString &)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 20 },
        }}),
        // Slot 'actShowPopup'
        QtMocHelpers::SlotData<void(const QString &)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 22 },
        }}),
        // Slot 'actCompleterChanged'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'processListGamesEvent'
        QtMocHelpers::SlotData<void(const Event_ListGames &)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 25, 26 },
        }}),
        // Slot 'processJoinRoomEvent'
        QtMocHelpers::SlotData<void(const Event_JoinRoom &)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 28, 26 },
        }}),
        // Slot 'processLeaveRoomEvent'
        QtMocHelpers::SlotData<void(const Event_LeaveRoom &)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 30, 26 },
        }}),
        // Slot 'processRoomSayEvent'
        QtMocHelpers::SlotData<void(const Event_RoomSay &)>(31, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 32, 26 },
        }}),
        // Slot 'processRemoveMessagesEvent'
        QtMocHelpers::SlotData<void(const Event_RemoveMessages &)>(33, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 34, 26 },
        }}),
        // Slot 'refreshShortcuts'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TabRoom, qt_meta_tag_ZN7TabRoomE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject TabRoom::staticMetaObject = { {
    QMetaObject::SuperData::link<Tab::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7TabRoomE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7TabRoomE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7TabRoomE_t>.metaTypes,
    nullptr
} };

void TabRoom::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TabRoom *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->roomClosing((*reinterpret_cast< std::add_pointer_t<TabRoom*>>(_a[1]))); break;
        case 1: _t->openMessageDialog((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
        case 2: _t->maximizeClient(); break;
        case 3: _t->notIdle(); break;
        case 4: _t->sendMessage(); break;
        case 5: _t->sayFinished((*reinterpret_cast< std::add_pointer_t<Response>>(_a[1]))); break;
        case 6: _t->actClearChat(); break;
        case 7: _t->actOpenChatSettings(); break;
        case 8: _t->addMentionTag((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 9: _t->focusTab(); break;
        case 10: _t->actShowMentionPopup((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 11: _t->actShowPopup((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 12: _t->actCompleterChanged(); break;
        case 13: _t->processListGamesEvent((*reinterpret_cast< std::add_pointer_t<Event_ListGames>>(_a[1]))); break;
        case 14: _t->processJoinRoomEvent((*reinterpret_cast< std::add_pointer_t<Event_JoinRoom>>(_a[1]))); break;
        case 15: _t->processLeaveRoomEvent((*reinterpret_cast< std::add_pointer_t<Event_LeaveRoom>>(_a[1]))); break;
        case 16: _t->processRoomSayEvent((*reinterpret_cast< std::add_pointer_t<Event_RoomSay>>(_a[1]))); break;
        case 17: _t->processRemoveMessagesEvent((*reinterpret_cast< std::add_pointer_t<Event_RemoveMessages>>(_a[1]))); break;
        case 18: _t->refreshShortcuts(); 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< TabRoom* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (TabRoom::*)(TabRoom * )>(_a, &TabRoom::roomClosing, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabRoom::*)(const QString & , bool )>(_a, &TabRoom::openMessageDialog, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabRoom::*)()>(_a, &TabRoom::maximizeClient, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabRoom::*)()>(_a, &TabRoom::notIdle, 3))
            return;
    }
}

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

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

int TabRoom::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 < 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 TabRoom::roomClosing(TabRoom * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

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

// SIGNAL 2
void TabRoom::maximizeClient()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

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