269 lines
9.5 KiB
C++
269 lines
9.5 KiB
C++
/****************************************************************************
|
|
** Meta object code from reading C++ file 'charginginfo.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/charginginfo.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 'charginginfo.h' doesn't include <QObject>."
|
|
#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_ZN12ChargingInfoE_t {};
|
|
} // unnamed namespace
|
|
|
|
|
|
#ifdef QT_MOC_HAS_STRINGDATA
|
|
static constexpr auto qt_meta_stringdata_ZN12ChargingInfoE = QtMocHelpers::stringData(
|
|
"ChargingInfo",
|
|
"evChargerId",
|
|
"assignedCarId",
|
|
"chargingMode",
|
|
"ChargingMode",
|
|
"endDateTime",
|
|
"repeatDays",
|
|
"QList<int>",
|
|
"targetPercentage",
|
|
"chargingState",
|
|
"ChargingState",
|
|
"spotMarketChargingEnabled",
|
|
"dailySpotMarketPercentage",
|
|
"ChargingModeNormal",
|
|
"ChargingModeEco",
|
|
"ChargingModeEcoWithTargetTime",
|
|
"ChargingStateIdle",
|
|
"ChargingStateSurplusCharging",
|
|
"ChargingStateSpotMarketCharging",
|
|
"ChargingStateTimeRequirement"
|
|
);
|
|
#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_ZN12ChargingInfoE[] = {
|
|
|
|
// content:
|
|
12, // revision
|
|
0, // classname
|
|
0, 0, // classinfo
|
|
0, 0, // methods
|
|
9, 14, // properties
|
|
2, 59, // enums/sets
|
|
0, 0, // constructors
|
|
4, // flags
|
|
0, // signalCount
|
|
|
|
// properties: name, type, flags, notifyId, revision
|
|
1, QMetaType::QUuid, 0x00015103, uint(-1), 0,
|
|
2, QMetaType::QUuid, 0x00115103, uint(-1), 0,
|
|
3, 0x80000000 | 4, 0x0001510b, uint(-1), 0,
|
|
5, QMetaType::QDateTime, 0x00115103, uint(-1), 0,
|
|
6, 0x80000000 | 7, 0x0011510b, uint(-1), 0,
|
|
8, QMetaType::UInt, 0x00115103, uint(-1), 0,
|
|
9, 0x80000000 | 10, 0x00015009, uint(-1), 0,
|
|
11, QMetaType::Bool, 0x00115103, uint(-1), 0,
|
|
12, QMetaType::UInt, 0x00115103, uint(-1), 0,
|
|
|
|
// enums: name, alias, flags, count, data
|
|
4, 4, 0x0, 3, 69,
|
|
10, 10, 0x0, 4, 75,
|
|
|
|
// enum data: key, value
|
|
13, uint(ChargingInfo::ChargingModeNormal),
|
|
14, uint(ChargingInfo::ChargingModeEco),
|
|
15, uint(ChargingInfo::ChargingModeEcoWithTargetTime),
|
|
16, uint(ChargingInfo::ChargingStateIdle),
|
|
17, uint(ChargingInfo::ChargingStateSurplusCharging),
|
|
18, uint(ChargingInfo::ChargingStateSpotMarketCharging),
|
|
19, uint(ChargingInfo::ChargingStateTimeRequirement),
|
|
|
|
0 // eod
|
|
};
|
|
|
|
Q_CONSTINIT const QMetaObject ChargingInfo::staticMetaObject = { {
|
|
nullptr,
|
|
qt_meta_stringdata_ZN12ChargingInfoE.offsetsAndSizes,
|
|
qt_meta_data_ZN12ChargingInfoE,
|
|
qt_static_metacall,
|
|
nullptr,
|
|
qt_incomplete_metaTypeArray<qt_meta_tag_ZN12ChargingInfoE_t,
|
|
// property 'evChargerId'
|
|
QtPrivate::TypeAndForceComplete<QUuid, std::true_type>,
|
|
// property 'assignedCarId'
|
|
QtPrivate::TypeAndForceComplete<QUuid, std::true_type>,
|
|
// property 'chargingMode'
|
|
QtPrivate::TypeAndForceComplete<ChargingMode, std::true_type>,
|
|
// property 'endDateTime'
|
|
QtPrivate::TypeAndForceComplete<QDateTime, std::true_type>,
|
|
// property 'repeatDays'
|
|
QtPrivate::TypeAndForceComplete<QList<int>, std::true_type>,
|
|
// property 'targetPercentage'
|
|
QtPrivate::TypeAndForceComplete<uint, std::true_type>,
|
|
// property 'chargingState'
|
|
QtPrivate::TypeAndForceComplete<ChargingState, std::true_type>,
|
|
// property 'spotMarketChargingEnabled'
|
|
QtPrivate::TypeAndForceComplete<bool, std::true_type>,
|
|
// property 'dailySpotMarketPercentage'
|
|
QtPrivate::TypeAndForceComplete<uint, std::true_type>,
|
|
// enum 'ChargingMode'
|
|
QtPrivate::TypeAndForceComplete<ChargingInfo::ChargingMode, std::true_type>,
|
|
// enum 'ChargingState'
|
|
QtPrivate::TypeAndForceComplete<ChargingInfo::ChargingState, std::true_type>,
|
|
// Q_OBJECT / Q_GADGET
|
|
QtPrivate::TypeAndForceComplete<ChargingInfo, std::true_type>
|
|
>,
|
|
nullptr
|
|
} };
|
|
|
|
void ChargingInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
auto *_t = reinterpret_cast<ChargingInfo *>(_o);
|
|
if (_c == QMetaObject::RegisterPropertyMetaType) {
|
|
switch (_id) {
|
|
default: *reinterpret_cast<int*>(_a[0]) = -1; break;
|
|
case 4:
|
|
*reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;
|
|
}
|
|
}
|
|
if (_c == QMetaObject::ReadProperty) {
|
|
void *_v = _a[0];
|
|
switch (_id) {
|
|
case 0: *reinterpret_cast< QUuid*>(_v) = _t->evChargerId(); break;
|
|
case 1: *reinterpret_cast< QUuid*>(_v) = _t->assignedCarId(); break;
|
|
case 2: *reinterpret_cast< ChargingMode*>(_v) = _t->chargingMode(); break;
|
|
case 3: *reinterpret_cast< QDateTime*>(_v) = _t->endDateTime(); break;
|
|
case 4: *reinterpret_cast< QList<int>*>(_v) = _t->repeatDays(); break;
|
|
case 5: *reinterpret_cast< uint*>(_v) = _t->targetPercentage(); break;
|
|
case 6: *reinterpret_cast< ChargingState*>(_v) = _t->chargingState(); break;
|
|
case 7: *reinterpret_cast< bool*>(_v) = _t->spotMarketChargingEnabled(); break;
|
|
case 8: *reinterpret_cast< uint*>(_v) = _t->dailySpotMarketPercentage(); 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->setAssignedCarId(*reinterpret_cast< QUuid*>(_v)); break;
|
|
case 2: _t->setChargingMode(*reinterpret_cast< ChargingMode*>(_v)); break;
|
|
case 3: _t->setEndDateTime(*reinterpret_cast< QDateTime*>(_v)); break;
|
|
case 4: _t->setRepeatDays(*reinterpret_cast< QList<int>*>(_v)); break;
|
|
case 5: _t->setTargetPercentage(*reinterpret_cast< uint*>(_v)); break;
|
|
case 7: _t->setSpotMarketChargingEnabled(*reinterpret_cast< bool*>(_v)); break;
|
|
case 8: _t->setDailySpotMarketPercentage(*reinterpret_cast< uint*>(_v)); break;
|
|
default: break;
|
|
}
|
|
}
|
|
}
|
|
namespace {
|
|
struct qt_meta_tag_ZN13ChargingInfosE_t {};
|
|
} // unnamed namespace
|
|
|
|
|
|
#ifdef QT_MOC_HAS_STRINGDATA
|
|
static constexpr auto qt_meta_stringdata_ZN13ChargingInfosE = QtMocHelpers::stringData(
|
|
"ChargingInfos",
|
|
"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_ZN13ChargingInfosE[] = {
|
|
|
|
// 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 ChargingInfos::staticMetaObject = { {
|
|
QtPrivate::MetaObjectForType<QList<ChargingInfo>>::value,
|
|
qt_meta_stringdata_ZN13ChargingInfosE.offsetsAndSizes,
|
|
qt_meta_data_ZN13ChargingInfosE,
|
|
qt_static_metacall,
|
|
nullptr,
|
|
qt_incomplete_metaTypeArray<qt_meta_tag_ZN13ChargingInfosE_t,
|
|
// property 'count'
|
|
QtPrivate::TypeAndForceComplete<int, std::true_type>,
|
|
// Q_OBJECT / Q_GADGET
|
|
QtPrivate::TypeAndForceComplete<ChargingInfos, std::true_type>,
|
|
// method 'get'
|
|
QtPrivate::TypeAndForceComplete<QVariant, std::false_type>,
|
|
QtPrivate::TypeAndForceComplete<int, std::false_type>,
|
|
// method 'put'
|
|
QtPrivate::TypeAndForceComplete<void, std::false_type>,
|
|
QtPrivate::TypeAndForceComplete<const QVariant &, std::false_type>
|
|
>,
|
|
nullptr
|
|
} };
|
|
|
|
void ChargingInfos::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
auto *_t = reinterpret_cast<ChargingInfos *>(_o);
|
|
if (_c == QMetaObject::InvokeMetaMethod) {
|
|
switch (_id) {
|
|
case 0: { QVariant _r = _t->get((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])));
|
|
if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); } break;
|
|
case 1: _t->put((*reinterpret_cast< std::add_pointer_t<QVariant>>(_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
|