/**************************************************************************** ** Meta object code from reading C++ file 'chargingschedule.h' ** ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.2) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "../../energyplugin/types/chargingschedule.h" #include #include #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'chargingschedule.h' doesn't include ." #elif Q_MOC_OUTPUT_REVISION != 68 #error "This file was generated using the moc from 6.8.2. 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_ZN16ChargingScheduleE_t {}; } // unnamed namespace #ifdef QT_MOC_HAS_STRINGDATA static constexpr auto qt_meta_stringdata_ZN16ChargingScheduleE = QtMocHelpers::stringData( "ChargingSchedule", "evChargerId", "startDateTime", "endDateTime", "action", "ChargingAction" ); #else // !QT_MOC_HAS_STRINGDATA #error "qtmochelpers.h not found or too old." #endif // !QT_MOC_HAS_STRINGDATA Q_CONSTINIT static const uint qt_meta_data_ZN16ChargingScheduleE[] = { // content: 12, // revision 0, // classname 0, 0, // classinfo 0, 0, // methods 4, 14, // properties 0, 0, // enums/sets 0, 0, // constructors 4, // flags 0, // signalCount // properties: name, type, flags, notifyId, revision 1, QMetaType::QUuid, 0x00015103, uint(-1), 0, 2, QMetaType::QDateTime, 0x00015103, uint(-1), 0, 3, QMetaType::QDateTime, 0x00015103, uint(-1), 0, 4, 0x80000000 | 5, 0x0001510b, uint(-1), 0, 0 // eod }; Q_CONSTINIT const QMetaObject ChargingSchedule::staticMetaObject = { { QtPrivate::MetaObjectForType::value, qt_meta_stringdata_ZN16ChargingScheduleE.offsetsAndSizes, qt_meta_data_ZN16ChargingScheduleE, qt_static_metacall, nullptr, qt_incomplete_metaTypeArray, // property 'startDateTime' QtPrivate::TypeAndForceComplete, // property 'endDateTime' QtPrivate::TypeAndForceComplete, // property 'action' QtPrivate::TypeAndForceComplete, // Q_OBJECT / Q_GADGET QtPrivate::TypeAndForceComplete >, nullptr } }; void ChargingSchedule::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { auto *_t = reinterpret_cast(_o); if (_c == QMetaObject::ReadProperty) { void *_v = _a[0]; switch (_id) { case 0: *reinterpret_cast< QUuid*>(_v) = _t->evChargerId(); break; case 1: *reinterpret_cast< QDateTime*>(_v) = _t->startDateTime(); break; case 2: *reinterpret_cast< QDateTime*>(_v) = _t->endDateTime(); break; case 3: *reinterpret_cast< ChargingAction*>(_v) = _t->action(); break; default: break; } } if (_c == QMetaObject::WriteProperty) { void *_v = _a[0]; switch (_id) { case 0: _t->setEvChargerId(*reinterpret_cast< QUuid*>(_v)); break; case 1: _t->setStartDateTime(*reinterpret_cast< QDateTime*>(_v)); break; case 2: _t->setEndDateTime(*reinterpret_cast< QDateTime*>(_v)); break; case 3: _t->setAction(*reinterpret_cast< ChargingAction*>(_v)); break; default: break; } } } namespace { struct qt_meta_tag_ZN17ChargingSchedulesE_t {}; } // unnamed namespace #ifdef QT_MOC_HAS_STRINGDATA static constexpr auto qt_meta_stringdata_ZN17ChargingSchedulesE = QtMocHelpers::stringData( "ChargingSchedules", "get", "QVariant", "", "index", "put", "variant", "count" ); #else // !QT_MOC_HAS_STRINGDATA #error "qtmochelpers.h not found or too old." #endif // !QT_MOC_HAS_STRINGDATA Q_CONSTINIT static const uint qt_meta_data_ZN17ChargingSchedulesE[] = { // content: 12, // revision 0, // classname 0, 0, // classinfo 2, 14, // methods 1, 32, // properties 0, 0, // enums/sets 0, 0, // constructors 4, // flags 0, // signalCount // methods: name, argc, parameters, tag, flags, initial metatype offsets 1, 1, 26, 3, 0x102, 2 /* Public | MethodIsConst */, 5, 1, 29, 3, 0x02, 4 /* Public */, // methods: parameters 0x80000000 | 2, QMetaType::Int, 4, QMetaType::Void, 0x80000000 | 2, 6, // properties: name, type, flags, notifyId, revision 7, QMetaType::Int, 0x00015001, uint(-1), 0, 0 // eod }; Q_CONSTINIT const QMetaObject ChargingSchedules::staticMetaObject = { { QtPrivate::MetaObjectForType>::value, qt_meta_stringdata_ZN17ChargingSchedulesE.offsetsAndSizes, qt_meta_data_ZN17ChargingSchedulesE, qt_static_metacall, nullptr, qt_incomplete_metaTypeArray, // Q_OBJECT / Q_GADGET QtPrivate::TypeAndForceComplete, // method 'get' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete, // method 'put' QtPrivate::TypeAndForceComplete, QtPrivate::TypeAndForceComplete >, nullptr } }; void ChargingSchedules::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { auto *_t = reinterpret_cast(_o); if (_c == QMetaObject::InvokeMetaMethod) { switch (_id) { case 0: { QVariant _r = _t->get((*reinterpret_cast< std::add_pointer_t>(_a[1]))); if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); } break; case 1: _t->put((*reinterpret_cast< std::add_pointer_t>(_a[1]))); break; default: ; } } if (_c == QMetaObject::ReadProperty) { void *_v = _a[0]; switch (_id) { case 0: *reinterpret_cast< int*>(_v) = _t->count(); break; default: break; } } } QT_WARNING_POP