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

template <> constexpr inline auto TabAccount::qt_create_metaobjectdata<qt_meta_tag_ZN10TabAccountE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TabAccount",
        "openMessageDialog",
        "",
        "userName",
        "focus",
        "userLeft",
        "userJoined",
        "ServerInfo_User",
        "userInfo",
        "processListUsersResponse",
        "Response",
        "response",
        "processUserJoinedEvent",
        "Event_UserJoined",
        "event",
        "processUserLeftEvent",
        "Event_UserLeft",
        "buddyListReceived",
        "QList<ServerInfo_User>",
        "_buddyList",
        "ignoreListReceived",
        "_ignoreList",
        "processAddToListEvent",
        "Event_AddToList",
        "processRemoveFromListEvent",
        "Event_RemoveFromList",
        "addToIgnoreList",
        "addToBuddyList"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'openMessageDialog'
        QtMocHelpers::SignalData<void(const QString &, bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::Bool, 4 },
        }}),
        // Signal 'userLeft'
        QtMocHelpers::SignalData<void(const QString &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'userJoined'
        QtMocHelpers::SignalData<void(const ServerInfo_User &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'processListUsersResponse'
        QtMocHelpers::SlotData<void(const Response &)>(9, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Slot 'processUserJoinedEvent'
        QtMocHelpers::SlotData<void(const Event_UserJoined &)>(12, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Slot 'processUserLeftEvent'
        QtMocHelpers::SlotData<void(const Event_UserLeft &)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 16, 14 },
        }}),
        // Slot 'buddyListReceived'
        QtMocHelpers::SlotData<void(const QList<ServerInfo_User> &)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 18, 19 },
        }}),
        // Slot 'ignoreListReceived'
        QtMocHelpers::SlotData<void(const QList<ServerInfo_User> &)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 18, 21 },
        }}),
        // Slot 'processAddToListEvent'
        QtMocHelpers::SlotData<void(const Event_AddToList &)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 23, 14 },
        }}),
        // Slot 'processRemoveFromListEvent'
        QtMocHelpers::SlotData<void(const Event_RemoveFromList &)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 25, 14 },
        }}),
        // Slot 'addToIgnoreList'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'addToBuddyList'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TabAccount, qt_meta_tag_ZN10TabAccountE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject TabAccount::staticMetaObject = { {
    QMetaObject::SuperData::link<Tab::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10TabAccountE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10TabAccountE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10TabAccountE_t>.metaTypes,
    nullptr
} };

void TabAccount::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TabAccount *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->openMessageDialog((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
        case 1: _t->userLeft((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->userJoined((*reinterpret_cast< std::add_pointer_t<ServerInfo_User>>(_a[1]))); break;
        case 3: _t->processListUsersResponse((*reinterpret_cast< std::add_pointer_t<Response>>(_a[1]))); break;
        case 4: _t->processUserJoinedEvent((*reinterpret_cast< std::add_pointer_t<Event_UserJoined>>(_a[1]))); break;
        case 5: _t->processUserLeftEvent((*reinterpret_cast< std::add_pointer_t<Event_UserLeft>>(_a[1]))); break;
        case 6: _t->buddyListReceived((*reinterpret_cast< std::add_pointer_t<QList<ServerInfo_User>>>(_a[1]))); break;
        case 7: _t->ignoreListReceived((*reinterpret_cast< std::add_pointer_t<QList<ServerInfo_User>>>(_a[1]))); break;
        case 8: _t->processAddToListEvent((*reinterpret_cast< std::add_pointer_t<Event_AddToList>>(_a[1]))); break;
        case 9: _t->processRemoveFromListEvent((*reinterpret_cast< std::add_pointer_t<Event_RemoveFromList>>(_a[1]))); break;
        case 10: _t->addToIgnoreList(); break;
        case 11: _t->addToBuddyList(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (TabAccount::*)(const QString & , bool )>(_a, &TabAccount::openMessageDialog, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabAccount::*)(const QString & )>(_a, &TabAccount::userLeft, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (TabAccount::*)(const ServerInfo_User & )>(_a, &TabAccount::userJoined, 2))
            return;
    }
}

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

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

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

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

// SIGNAL 1
void TabAccount::userLeft(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void TabAccount::userJoined(const ServerInfo_User & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}
QT_WARNING_POP
