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