/****************************************************************************
** Meta object code from reading C++ file 'hafasbackend.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../../kpublictransport-26.04.2/src/lib/backends/hafasbackend.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 'hafasbackend.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN16KPublicTransport12HafasBackendE_t {};
} // unnamed namespace

template <> constexpr inline auto KPublicTransport::HafasBackend::qt_create_metaobjectdata<qt_meta_tag_ZN16KPublicTransport12HafasBackendE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KPublicTransport::HafasBackend",
        "endpoint",
        "products",
        "QJsonArray",
        "locationIdentifierType",
        "standardLocationIdentifierType",
        "standardLocationIdentifierCountries",
        "hafasAttributeMap"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
        // property 'endpoint'
        QtMocHelpers::PropertyData<QString>(1, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable),
        // property 'products'
        QtMocHelpers::PropertyData<QJsonArray>(2, 0x80000000 | 3, QMC::Writable | QMC::Designable | QMC::Scriptable | QMC::Stored | QMC::EnumOrFlag),
        // property 'locationIdentifierType'
        QtMocHelpers::PropertyData<QString>(4, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable),
        // property 'standardLocationIdentifierType'
        QtMocHelpers::PropertyData<QString>(5, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable),
        // property 'standardLocationIdentifierCountries'
        QtMocHelpers::PropertyData<QJsonArray>(6, 0x80000000 | 3, QMC::Writable | QMC::Designable | QMC::Scriptable | QMC::Stored | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'hafasAttributeMap'
        QtMocHelpers::PropertyData<QString>(7, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<HafasBackend, qt_meta_tag_ZN16KPublicTransport12HafasBackendE_t>(QMC::PropertyAccessInStaticMetaCall, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KPublicTransport::HafasBackend::staticMetaObject = { {
    QtPrivate::MetaObjectForType<AbstractBackend>::value,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16KPublicTransport12HafasBackendE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16KPublicTransport12HafasBackendE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16KPublicTransport12HafasBackendE_t>.metaTypes,
    nullptr
} };

void KPublicTransport::HafasBackend::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = reinterpret_cast<HafasBackend *>(_o);
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->m_endpoint; break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->m_locationIdentifierType; break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->m_standardLocationIdentifierType; break;
        case 5: *reinterpret_cast<QString*>(_v) = _t->m_hafasAttrMapName; break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: QtMocHelpers::setProperty(_t->m_endpoint, *reinterpret_cast<QString*>(_v)); break;
        case 1: _t->setProductsMap(*reinterpret_cast<QJsonArray*>(_v)); break;
        case 2: QtMocHelpers::setProperty(_t->m_locationIdentifierType, *reinterpret_cast<QString*>(_v)); break;
        case 3: QtMocHelpers::setProperty(_t->m_standardLocationIdentifierType, *reinterpret_cast<QString*>(_v)); break;
        case 4: _t->setStandardLocationIdentifierCountries(*reinterpret_cast<QJsonArray*>(_v)); break;
        case 5: QtMocHelpers::setProperty(_t->m_hafasAttrMapName, *reinterpret_cast<QString*>(_v)); break;
        default: break;
        }
    }
}
QT_WARNING_POP
