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

template <> constexpr inline auto ReleaseChannel::qt_create_metaobjectdata<qt_meta_tag_ZN14ReleaseChannelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ReleaseChannel",
        "finishedCheck",
        "",
        "needToUpdate",
        "isCompatible",
        "Release*",
        "release",
        "error",
        "errorString",
        "releaseListFinished",
        "fileListFinished"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'finishedCheck'
        QtMocHelpers::SignalData<void(bool, bool, Release *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 }, { QMetaType::Bool, 4 }, { 0x80000000 | 5, 6 },
        }}),
        // Signal 'error'
        QtMocHelpers::SignalData<void(QString)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 },
        }}),
        // Slot 'releaseListFinished'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'fileListFinished'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessProtected, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ReleaseChannel, qt_meta_tag_ZN14ReleaseChannelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ReleaseChannel::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14ReleaseChannelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14ReleaseChannelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14ReleaseChannelE_t>.metaTypes,
    nullptr
} };

void ReleaseChannel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ReleaseChannel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->finishedCheck((*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 1: _t->error((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->releaseListFinished(); break;
        case 3: _t->fileListFinished(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ReleaseChannel::*)(bool , bool , Release * )>(_a, &ReleaseChannel::finishedCheck, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ReleaseChannel::*)(QString )>(_a, &ReleaseChannel::error, 1))
            return;
    }
}

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

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

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

// SIGNAL 0
void ReleaseChannel::finishedCheck(bool _t1, bool _t2, Release * _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3);
}

// SIGNAL 1
void ReleaseChannel::error(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN20StableReleaseChannelE_t {};
} // unnamed namespace

template <> constexpr inline auto StableReleaseChannel::qt_create_metaobjectdata<qt_meta_tag_ZN20StableReleaseChannelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "StableReleaseChannel",
        "releaseListFinished",
        "",
        "tagListFinished",
        "fileListFinished"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'releaseListFinished'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'tagListFinished'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'fileListFinished'
        QtMocHelpers::SlotData<void()>(4, 2, QMC::AccessProtected, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<StableReleaseChannel, qt_meta_tag_ZN20StableReleaseChannelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject StableReleaseChannel::staticMetaObject = { {
    QMetaObject::SuperData::link<ReleaseChannel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20StableReleaseChannelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20StableReleaseChannelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN20StableReleaseChannelE_t>.metaTypes,
    nullptr
} };

void StableReleaseChannel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<StableReleaseChannel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->releaseListFinished(); break;
        case 1: _t->tagListFinished(); break;
        case 2: _t->fileListFinished(); break;
        default: ;
        }
    }
    (void)_a;
}

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

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

int StableReleaseChannel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ReleaseChannel::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)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 3;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN18BetaReleaseChannelE_t {};
} // unnamed namespace

template <> constexpr inline auto BetaReleaseChannel::qt_create_metaobjectdata<qt_meta_tag_ZN18BetaReleaseChannelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "BetaReleaseChannel",
        "releaseListFinished",
        "",
        "fileListFinished"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'releaseListFinished'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'fileListFinished'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessProtected, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<BetaReleaseChannel, qt_meta_tag_ZN18BetaReleaseChannelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject BetaReleaseChannel::staticMetaObject = { {
    QMetaObject::SuperData::link<ReleaseChannel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18BetaReleaseChannelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18BetaReleaseChannelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18BetaReleaseChannelE_t>.metaTypes,
    nullptr
} };

void BetaReleaseChannel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<BetaReleaseChannel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->releaseListFinished(); break;
        case 1: _t->fileListFinished(); break;
        default: ;
        }
    }
    (void)_a;
}

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

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

int BetaReleaseChannel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ReleaseChannel::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;
}
QT_WARNING_POP
