OpenCoverage

moc_qquicktransition_p.cpp

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

Generated by Squish Coco 4.2.0