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