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

#include "../../../../../itinerary-26.07.90/src/app/tripgroup.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 'tripgroup.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.12.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_ZN9TripGroupE_t {};
} // unnamed namespace

template <> constexpr inline auto TripGroup::qt_create_metaobjectdata<qt_meta_tag_ZN9TripGroupE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TripGroup",
        "name",
        "automaticName",
        "automaticallyGrouped",
        "beginDateTime",
        "endDateTime",
        "matrixRoomId",
        "slugName",
        "elements",
        "hasEnded"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
        // property 'name'
        QtMocHelpers::PropertyData<QString>(1, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'automaticName'
        QtMocHelpers::PropertyData<bool>(2, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable),
        // property 'automaticallyGrouped'
        QtMocHelpers::PropertyData<bool>(3, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable),
        // property 'beginDateTime'
        QtMocHelpers::PropertyData<QDateTime>(4, QMetaType::QDateTime, QMC::DefaultPropertyFlags),
        // property 'endDateTime'
        QtMocHelpers::PropertyData<QDateTime>(5, QMetaType::QDateTime, QMC::DefaultPropertyFlags),
        // property 'matrixRoomId'
        QtMocHelpers::PropertyData<QString>(6, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'slugName'
        QtMocHelpers::PropertyData<QString>(7, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'elements'
        QtMocHelpers::PropertyData<QList<QString>>(8, QMetaType::QStringList, QMC::DefaultPropertyFlags),
        // property 'hasEnded'
        QtMocHelpers::PropertyData<bool>(9, QMetaType::Bool, QMC::Readable | QMC::Designable | QMC::Scriptable),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TripGroup, qt_meta_tag_ZN9TripGroupE_t>(QMC::PropertyAccessInStaticMetaCall, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject TripGroup::staticMetaObject = { {
    nullptr,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9TripGroupE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9TripGroupE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9TripGroupE_t>.metaTypes,
    nullptr
} };

void TripGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = reinterpret_cast<TripGroup *>(_o);
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->name(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->hasAutomaticName(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->isAutomaticallyGrouped(); break;
        case 3: *reinterpret_cast<QDateTime*>(_v) = _t->beginDateTime(); break;
        case 4: *reinterpret_cast<QDateTime*>(_v) = _t->endDateTime(); break;
        case 5: *reinterpret_cast<QString*>(_v) = _t->matrixRoomId(); break;
        case 6: *reinterpret_cast<QString*>(_v) = _t->slugName(); break;
        case 7: *reinterpret_cast<QList<QString>*>(_v) = _t->elements(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->hasEnded(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setName(*reinterpret_cast<QString*>(_v)); break;
        case 1: _t->setNameIsAutomatic(*reinterpret_cast<bool*>(_v)); break;
        case 2: _t->setIsAutomaticallyGrouped(*reinterpret_cast<bool*>(_v)); break;
        case 5: _t->setMatrixRoomId(*reinterpret_cast<QString*>(_v)); break;
        default: break;
        }
    }
}
QT_WARNING_POP
