205 lines
6.5 KiB
C++
205 lines
6.5 KiB
C++
/****************************************************************************
|
|
** Meta object code from reading C++ file 'scoreentry.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/scoreentry.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 'scoreentry.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_ZN10ScoreEntryE_t {};
|
|
} // unnamed namespace
|
|
|
|
|
|
#ifdef QT_MOC_HAS_STRINGDATA
|
|
static constexpr auto qt_meta_stringdata_ZN10ScoreEntryE = QtMocHelpers::stringData(
|
|
"ScoreEntry",
|
|
"startDateTime",
|
|
"endDateTime",
|
|
"value",
|
|
"weighting"
|
|
);
|
|
#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_ZN10ScoreEntryE[] = {
|
|
|
|
// 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::QDateTime, 0x00015103, uint(-1), 0,
|
|
2, QMetaType::QDateTime, 0x00015103, uint(-1), 0,
|
|
3, QMetaType::Float, 0x00015103, uint(-1), 0,
|
|
4, QMetaType::Float, 0x00015103, uint(-1), 0,
|
|
|
|
0 // eod
|
|
};
|
|
|
|
Q_CONSTINIT const QMetaObject ScoreEntry::staticMetaObject = { {
|
|
QtPrivate::MetaObjectForType<TimeFrame>::value,
|
|
qt_meta_stringdata_ZN10ScoreEntryE.offsetsAndSizes,
|
|
qt_meta_data_ZN10ScoreEntryE,
|
|
qt_static_metacall,
|
|
nullptr,
|
|
qt_incomplete_metaTypeArray<qt_meta_tag_ZN10ScoreEntryE_t,
|
|
// property 'startDateTime'
|
|
QtPrivate::TypeAndForceComplete<QDateTime, std::true_type>,
|
|
// property 'endDateTime'
|
|
QtPrivate::TypeAndForceComplete<QDateTime, std::true_type>,
|
|
// property 'value'
|
|
QtPrivate::TypeAndForceComplete<float, std::true_type>,
|
|
// property 'weighting'
|
|
QtPrivate::TypeAndForceComplete<float, std::true_type>,
|
|
// Q_OBJECT / Q_GADGET
|
|
QtPrivate::TypeAndForceComplete<ScoreEntry, std::true_type>
|
|
>,
|
|
nullptr
|
|
} };
|
|
|
|
void ScoreEntry::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
auto *_t = reinterpret_cast<ScoreEntry *>(_o);
|
|
if (_c == QMetaObject::ReadProperty) {
|
|
void *_v = _a[0];
|
|
switch (_id) {
|
|
case 0: *reinterpret_cast< QDateTime*>(_v) = _t->startDateTime(); break;
|
|
case 1: *reinterpret_cast< QDateTime*>(_v) = _t->endDateTime(); break;
|
|
case 2: *reinterpret_cast< float*>(_v) = _t->value(); break;
|
|
case 3: *reinterpret_cast< float*>(_v) = _t->weighting(); break;
|
|
default: break;
|
|
}
|
|
}
|
|
if (_c == QMetaObject::WriteProperty) {
|
|
void *_v = _a[0];
|
|
switch (_id) {
|
|
case 0: _t->setStartDateTime(*reinterpret_cast< QDateTime*>(_v)); break;
|
|
case 1: _t->setEndDateTime(*reinterpret_cast< QDateTime*>(_v)); break;
|
|
case 2: _t->setValue(*reinterpret_cast< float*>(_v)); break;
|
|
case 3: _t->setWeighting(*reinterpret_cast< float*>(_v)); break;
|
|
default: break;
|
|
}
|
|
}
|
|
}
|
|
namespace {
|
|
struct qt_meta_tag_ZN12ScoreEntriesE_t {};
|
|
} // unnamed namespace
|
|
|
|
|
|
#ifdef QT_MOC_HAS_STRINGDATA
|
|
static constexpr auto qt_meta_stringdata_ZN12ScoreEntriesE = QtMocHelpers::stringData(
|
|
"ScoreEntries",
|
|
"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_ZN12ScoreEntriesE[] = {
|
|
|
|
// 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 ScoreEntries::staticMetaObject = { {
|
|
QtPrivate::MetaObjectForType<QList<ScoreEntry>>::value,
|
|
qt_meta_stringdata_ZN12ScoreEntriesE.offsetsAndSizes,
|
|
qt_meta_data_ZN12ScoreEntriesE,
|
|
qt_static_metacall,
|
|
nullptr,
|
|
qt_incomplete_metaTypeArray<qt_meta_tag_ZN12ScoreEntriesE_t,
|
|
// property 'count'
|
|
QtPrivate::TypeAndForceComplete<int, std::true_type>,
|
|
// Q_OBJECT / Q_GADGET
|
|
QtPrivate::TypeAndForceComplete<ScoreEntries, 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 ScoreEntries::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
|
|
{
|
|
auto *_t = reinterpret_cast<ScoreEntries *>(_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
|