OpenCoverage

moc_qquickpointdirection_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/.moc/moc_qquickpointdirection_p.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3#pragma GCC diagnostic push-
4-
5-
6#pragma GCC diagnostic ignored "-Wdeprecated-declarations"-
7-
8struct qt_meta_stringdata_QQuickPointDirection_t {-
9 QByteArrayData data[15];-
10 char stringdata0[144];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickPointDirection_t qt_meta_stringdata_QQuickPointDirection = {-
18 {-
19{ { { -1 } }, 20, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickPointDirection_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 8, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickPointDirection_t-
29, -
30stringdata0-
31) -
32+ 21 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickPointDirection_t-
36, -
37stringdata0-
38) -
39+ 30 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 3, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickPointDirection_t-
43, -
44stringdata0-
45) -
46+ 31 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 8, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickPointDirection_t-
50, -
51stringdata0-
52) -
53+ 35 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 17, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickPointDirection_t-
57, -
58stringdata0-
59) -
60+ 44 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 17, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickPointDirection_t-
64, -
65stringdata0-
66) -
67+ 62 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 4, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickPointDirection_t-
71, -
72stringdata0-
73) -
74+ 80 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 4, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickPointDirection_t-
78, -
79stringdata0-
80) -
81+ 85 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 13, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickPointDirection_t-
85, -
86stringdata0-
87) -
88+ 90 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 13, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickPointDirection_t-
92, -
93stringdata0-
94) -
95+ 104 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 1, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickPointDirection_t-
99, -
100stringdata0-
101) -
102+ 118 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 1, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickPointDirection_t-
106, -
107stringdata0-
108) -
109+ 120 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 10, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickPointDirection_t-
113, -
114stringdata0-
115) -
116+ 122 - 13 * sizeof(QByteArrayData)) },-
117{ { { -1 } }, 10, 0, 0, qptrdiff(-
118__builtin_offsetof (-
119qt_meta_stringdata_QQuickPointDirection_t-
120, -
121stringdata0-
122) -
123+ 133 - 14 * sizeof(QByteArrayData)) }-
124-
125 },-
126 "QQuickPointDirection\0xChanged\0\0arg\0"-
127 "yChanged\0xVariationChanged\0yVariationChanged\0"-
128 "setX\0setY\0setXVariation\0setYVariation\0"-
129 "x\0y\0xVariation\0yVariation"-
130};-
131-
132-
133static const uint qt_meta_data_QQuickPointDirection[] = {-
134-
135-
136 7,-
137 0,-
138 0, 0,-
139 8, 14,-
140 4, 78,-
141 0, 0,-
142 0, 0,-
143 0,-
144 4,-
145-
146-
147 1, 1, 54, 2, 0x06 ,-
148 4, 1, 57, 2, 0x06 ,-
149 5, 1, 60, 2, 0x06 ,-
150 6, 1, 63, 2, 0x06 ,-
151-
152-
153 7, 1, 66, 2, 0x0a ,-
154 8, 1, 69, 2, 0x0a ,-
155 9, 1, 72, 2, 0x0a ,-
156 10, 1, 75, 2, 0x0a ,-
157-
158-
159 QMetaType::Void, QMetaType::QReal, 3,-
160 QMetaType::Void, QMetaType::QReal, 3,-
161 QMetaType::Void, QMetaType::QReal, 3,-
162 QMetaType::Void, QMetaType::QReal, 3,-
163-
164-
165 QMetaType::Void, QMetaType::QReal, 3,-
166 QMetaType::Void, QMetaType::QReal, 3,-
167 QMetaType::Void, QMetaType::QReal, 3,-
168 QMetaType::Void, QMetaType::QReal, 3,-
169-
170-
171 11, QMetaType::QReal, 0x00495103,-
172 12, QMetaType::QReal, 0x00495103,-
173 13, QMetaType::QReal, 0x00495103,-
174 14, QMetaType::QReal, 0x00495103,-
175-
176-
177 0,-
178 1,-
179 2,-
180 3,-
181-
182 0-
183};-
184-
185void QQuickPointDirection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
186{-
187 if (_c == QMetaObject::InvokeMetaMethod) {-
188 QQuickPointDirection *_t = static_cast<QQuickPointDirection *>(_o);-
189 (void)_t;-
190 switch (_id) {-
191 case 0: _t->xChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
192 case 1: _t->yChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
193 case 2: _t->xVariationChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
194 case 3: _t->yVariationChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
195 case 4: _t->setX((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
196 case 5: _t->setY((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
197 case 6: _t->setXVariation((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
198 case 7: _t->setYVariation((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
199 default: ;-
200 }-
201 } else if (_c == QMetaObject::IndexOfMethod) {-
202 int *result = reinterpret_cast<int *>(_a[0]);-
203 {-
204 using _t = void (QQuickPointDirection::*)(qreal );-
205 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPointDirection::xChanged)) {-
206 *result = 0;-
207 return;-
208 }-
209 }-
210 {-
211 using _t = void (QQuickPointDirection::*)(qreal );-
212 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPointDirection::yChanged)) {-
213 *result = 1;-
214 return;-
215 }-
216 }-
217 {-
218 using _t = void (QQuickPointDirection::*)(qreal );-
219 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPointDirection::xVariationChanged)) {-
220 *result = 2;-
221 return;-
222 }-
223 }-
224 {-
225 using _t = void (QQuickPointDirection::*)(qreal );-
226 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPointDirection::yVariationChanged)) {-
227 *result = 3;-
228 return;-
229 }-
230 }-
231 }-
232-
233 else if (_c == QMetaObject::ReadProperty) {-
234 QQuickPointDirection *_t = static_cast<QQuickPointDirection *>(_o);-
235 (void)_t;-
236 void *_v = _a[0];-
237 switch (_id) {-
238 case 0: *reinterpret_cast< qreal*>(_v) = _t->x(); break;-
239 case 1: *reinterpret_cast< qreal*>(_v) = _t->y(); break;-
240 case 2: *reinterpret_cast< qreal*>(_v) = _t->xVariation(); break;-
241 case 3: *reinterpret_cast< qreal*>(_v) = _t->yVariation(); break;-
242 default: break;-
243 }-
244 } else if (_c == QMetaObject::WriteProperty) {-
245 QQuickPointDirection *_t = static_cast<QQuickPointDirection *>(_o);-
246 (void)_t;-
247 void *_v = _a[0];-
248 switch (_id) {-
249 case 0: _t->setX(*reinterpret_cast< qreal*>(_v)); break;-
250 case 1: _t->setY(*reinterpret_cast< qreal*>(_v)); break;-
251 case 2: _t->setXVariation(*reinterpret_cast< qreal*>(_v)); break;-
252 case 3: _t->setYVariation(*reinterpret_cast< qreal*>(_v)); break;-
253 default: break;-
254 }-
255 } else if (_c == QMetaObject::ResetProperty) {-
256 }-
257-
258}-
259-
260 const QMetaObject QQuickPointDirection::staticMetaObject = {-
261 { &QQuickDirection::staticMetaObject, qt_meta_stringdata_QQuickPointDirection.data,-
262 qt_meta_data_QQuickPointDirection, qt_static_metacall, nullptr, nullptr}-
263};-
264-
265-
266const QMetaObject *QQuickPointDirection::metaObject() const-
267{-
268 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
269}-
270-
271void *QQuickPointDirection::qt_metacast(const char *_clname)-
272{-
273 if (!_clname) return nullptr;-
274 if (!strcmp(_clname, qt_meta_stringdata_QQuickPointDirection.stringdata0))-
275 return static_cast<void*>(this);-
276 return QQuickDirection::qt_metacast(_clname);-
277}-
278-
279int QQuickPointDirection::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
280{-
281 _id = QQuickDirection::qt_metacall(_c, _id, _a);-
282 if (_id < 0)-
283 return _id;-
284 if (_c == QMetaObject::InvokeMetaMethod) {-
285 if (_id < 8)-
286 qt_static_metacall(this, _c, _id, _a);-
287 _id -= 8;-
288 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
289 if (_id < 8)-
290 *reinterpret_cast<int*>(_a[0]) = -1;-
291 _id -= 8;-
292 }-
293-
294 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
295 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
296 qt_static_metacall(this, _c, _id, _a);-
297 _id -= 4;-
298 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
299 _id -= 4;-
300 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
301 _id -= 4;-
302 } else if (_c == QMetaObject::QueryPropertyStored) {-
303 _id -= 4;-
304 } else if (_c == QMetaObject::QueryPropertyEditable) {-
305 _id -= 4;-
306 } else if (_c == QMetaObject::QueryPropertyUser) {-
307 _id -= 4;-
308 }-
309-
310 return _id;-
311}-
312-
313-
314void QQuickPointDirection::xChanged(qreal _t1)-
315{-
316 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
317 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
318}
executed 66 times by 8 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickfriction
  • tst_qquickimageparticle
  • tst_qquickpointdirection
  • tst_qquicktrailemitter
66
319-
320-
321void QQuickPointDirection::yChanged(qreal _t1)-
322{-
323 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
324 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
325}
executed 104 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickimageparticle
  • tst_qquickpointdirection
  • tst_qquicktrailemitter
104
326-
327-
328void QQuickPointDirection::xVariationChanged(qreal _t1)-
329{-
330 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
331 QMetaObject::activate(this, &staticMetaObject, 2, _a);-
332}
executed 80 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickpointdirection
80
333-
334-
335void QQuickPointDirection::yVariationChanged(qreal _t1)-
336{-
337 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
338 QMetaObject::activate(this, &staticMetaObject, 3, _a);-
339}
executed 78 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickpointdirection
78
340-
341#pragma GCC diagnostic pop-
342-
343-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0