/**************************************************************************** ** Meta object code from reading C++ file 'chargingaction.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/chargingaction.h" #include #include #include #include #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'chargingaction.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_ZN14ChargingActionE_t {}; } // unnamed namespace #ifdef QT_MOC_HAS_STRINGDATA static constexpr auto qt_meta_stringdata_ZN14ChargingActionE = QtMocHelpers::stringData( "ChargingAction", "issuerChanged", "chargingEnabled", "maxChargingCurrent", "desiredPhaseCount", "issuer", "ChargingAction::ChargingActionIssuer", "ChargingActionIssuer", "ChargingActionIssuerUnknown", "ChargingActionIssuerSurplusCharging", "ChargingActionIssuerSpotMarketCharging", "ChargingActionIssuerTimeRequirement", "ChargingActionIssuerOverloadProtection" ); #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_ZN14ChargingActionE[] = { // content: 12, // revision 0, // classname 0, 0, // classinfo 0, 0, // methods 4, 14, // properties 1, 34, // enums/sets 0, 0, // constructors 4, // flags 0, // signalCount // properties: name, type, flags, notifyId, revision 2, QMetaType::Bool, 0x00015103, uint(-1), 0, 3, QMetaType::Double, 0x00015103, uint(-1), 0, 4, QMetaType::UInt, 0x00015103, uint(-1), 0, 5, 0x80000000 | 6, 0x0001510b, uint(1879048193), 0, // enums: name, alias, flags, count, data 7, 7, 0x0, 5, 39, // enum data: key, value 8, uint(ChargingAction::ChargingActionIssuerUnknown), 9, uint(ChargingAction::ChargingActionIssuerSurplusCharging), 10, uint(ChargingAction::ChargingActionIssuerSpotMarketCharging), 11, uint(ChargingAction::ChargingActionIssuerTimeRequirement), 12, uint(ChargingAction::ChargingActionIssuerOverloadProtection), 0 // eod }; Q_CONSTINIT const QMetaObject ChargingAction::staticMetaObject = { { nullptr, qt_meta_stringdata_ZN14ChargingActionE.offsetsAndSizes, qt_meta_data_ZN14ChargingActionE, qt_static_metacall, nullptr, qt_incomplete_metaTypeArray, // property 'maxChargingCurrent' QtPrivate::TypeAndForceComplete, // property 'desiredPhaseCount' QtPrivate::TypeAndForceComplete, // property 'issuer' QtPrivate::TypeAndForceComplete, // enum 'ChargingActionIssuer' QtPrivate::TypeAndForceComplete, // Q_OBJECT / Q_GADGET QtPrivate::TypeAndForceComplete >, nullptr } }; void ChargingAction::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< bool*>(_v) = _t->chargingEnabled(); break; case 1: *reinterpret_cast< double*>(_v) = _t->maxChargingCurrent(); break; case 2: *reinterpret_cast< uint*>(_v) = _t->desiredPhaseCount(); break; case 3: *reinterpret_cast< ChargingAction::ChargingActionIssuer*>(_v) = _t->issuer(); break; default: break; } } if (_c == QMetaObject::WriteProperty) { void *_v = _a[0]; switch (_id) { case 0: _t->setChargingEnabled(*reinterpret_cast< bool*>(_v)); break; case 1: _t->setMaxChargingCurrent(*reinterpret_cast< double*>(_v)); break; case 2: _t->setDesiredPhaseCount(*reinterpret_cast< uint*>(_v)); break; case 3: _t->setIssuer(*reinterpret_cast< ChargingAction::ChargingActionIssuer*>(_v)); break; default: break; } } } QT_WARNING_POP