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