OpenCoverage

moc_qquickangledirection_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/.moc/moc_qquickangledirection_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickangledirection_p.h'-
3**-
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0)-
5**-
6** WARNING! All changes made in this file will be lost!-
7*****************************************************************************/-
8-
9#include "../qquickangledirection_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickangledirection_p.h' doesn't include <QObject>."-
14#elif Q_MOC_OUTPUT_REVISION != 67-
15#error "This file was generated using the moc from 5.12.0. It"-
16#error "cannot be used with the include files from this version of Qt."-
17#error "(The moc has changed too much.)"-
18#endif-
19-
20QT_BEGIN_MOC_NAMESPACE-
21QT_WARNING_PUSH-
22QT_WARNING_DISABLE_DEPRECATED-
23struct qt_meta_stringdata_QQuickAngleDirection_t {-
24 QByteArrayData data[15];-
25 char stringdata0[216];-
26};-
27#define QT_MOC_LITERAL(idx, ofs, len) \-
28 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
29 qptrdiff(offsetof(qt_meta_stringdata_QQuickAngleDirection_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickAngleDirection_t qt_meta_stringdata_QQuickAngleDirection = {-
33 {-
34QT_MOC_LITERAL(0, 0, 20), // "QQuickAngleDirection"-
35QT_MOC_LITERAL(1, 21, 12), // "angleChanged"-
36QT_MOC_LITERAL(2, 34, 0), // ""-
37QT_MOC_LITERAL(3, 35, 3), // "arg"-
38QT_MOC_LITERAL(4, 39, 16), // "magnitudeChanged"-
39QT_MOC_LITERAL(5, 56, 21), // "angleVariationChanged"-
40QT_MOC_LITERAL(6, 78, 25), // "magnitudeVariationChanged"-
41QT_MOC_LITERAL(7, 104, 8), // "setAngle"-
42QT_MOC_LITERAL(8, 113, 12), // "setMagnitude"-
43QT_MOC_LITERAL(9, 126, 17), // "setAngleVariation"-
44QT_MOC_LITERAL(10, 144, 21), // "setMagnitudeVariation"-
45QT_MOC_LITERAL(11, 166, 5), // "angle"-
46QT_MOC_LITERAL(12, 172, 9), // "magnitude"-
47QT_MOC_LITERAL(13, 182, 14), // "angleVariation"-
48QT_MOC_LITERAL(14, 197, 18) // "magnitudeVariation"-
49-
50 },-
51 "QQuickAngleDirection\0angleChanged\0\0"-
52 "arg\0magnitudeChanged\0angleVariationChanged\0"-
53 "magnitudeVariationChanged\0setAngle\0"-
54 "setMagnitude\0setAngleVariation\0"-
55 "setMagnitudeVariation\0angle\0magnitude\0"-
56 "angleVariation\0magnitudeVariation"-
57};-
58#undef QT_MOC_LITERAL-
59-
60static const uint qt_meta_data_QQuickAngleDirection[] = {-
61-
62 // content:-
63 7, // revision-
64 0, // classname-
65 0, 0, // classinfo-
66 8, 14, // methods-
67 4, 78, // properties-
68 0, 0, // enums/sets-
69 0, 0, // constructors-
70 0, // flags-
71 4, // signalCount-
72-
73 // signals: name, argc, parameters, tag, flags-
74 1, 1, 54, 2, 0x06 /* Public */,-
75 4, 1, 57, 2, 0x06 /* Public */,-
76 5, 1, 60, 2, 0x06 /* Public */,-
77 6, 1, 63, 2, 0x06 /* Public */,-
78-
79 // slots: name, argc, parameters, tag, flags-
80 7, 1, 66, 2, 0x0a /* Public */,-
81 8, 1, 69, 2, 0x0a /* Public */,-
82 9, 1, 72, 2, 0x0a /* Public */,-
83 10, 1, 75, 2, 0x0a /* Public */,-
84-
85 // signals: parameters-
86 QMetaType::Void, QMetaType::QReal, 3,-
87 QMetaType::Void, QMetaType::QReal, 3,-
88 QMetaType::Void, QMetaType::QReal, 3,-
89 QMetaType::Void, QMetaType::QReal, 3,-
90-
91 // slots: parameters-
92 QMetaType::Void, QMetaType::QReal, 3,-
93 QMetaType::Void, QMetaType::QReal, 3,-
94 QMetaType::Void, QMetaType::QReal, 3,-
95 QMetaType::Void, QMetaType::QReal, 3,-
96-
97 // properties: name, type, flags-
98 11, QMetaType::QReal, 0x00495103,-
99 12, QMetaType::QReal, 0x00495103,-
100 13, QMetaType::QReal, 0x00495103,-
101 14, QMetaType::QReal, 0x00495103,-
102-
103 // properties: notify_signal_id-
104 0,-
105 1,-
106 2,-
107 3,-
108-
109 0 // eod-
110};-
111-
112void QQuickAngleDirection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
113{-
114 if (_c == QMetaObject::InvokeMetaMethod) {-
115 QQuickAngleDirection *_t = static_cast<QQuickAngleDirection *>(_o);-
116 Q_UNUSED(_t)-
117 switch (_id) {-
118 case 0: _t->angleChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
119 case 1: _t->magnitudeChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
120 case 2: _t->angleVariationChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
121 case 3: _t->magnitudeVariationChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
122 case 4: _t->setAngle((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
123 case 5: _t->setMagnitude((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
124 case 6: _t->setAngleVariation((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
125 case 7: _t->setMagnitudeVariation((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
126 default: ;-
127 }-
128 } else if (_c == QMetaObject::IndexOfMethod) {-
129 int *result = reinterpret_cast<int *>(_a[0]);-
130 {-
131 using _t = void (QQuickAngleDirection::*)(qreal );-
132 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAngleDirection::angleChanged)) {-
133 *result = 0;-
134 return;-
135 }-
136 }-
137 {-
138 using _t = void (QQuickAngleDirection::*)(qreal );-
139 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAngleDirection::magnitudeChanged)) {-
140 *result = 1;-
141 return;-
142 }-
143 }-
144 {-
145 using _t = void (QQuickAngleDirection::*)(qreal );-
146 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAngleDirection::angleVariationChanged)) {-
147 *result = 2;-
148 return;-
149 }-
150 }-
151 {-
152 using _t = void (QQuickAngleDirection::*)(qreal );-
153 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAngleDirection::magnitudeVariationChanged)) {-
154 *result = 3;-
155 return;-
156 }-
157 }-
158 }-
159#ifndef QT_NO_PROPERTIES-
160 else if (_c == QMetaObject::ReadProperty) {-
161 QQuickAngleDirection *_t = static_cast<QQuickAngleDirection *>(_o);-
162 Q_UNUSED(_t)-
163 void *_v = _a[0];-
164 switch (_id) {-
165 case 0: *reinterpret_cast< qreal*>(_v) = _t->angle(); break;-
166 case 1: *reinterpret_cast< qreal*>(_v) = _t->magnitude(); break;-
167 case 2: *reinterpret_cast< qreal*>(_v) = _t->angleVariation(); break;-
168 case 3: *reinterpret_cast< qreal*>(_v) = _t->magnitudeVariation(); break;-
169 default: break;-
170 }-
171 } else if (_c == QMetaObject::WriteProperty) {-
172 QQuickAngleDirection *_t = static_cast<QQuickAngleDirection *>(_o);-
173 Q_UNUSED(_t)-
174 void *_v = _a[0];-
175 switch (_id) {-
176 case 0: _t->setAngle(*reinterpret_cast< qreal*>(_v)); break;-
177 case 1: _t->setMagnitude(*reinterpret_cast< qreal*>(_v)); break;-
178 case 2: _t->setAngleVariation(*reinterpret_cast< qreal*>(_v)); break;-
179 case 3: _t->setMagnitudeVariation(*reinterpret_cast< qreal*>(_v)); break;-
180 default: break;-
181 }-
182 } else if (_c == QMetaObject::ResetProperty) {-
183 }-
184#endif // QT_NO_PROPERTIES-
185}-
186-
187QT_INIT_METAOBJECT const QMetaObject QQuickAngleDirection::staticMetaObject = {-
188 { &QQuickDirection::staticMetaObject, qt_meta_stringdata_QQuickAngleDirection.data,-
189 qt_meta_data_QQuickAngleDirection, qt_static_metacall, nullptr, nullptr}-
190};-
191-
192-
193const QMetaObject *QQuickAngleDirection::metaObject() const-
194{-
195 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
196}-
197-
198void *QQuickAngleDirection::qt_metacast(const char *_clname)-
199{-
200 if (!_clname) return nullptr;-
201 if (!strcmp(_clname, qt_meta_stringdata_QQuickAngleDirection.stringdata0))-
202 return static_cast<void*>(this);-
203 return QQuickDirection::qt_metacast(_clname);-
204}-
205-
206int QQuickAngleDirection::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
207{-
208 _id = QQuickDirection::qt_metacall(_c, _id, _a);-
209 if (_id < 0)-
210 return _id;-
211 if (_c == QMetaObject::InvokeMetaMethod) {-
212 if (_id < 8)-
213 qt_static_metacall(this, _c, _id, _a);-
214 _id -= 8;-
215 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
216 if (_id < 8)-
217 *reinterpret_cast<int*>(_a[0]) = -1;-
218 _id -= 8;-
219 }-
220#ifndef QT_NO_PROPERTIES-
221 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
222 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
223 qt_static_metacall(this, _c, _id, _a);-
224 _id -= 4;-
225 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
226 _id -= 4;-
227 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
228 _id -= 4;-
229 } else if (_c == QMetaObject::QueryPropertyStored) {-
230 _id -= 4;-
231 } else if (_c == QMetaObject::QueryPropertyEditable) {-
232 _id -= 4;-
233 } else if (_c == QMetaObject::QueryPropertyUser) {-
234 _id -= 4;-
235 }-
236#endif // QT_NO_PROPERTIES-
237 return _id;-
238}-
239-
240// SIGNAL 0-
241void QQuickAngleDirection::angleChanged(qreal _t1)-
242{-
243 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
244 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
245}
executed 16 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickangleddirection
  • tst_qquickcumulativedirection
16
246-
247// SIGNAL 1-
248void QQuickAngleDirection::magnitudeChanged(qreal _t1)-
249{-
250 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
251 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
252}
executed 66 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickangleddirection
  • tst_qquickcumulativedirection
66
253-
254// SIGNAL 2-
255void QQuickAngleDirection::angleVariationChanged(qreal _t1)-
256{-
257 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
258 QMetaObject::activate(this, &staticMetaObject, 2, _a);-
259}
executed 78 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickangleddirection
78
260-
261// SIGNAL 3-
262void QQuickAngleDirection::magnitudeVariationChanged(qreal _t1)-
263{-
264 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
265 QMetaObject::activate(this, &staticMetaObject, 3, _a);-
266}
executed 48 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickangleddirection
48
267QT_WARNING_POP-
268QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0