deCONZ C++ API v2.6.1
Loading...
Searching...
No Matches
moc_touchlink_controller.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'touchlink_controller.h'
3**
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.10)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "../../../deconz/touchlink_controller.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'touchlink_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.)"
19#endif
20
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
25 QByteArrayData data[8];
26 char stringdata0[120];
27};
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__TouchlinkController_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33static const qt_meta_stringdata_deCONZ__TouchlinkController_t qt_meta_stringdata_deCONZ__TouchlinkController = {
34 {
35QT_MOC_LITERAL(0, 0, 27), // "deCONZ::TouchlinkController"
36QT_MOC_LITERAL(1, 28, 24), // "startInterpanModeConfirm"
37QT_MOC_LITERAL(2, 53, 0), // ""
38QT_MOC_LITERAL(3, 54, 15), // "TouchlinkStatus"
39QT_MOC_LITERAL(4, 70, 6), // "status"
40QT_MOC_LITERAL(5, 77, 19), // "sendInterpanConfirm"
41QT_MOC_LITERAL(6, 97, 18), // "interpanIndication"
42QT_MOC_LITERAL(7, 116, 3) // "ind"
43
44 },
45 "deCONZ::TouchlinkController\0"
46 "startInterpanModeConfirm\0\0TouchlinkStatus\0"
47 "status\0sendInterpanConfirm\0"
48 "interpanIndication\0ind"
49};
50#undef QT_MOC_LITERAL
51
52static const uint qt_meta_data_deCONZ__TouchlinkController[] = {
53
54 // content:
55 8, // revision
56 0, // classname
57 0, 0, // classinfo
58 3, 14, // methods
59 0, 0, // properties
60 0, 0, // enums/sets
61 0, 0, // constructors
62 0, // flags
63 3, // signalCount
64
65 // signals: name, argc, parameters, tag, flags
66 1, 1, 29, 2, 0x06 /* Public */,
67 5, 1, 32, 2, 0x06 /* Public */,
68 6, 1, 35, 2, 0x06 /* Public */,
69
70 // signals: parameters
71 QMetaType::Void, 0x80000000 | 3, 4,
72 QMetaType::Void, 0x80000000 | 3, 4,
73 QMetaType::Void, QMetaType::QByteArray, 7,
74
75 0 // eod
76};
77
78void deCONZ::TouchlinkController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
79{
80 if (_c == QMetaObject::InvokeMetaMethod) {
81 auto *_t = static_cast<TouchlinkController *>(_o);
82 (void)_t;
83 switch (_id) {
84 case 0: _t->startInterpanModeConfirm((*reinterpret_cast< TouchlinkStatus(*)>(_a[1]))); break;
85 case 1: _t->sendInterpanConfirm((*reinterpret_cast< TouchlinkStatus(*)>(_a[1]))); break;
86 case 2: _t->interpanIndication((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
87 default: ;
88 }
89 } else if (_c == QMetaObject::IndexOfMethod) {
90 int *result = reinterpret_cast<int *>(_a[0]);
91 {
92 using _t = void (TouchlinkController::*)(TouchlinkStatus );
93 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TouchlinkController::startInterpanModeConfirm)) {
94 *result = 0;
95 return;
96 }
97 }
98 {
99 using _t = void (TouchlinkController::*)(TouchlinkStatus );
100 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TouchlinkController::sendInterpanConfirm)) {
101 *result = 1;
102 return;
103 }
104 }
105 {
106 using _t = void (TouchlinkController::*)(const QByteArray & );
107 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TouchlinkController::interpanIndication)) {
108 *result = 2;
109 return;
110 }
111 }
112 }
113}
114
115QT_INIT_METAOBJECT const QMetaObject deCONZ::TouchlinkController::staticMetaObject = { {
116 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
117 qt_meta_stringdata_deCONZ__TouchlinkController.data,
118 qt_meta_data_deCONZ__TouchlinkController,
119 qt_static_metacall,
120 nullptr,
121 nullptr
122} };
123
124
125const QMetaObject *deCONZ::TouchlinkController::metaObject() const
126{
127 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
128}
129
130void *deCONZ::TouchlinkController::qt_metacast(const char *_clname)
131{
132 if (!_clname) return nullptr;
133 if (!strcmp(_clname, qt_meta_stringdata_deCONZ__TouchlinkController.stringdata0))
134 return static_cast<void*>(this);
135 return QObject::qt_metacast(_clname);
136}
137
138int deCONZ::TouchlinkController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
139{
140 _id = QObject::qt_metacall(_c, _id, _a);
141 if (_id < 0)
142 return _id;
143 if (_c == QMetaObject::InvokeMetaMethod) {
144 if (_id < 3)
145 qt_static_metacall(this, _c, _id, _a);
146 _id -= 3;
147 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
148 if (_id < 3)
149 *reinterpret_cast<int*>(_a[0]) = -1;
150 _id -= 3;
151 }
152 return _id;
153}
154
155// SIGNAL 0
157{
158 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
159 QMetaObject::activate(this, &staticMetaObject, 0, _a);
160}
161
162// SIGNAL 1
164{
165 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
166 QMetaObject::activate(this, &staticMetaObject, 1, _a);
167}
168
169// SIGNAL 2
171{
172 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
173 QMetaObject::activate(this, &staticMetaObject, 2, _a);
174}
175QT_WARNING_POP
176QT_END_MOC_NAMESPACE
void sendInterpanConfirm(TouchlinkStatus status)
Is emitted after send interpan request is processed.
Definition moc_touchlink_controller.cpp:163
void startInterpanModeConfirm(TouchlinkStatus status)
Is emitted after starting interpan mode request is processed.
Definition moc_touchlink_controller.cpp:156
TouchlinkController(QObject *parent)
Constructor.
Definition touchlink_controller.cpp:24
void interpanIndication(const QByteArray &ind)
Is emitted on the reception of a interpan frame.
Definition moc_touchlink_controller.cpp:170
TouchlinkStatus
Status codes used by the touchlink module.
Definition touchlink.h:21
Definition moc_touchlink_controller.cpp:24