/****************************************************************************
** Meta object code from reading C++ file 'vsServerInfo.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 "../../jacktrip-3.0.0/src/vs/vsServerInfo.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 'vsServerInfo.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_ZN12VsServerInfoE_t {};
} // unnamed namespace

template <> constexpr inline auto VsServerInfo::qt_create_metaobjectdata<qt_meta_tag_ZN12VsServerInfoE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "VsServerInfo",
        "canConnectChanged",
        "",
        "type",
        "name",
        "canConnect",
        "canStart",
        "isPublic",
        "flag",
        "bannerURL",
        "location",
        "isAdmin",
        "isManaged",
        "period",
        "sampleRate",
        "queueBuffer",
        "sessionId",
        "streamId",
        "status",
        "enabled",
        "cloudId",
        "id",
        "inviteKey"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'canConnectChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'type'
        QtMocHelpers::PropertyData<QString>(3, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'name'
        QtMocHelpers::PropertyData<QString>(4, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'canConnect'
        QtMocHelpers::PropertyData<bool>(5, QMetaType::Bool, QMC::DefaultPropertyFlags, 0),
        // property 'canStart'
        QtMocHelpers::PropertyData<bool>(6, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'isPublic'
        QtMocHelpers::PropertyData<bool>(7, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'flag'
        QtMocHelpers::PropertyData<QString>(8, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'bannerURL'
        QtMocHelpers::PropertyData<QString>(9, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'location'
        QtMocHelpers::PropertyData<QString>(10, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'isAdmin'
        QtMocHelpers::PropertyData<bool>(11, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'isManaged'
        QtMocHelpers::PropertyData<bool>(12, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'period'
        QtMocHelpers::PropertyData<quint16>(13, QMetaType::UShort, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'sampleRate'
        QtMocHelpers::PropertyData<quint32>(14, QMetaType::UInt, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'queueBuffer'
        QtMocHelpers::PropertyData<quint16>(15, QMetaType::UShort, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'sessionId'
        QtMocHelpers::PropertyData<QString>(16, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'streamId'
        QtMocHelpers::PropertyData<QString>(17, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'status'
        QtMocHelpers::PropertyData<QString>(18, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'enabled'
        QtMocHelpers::PropertyData<bool>(19, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'cloudId'
        QtMocHelpers::PropertyData<QString>(20, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'id'
        QtMocHelpers::PropertyData<QString>(21, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'inviteKey'
        QtMocHelpers::PropertyData<QString>(22, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<VsServerInfo, qt_meta_tag_ZN12VsServerInfoE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject VsServerInfo::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12VsServerInfoE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12VsServerInfoE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12VsServerInfoE_t>.metaTypes,
    nullptr
} };

void VsServerInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<VsServerInfo *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->canConnectChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (VsServerInfo::*)()>(_a, &VsServerInfo::canConnectChanged, 0))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->type(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->name(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->canConnect(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->canStart(); break;
        case 4: *reinterpret_cast<bool*>(_v) = _t->isPublic(); break;
        case 5: *reinterpret_cast<QString*>(_v) = _t->flag(); break;
        case 6: *reinterpret_cast<QString*>(_v) = _t->bannerURL(); break;
        case 7: *reinterpret_cast<QString*>(_v) = _t->location(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->isAdmin(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->isManaged(); break;
        case 10: *reinterpret_cast<quint16*>(_v) = _t->period(); break;
        case 11: *reinterpret_cast<quint32*>(_v) = _t->sampleRate(); break;
        case 12: *reinterpret_cast<quint16*>(_v) = _t->queueBuffer(); break;
        case 13: *reinterpret_cast<QString*>(_v) = _t->sessionId(); break;
        case 14: *reinterpret_cast<QString*>(_v) = _t->streamId(); break;
        case 15: *reinterpret_cast<QString*>(_v) = _t->status(); break;
        case 16: *reinterpret_cast<bool*>(_v) = _t->enabled(); break;
        case 17: *reinterpret_cast<QString*>(_v) = _t->cloudId(); break;
        case 18: *reinterpret_cast<QString*>(_v) = _t->id(); break;
        case 19: *reinterpret_cast<QString*>(_v) = _t->inviteKey(); break;
        default: break;
        }
    }
}

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

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

int VsServerInfo::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 1;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    }
    return _id;
}

// SIGNAL 0
void VsServerInfo::canConnectChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
