OpenCoverage

moc_qquickgridview_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickgridview_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_QQuickGridView_t {-
9 QByteArrayData data[24];-
10 char stringdata0[321];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickGridView_t qt_meta_stringdata_QQuickGridView = {-
18 {-
19{ { { -1 } }, 14, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickGridView_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 15, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickGridView_t-
29, -
30stringdata0-
31) -
32+ 15 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 4, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickGridView_t-
36, -
37stringdata0-
38) -
39+ 31 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 16, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickGridView_t-
43, -
44stringdata0-
45) -
46+ 36 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 0, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickGridView_t-
50, -
51stringdata0-
52) -
53+ 53 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 17, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickGridView_t-
57, -
58stringdata0-
59) -
60+ 54 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 28, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickGridView_t-
64, -
65stringdata0-
66) -
67+ 72 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 11, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickGridView_t-
71, -
72stringdata0-
73) -
74+ 101 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 15, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickGridView_t-
78, -
79stringdata0-
80) -
81+ 113 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 18, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickGridView_t-
85, -
86stringdata0-
87) -
88+ 129 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 20, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickGridView_t-
92, -
93stringdata0-
94) -
95+ 148 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 20, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickGridView_t-
99, -
100stringdata0-
101) -
102+ 169 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 21, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickGridView_t-
106, -
107stringdata0-
108) -
109+ 190 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 4, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickGridView_t-
113, -
114stringdata0-
115) -
116+ 212 - 13 * sizeof(QByteArrayData)) },-
117{ { { -1 } }, 4, 0, 0, qptrdiff(-
118__builtin_offsetof (-
119qt_meta_stringdata_QQuickGridView_t-
120, -
121stringdata0-
122) -
123+ 217 - 14 * sizeof(QByteArrayData)) },-
124{ { { -1 } }, 9, 0, 0, qptrdiff(-
125__builtin_offsetof (-
126qt_meta_stringdata_QQuickGridView_t-
127, -
128stringdata0-
129) -
130+ 222 - 15 * sizeof(QByteArrayData)) },-
131{ { { -1 } }, 10, 0, 0, qptrdiff(-
132__builtin_offsetof (-
133qt_meta_stringdata_QQuickGridView_t-
134, -
135stringdata0-
136) -
137+ 232 - 16 * sizeof(QByteArrayData)) },-
138{ { { -1 } }, 8, 0, 0, qptrdiff(-
139__builtin_offsetof (-
140qt_meta_stringdata_QQuickGridView_t-
141, -
142stringdata0-
143) -
144+ 243 - 17 * sizeof(QByteArrayData)) },-
145{ { { -1 } }, 8, 0, 0, qptrdiff(-
146__builtin_offsetof (-
147qt_meta_stringdata_QQuickGridView_t-
148, -
149stringdata0-
150) -
151+ 252 - 18 * sizeof(QByteArrayData)) },-
152{ { { -1 } }, 15, 0, 0, qptrdiff(-
153__builtin_offsetof (-
154qt_meta_stringdata_QQuickGridView_t-
155, -
156stringdata0-
157) -
158+ 261 - 19 * sizeof(QByteArrayData)) },-
159{ { { -1 } }, 15, 0, 0, qptrdiff(-
160__builtin_offsetof (-
161qt_meta_stringdata_QQuickGridView_t-
162, -
163stringdata0-
164) -
165+ 277 - 20 * sizeof(QByteArrayData)) },-
166{ { { -1 } }, 6, 0, 0, qptrdiff(-
167__builtin_offsetof (-
168qt_meta_stringdata_QQuickGridView_t-
169, -
170stringdata0-
171) -
172+ 293 - 21 * sizeof(QByteArrayData)) },-
173{ { { -1 } }, 9, 0, 0, qptrdiff(-
174__builtin_offsetof (-
175qt_meta_stringdata_QQuickGridView_t-
176, -
177stringdata0-
178) -
179+ 300 - 22 * sizeof(QByteArrayData)) },-
180{ { { -1 } }, 10, 0, 0, qptrdiff(-
181__builtin_offsetof (-
182qt_meta_stringdata_QQuickGridView_t-
183, -
184stringdata0-
185) -
186+ 310 - 23 * sizeof(QByteArrayData)) }-
187-
188 },-
189 "QQuickGridView\0DefaultProperty\0data\0"-
190 "cellWidthChanged\0\0cellHeightChanged\0"-
191 "highlightMoveDurationChanged\0flowChanged\0"-
192 "snapModeChanged\0moveCurrentIndexUp\0"-
193 "moveCurrentIndexDown\0moveCurrentIndexLeft\0"-
194 "moveCurrentIndexRight\0flow\0Flow\0"-
195 "cellWidth\0cellHeight\0snapMode\0SnapMode\0"-
196 "FlowLeftToRight\0FlowTopToBottom\0NoSnap\0"-
197 "SnapToRow\0SnapOneRow"-
198};-
199-
200-
201static const uint qt_meta_data_QQuickGridView[] = {-
202-
203-
204 7,-
205 0,-
206 1, 14,-
207 9, 16,-
208 4, 70,-
209 2, 86,-
210 0, 0,-
211 0,-
212 5,-
213-
214-
215 1, 2,-
216-
217-
218 3, 0, 61, 4, 0x06 ,-
219 5, 0, 62, 4, 0x06 ,-
220 6, 0, 63, 4, 0x06 ,-
221 7, 0, 64, 4, 0x06 ,-
222 8, 0, 65, 4, 0x06 ,-
223-
224-
225 9, 0, 66, 4, 0x0a ,-
226 10, 0, 67, 4, 0x0a ,-
227 11, 0, 68, 4, 0x0a ,-
228 12, 0, 69, 4, 0x0a ,-
229-
230-
231 QMetaType::Void,-
232 QMetaType::Void,-
233 QMetaType::Void,-
234 QMetaType::Void,-
235 QMetaType::Void,-
236-
237-
238 QMetaType::Void,-
239 QMetaType::Void,-
240 QMetaType::Void,-
241 QMetaType::Void,-
242-
243-
244 13, 0x80000000 | 14, 0x0049510b,-
245 15, QMetaType::QReal, 0x00495103,-
246 16, QMetaType::QReal, 0x00495103,-
247 17, 0x80000000 | 18, 0x0049510b,-
248-
249-
250 3,-
251 0,-
252 1,-
253 4,-
254-
255-
256 14, 0x0, 2, 94,-
257 18, 0x0, 3, 98,-
258-
259-
260 19, uint(QQuickGridView::FlowLeftToRight),-
261 20, uint(QQuickGridView::FlowTopToBottom),-
262 21, uint(QQuickGridView::NoSnap),-
263 22, uint(QQuickGridView::SnapToRow),-
264 23, uint(QQuickGridView::SnapOneRow),-
265-
266 0-
267};-
268-
269void QQuickGridView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
270{-
271 if (_c == QMetaObject::InvokeMetaMethod) {-
272 QQuickGridView *_t = static_cast<QQuickGridView *>(_o);-
273 (void)_t;-
274 switch (_id) {-
275 case 0: _t->cellWidthChanged(); break;-
276 case 1: _t->cellHeightChanged(); break;-
277 case 2: _t->highlightMoveDurationChanged(); break;-
278 case 3: _t->flowChanged(); break;-
279 case 4: _t->snapModeChanged(); break;-
280 case 5: _t->moveCurrentIndexUp(); break;-
281 case 6: _t->moveCurrentIndexDown(); break;-
282 case 7: _t->moveCurrentIndexLeft(); break;-
283 case 8: _t->moveCurrentIndexRight(); break;-
284 default: ;-
285 }-
286 } else if (_c == QMetaObject::IndexOfMethod) {-
287 int *result = reinterpret_cast<int *>(_a[0]);-
288 {-
289 using _t = void (QQuickGridView::*)();-
290 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGridView::cellWidthChanged)) {-
291 *result = 0;-
292 return;-
293 }-
294 }-
295 {-
296 using _t = void (QQuickGridView::*)();-
297 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGridView::cellHeightChanged)) {-
298 *result = 1;-
299 return;-
300 }-
301 }-
302 {-
303 using _t = void (QQuickGridView::*)();-
304 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGridView::highlightMoveDurationChanged)) {-
305 *result = 2;-
306 return;-
307 }-
308 }-
309 {-
310 using _t = void (QQuickGridView::*)();-
311 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGridView::flowChanged)) {-
312 *result = 3;-
313 return;-
314 }-
315 }-
316 {-
317 using _t = void (QQuickGridView::*)();-
318 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGridView::snapModeChanged)) {-
319 *result = 4;-
320 return;-
321 }-
322 }-
323 }-
324-
325 else if (_c == QMetaObject::ReadProperty) {-
326 QQuickGridView *_t = static_cast<QQuickGridView *>(_o);-
327 (void)_t;-
328 void *_v = _a[0];-
329 switch (_id) {-
330 case 0: *reinterpret_cast< Flow*>(_v) = _t->flow(); break;-
331 case 1: *reinterpret_cast< qreal*>(_v) = _t->cellWidth(); break;-
332 case 2: *reinterpret_cast< qreal*>(_v) = _t->cellHeight(); break;-
333 case 3: *reinterpret_cast< SnapMode*>(_v) = _t->snapMode(); break;-
334 default: break;-
335 }-
336 } else if (_c == QMetaObject::WriteProperty) {-
337 QQuickGridView *_t = static_cast<QQuickGridView *>(_o);-
338 (void)_t;-
339 void *_v = _a[0];-
340 switch (_id) {-
341 case 0: _t->setFlow(*reinterpret_cast< Flow*>(_v)); break;-
342 case 1: _t->setCellWidth(*reinterpret_cast< qreal*>(_v)); break;-
343 case 2: _t->setCellHeight(*reinterpret_cast< qreal*>(_v)); break;-
344 case 3: _t->setSnapMode(*reinterpret_cast< SnapMode*>(_v)); break;-
345 default: break;-
346 }-
347 } else if (_c == QMetaObject::ResetProperty) {-
348 }-
349-
350 (void)_a;;-
351}-
352-
353 const QMetaObject QQuickGridView::staticMetaObject = {-
354 { &QQuickItemView::staticMetaObject, qt_meta_stringdata_QQuickGridView.data,-
355 qt_meta_data_QQuickGridView, qt_static_metacall, nullptr, nullptr}-
356};-
357-
358-
359const QMetaObject *QQuickGridView::metaObject() const-
360{-
361 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
362}-
363-
364void *QQuickGridView::qt_metacast(const char *_clname)-
365{-
366 if (!_clname) return nullptr;-
367 if (!strcmp(_clname, qt_meta_stringdata_QQuickGridView.stringdata0))-
368 return static_cast<void*>(this);-
369 return QQuickItemView::qt_metacast(_clname);-
370}-
371-
372int QQuickGridView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
373{-
374 _id = QQuickItemView::qt_metacall(_c, _id, _a);-
375 if (_id < 0)-
376 return _id;-
377 if (_c == QMetaObject::InvokeMetaMethod) {-
378 if (_id < 9)-
379 qt_static_metacall(this, _c, _id, _a);-
380 _id -= 9;-
381 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
382 if (_id < 9)-
383 *reinterpret_cast<int*>(_a[0]) = -1;-
384 _id -= 9;-
385 }-
386-
387 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
388 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
389 qt_static_metacall(this, _c, _id, _a);-
390 _id -= 4;-
391 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
392 _id -= 4;-
393 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
394 _id -= 4;-
395 } else if (_c == QMetaObject::QueryPropertyStored) {-
396 _id -= 4;-
397 } else if (_c == QMetaObject::QueryPropertyEditable) {-
398 _id -= 4;-
399 } else if (_c == QMetaObject::QueryPropertyUser) {-
400 _id -= 4;-
401 }-
402-
403 return _id;-
404}-
405-
406-
407void QQuickGridView::cellWidthChanged()-
408{-
409 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
410}
executed 1740 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickgridview
1740
411-
412-
413void QQuickGridView::cellHeightChanged()-
414{-
415 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
416}
executed 1686 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickgridview
1686
417-
418-
419void QQuickGridView::highlightMoveDurationChanged()-
420{-
421 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
422}
never executed: end of block
0
423-
424-
425void QQuickGridView::flowChanged()-
426{-
427 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
428}
executed 666 times by 1 test: end of block
Executed by:
  • tst_qquickgridview
