10#include "../../../deconz/green_power_controller.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'green_power_controller.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.10. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
23QT_WARNING_DISABLE_DEPRECATED
25 QByteArrayData data[4];
28#define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_deCONZ__GreenPowerController_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
35QT_MOC_LITERAL(0, 0, 28),
36QT_MOC_LITERAL(1, 29, 16),
37QT_MOC_LITERAL(2, 46, 0),
38QT_MOC_LITERAL(3, 47, 24)
41 "deCONZ::GreenPowerController\0"
42 "gpDataIndication\0\0deCONZ::GpDataIndication"
46static const uint qt_meta_data_deCONZ__GreenPowerController[] = {
63 QMetaType::Void, 0x80000000 | 3, 2,
68void deCONZ::GreenPowerController::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
70 if (_c == QMetaObject::InvokeMetaMethod) {
77 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
79 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
81 switch (*
reinterpret_cast<int*
>(_a[1])) {
82 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
84 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< deCONZ::GpDataIndication >();
break;
88 }
else if (_c == QMetaObject::IndexOfMethod) {
89 int *result =
reinterpret_cast<int *
>(_a[0]);
91 using _t = void (GreenPowerController::*)(const
deCONZ::GpDataIndication & );
100QT_INIT_METAOBJECT
const QMetaObject deCONZ::GreenPowerController::staticMetaObject = { {
101 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
102 qt_meta_stringdata_deCONZ__GreenPowerController.data,
103 qt_meta_data_deCONZ__GreenPowerController,
110const QMetaObject *deCONZ::GreenPowerController::metaObject()
const
112 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
115void *deCONZ::GreenPowerController::qt_metacast(
const char *_clname)
117 if (!_clname)
return nullptr;
118 if (!strcmp(_clname, qt_meta_stringdata_deCONZ__GreenPowerController.stringdata0))
119 return static_cast<void*
>(
this);
120 return QObject::qt_metacast(_clname);
123int deCONZ::GreenPowerController::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
125 _id = QObject::qt_metacall(_c, _id, _a);
128 if (_c == QMetaObject::InvokeMetaMethod) {
130 qt_static_metacall(
this, _c, _id, _a);
132 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
134 qt_static_metacall(
this, _c, _id, _a);
143 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
144 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
GPDE-DATA.indication primitive.
Definition green_power.h:156
GreenPowerController(QObject *parent)
Constructor.
Definition green_power_controller.cpp:34
void gpDataIndication(const deCONZ::GpDataIndication &)
Is emitted on the reception of a green power frame.
Definition moc_green_power_controller.cpp:141
The deCONZ namespace.
Definition aps.cpp:19