OpenCoverage

moc_qquickitemviewtransition_p.cpp

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

Generated by Squish Coco 4.2.0