666
429-
430-
431void QQuickGridView::snapModeChanged()-
432{-
433 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
434}
executed 32 times by 1 test: end of block
Executed by:
  • tst_qquickgridview
32
435struct qt_meta_stringdata_QQuickGridViewAttached_t {-
436 QByteArrayData data[1];-
437 char stringdata0[23];-
438};-
439-
440-
441-
442-
443-
444static const qt_meta_stringdata_QQuickGridViewAttached_t qt_meta_stringdata_QQuickGridViewAttached = {-
445 {-
446{ { { -1 } }, 22, 0, 0, qptrdiff(-
447__builtin_offsetof (-
448qt_meta_stringdata_QQuickGridViewAttached_t-
449, -
450stringdata0-
451) -
452+ 0 - 0 * sizeof(QByteArrayData)) }-
453-
454 },-
455 "QQuickGridViewAttached"-
456};-
457-
458-
459static const uint qt_meta_data_QQuickGridViewAttached[] = {-
460-
461-
462 7,-
463 0,-
464 0, 0,-
465 0, 0,-
466 0, 0,-
467 0, 0,-
468 0, 0,-
469 0,-
470 0,-
471-
472 0-
473};-
474-
475void QQuickGridViewAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
476{-
477 (void)_o;;-
478 (void)_id;;-
479 (void)_c;;-
480 (void)_a;;-
481}-
482-
483 const QMetaObject QQuickGridViewAttached::staticMetaObject = {-
484 { &QQuickItemViewAttached::staticMetaObject, qt_meta_stringdata_QQuickGridViewAttached.data,-
485 qt_meta_data_QQuickGridViewAttached, qt_static_metacall, nullptr, nullptr}-
486};-
487-
488-
489const QMetaObject *QQuickGridViewAttached::metaObject() const-
490{-
491 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
492}-
493-
494void *QQuickGridViewAttached::qt_metacast(const char *_clname)-
495{-
496 if (!_clname) return nullptr;-
497 if (!strcmp(_clname, qt_meta_stringdata_QQuickGridViewAttached.stringdata0))-
498 return static_cast<void*>(this);-
499 return QQuickItemViewAttached::qt_metacast(_clname);-
500}-
501-
502int QQuickGridViewAttached::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
503{-
504 _id = QQuickItemViewAttached::qt_metacall(_c, _id, _a);-
505 return _id;-
506}-
507-
508#pragma GCC diagnostic pop-
509-
510-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0