/****************************************************************************
** Meta object code from reading C++ file 'MembershipQE.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 "core/MembershipQE.h"
#include <QtNetwork/QSslError>
#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 'MembershipQE.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_ZN15ClubStatusQueryE_t {};
} // unnamed namespace

template <> constexpr inline auto ClubStatusQuery::qt_create_metaobjectdata<qt_meta_tag_ZN15ClubStatusQueryE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ClubStatusQuery",
        "status",
        "",
        "QMap<QString,ClubStatusQuery::ClubInfo>",
        "getClubStatus",
        "in_callsign",
        "in_band",
        "in_mode",
        "lowtConfirmed",
        "paperConfirmed",
        "eqslConfirmed",
        "ClubStatus",
        "NewClub",
        "NewBandClub",
        "NewModeClub",
        "NewBandModeClub",
        "NewSlotClub",
        "WorkedClub",
        "ConfirmedClub",
        "UnknownStatusClub",
        "AllClub"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'status'
        QtMocHelpers::SignalData<void(QString, QMap<QString,ClubStatusQuery::ClubInfo>)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { 0x80000000 | 3, 2 },
        }}),
        // Slot 'getClubStatus'
        QtMocHelpers::SlotData<void(const QString &, const QString &, const QString &, bool, bool, bool)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::QString, 7 }, { QMetaType::Bool, 8 },
            { QMetaType::Bool, 9 }, { QMetaType::Bool, 10 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'ClubStatus'
        QtMocHelpers::EnumData<enum ClubStatus>(11, 11, QMC::EnumFlags{}).add({
            {   12, ClubStatus::NewClub },
            {   13, ClubStatus::NewBandClub },
            {   14, ClubStatus::NewModeClub },
            {   15, ClubStatus::NewBandModeClub },
            {   16, ClubStatus::NewSlotClub },
            {   17, ClubStatus::WorkedClub },
            {   18, ClubStatus::ConfirmedClub },
            {   19, ClubStatus::UnknownStatusClub },
            {   20, ClubStatus::AllClub },
        }),
    };
    return QtMocHelpers::metaObjectData<ClubStatusQuery, qt_meta_tag_ZN15ClubStatusQueryE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ClubStatusQuery::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ClubStatusQueryE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15ClubStatusQueryE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15ClubStatusQueryE_t>.metaTypes,
    nullptr
} };

void ClubStatusQuery::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ClubStatusQuery *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->status((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QMap<QString,ClubStatusQuery::ClubInfo>>>(_a[2]))); break;
        case 1: _t->getClubStatus((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[6]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ClubStatusQuery::*)(QString , QMap<QString,ClubStatusQuery::ClubInfo> )>(_a, &ClubStatusQuery::status, 0))
            return;
    }
}

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

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

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

// SIGNAL 0
void ClubStatusQuery::status(QString _t1, QMap<QString,ClubStatusQuery::ClubInfo> _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}
namespace {
struct qt_meta_tag_ZN12MembershipQEE_t {};
} // unnamed namespace

template <> constexpr inline auto MembershipQE::qt_create_metaobjectdata<qt_meta_tag_ZN12MembershipQEE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MembershipQE",
        "clubStatusResult",
        "",
        "QMap<QString,ClubStatusQuery::ClubInfo>",
        "statusQueryFinished",
        "onFinishedListDownload",
        "QNetworkReply*"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'clubStatusResult'
        QtMocHelpers::SignalData<void(QString, QMap<QString,ClubStatusQuery::ClubInfo>)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { 0x80000000 | 3, 2 },
        }}),
        // Slot 'statusQueryFinished'
        QtMocHelpers::SlotData<void(const QString &, QMap<QString,ClubStatusQuery::ClubInfo>)>(4, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { 0x80000000 | 3, 2 },
        }}),
        // Slot 'onFinishedListDownload'
        QtMocHelpers::SlotData<void(QNetworkReply *)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 6, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MembershipQE, qt_meta_tag_ZN12MembershipQEE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MembershipQE::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12MembershipQEE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12MembershipQEE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12MembershipQEE_t>.metaTypes,
    nullptr
} };

void MembershipQE::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MembershipQE *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->clubStatusResult((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QMap<QString,ClubStatusQuery::ClubInfo>>>(_a[2]))); break;
        case 1: _t->statusQueryFinished((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QMap<QString,ClubStatusQuery::ClubInfo>>>(_a[2]))); break;
        case 2: _t->onFinishedListDownload((*reinterpret_cast<std::add_pointer_t<QNetworkReply*>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); 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< QNetworkReply* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MembershipQE::*)(QString , QMap<QString,ClubStatusQuery::ClubInfo> )>(_a, &MembershipQE::clubStatusResult, 0))
            return;
    }
}

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

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

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

// SIGNAL 0
void MembershipQE::clubStatusResult(QString _t1, QMap<QString,ClubStatusQuery::ClubInfo> _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}
QT_WARNING_POP
