OpenCoverage

moc_qquicktableview_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicktableview_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_QQuickTableView_t {-
9 QByteArrayData data[25];-
10 char stringdata0[331];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickTableView_t qt_meta_stringdata_QQuickTableView = {-
18 {-
19{ { { -1 } }, 15, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickTableView_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 11, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickTableView_t-
29, -
30stringdata0-
31) -
32+ 16 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickTableView_t-
36, -
37stringdata0-
38) -
39+ 28 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 14, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickTableView_t-
43, -
44stringdata0-
45) -
46+ 29 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 17, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickTableView_t-
50, -
51stringdata0-
52) -
53+ 44 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 20, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickTableView_t-
57, -
58stringdata0-
59) -
60+ 62 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 16, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickTableView_t-
64, -
65stringdata0-
66) -
67+ 83 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 19, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickTableView_t-
71, -
72stringdata0-
73) -
74+ 100 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 17, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickTableView_t-
78, -
79stringdata0-
80) -
81+ 120 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 18, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickTableView_t-
85, -
86stringdata0-
87) -
88+ 138 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 18, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickTableView_t-
92, -
93stringdata0-
94) -
95+ 157 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 12, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickTableView_t-
99, -
100stringdata0-
101) -
102+ 176 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 15, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickTableView_t-
106, -
107stringdata0-
108) -
109+ 189 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 4, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickTableView_t-
113, -
114stringdata0-
115) -
116+ 205 - 13 * sizeof(QByteArrayData)) },-
117{ { { -1 } }, 7, 0, 0, qptrdiff(-
118__builtin_offsetof (-
119qt_meta_stringdata_QQuickTableView_t-
120, -
121stringdata0-
122) -
123+ 210 - 14 * sizeof(QByteArrayData)) },-
124{ { { -1 } }, 10, 0, 0, qptrdiff(-
125__builtin_offsetof (-
126qt_meta_stringdata_QQuickTableView_t-
127, -
128stringdata0-
129) -
130+ 218 - 15 * sizeof(QByteArrayData)) },-
131{ { { -1 } }, 13, 0, 0, qptrdiff(-
132__builtin_offsetof (-
133qt_meta_stringdata_QQuickTableView_t-
134, -
135stringdata0-
136) -
137+ 229 - 16 * sizeof(QByteArrayData)) },-
138{ { { -1 } }, 9, 0, 0, qptrdiff(-
139__builtin_offsetof (-
140qt_meta_stringdata_QQuickTableView_t-
141, -
142stringdata0-
143) -
144+ 243 - 17 * sizeof(QByteArrayData)) },-
145{ { { -1 } }, 12, 0, 0, qptrdiff(-
146__builtin_offsetof (-
147qt_meta_stringdata_QQuickTableView_t-
148, -
149stringdata0-
150) -
151+ 253 - 18 * sizeof(QByteArrayData)) },-
152{ { { -1 } }, 10, 0, 0, qptrdiff(-
153__builtin_offsetof (-
154qt_meta_stringdata_QQuickTableView_t-
155, -
156stringdata0-
157) -
158+ 266 - 19 * sizeof(QByteArrayData)) },-
159{ { { -1 } }, 11, 0, 0, qptrdiff(-
160__builtin_offsetof (-
161qt_meta_stringdata_QQuickTableView_t-
162, -
163stringdata0-
164) -
165+ 277 - 20 * sizeof(QByteArrayData)) },-
166{ { { -1 } }, 11, 0, 0, qptrdiff(-
167__builtin_offsetof (-
168qt_meta_stringdata_QQuickTableView_t-
169, -
170stringdata0-
171) -
172+ 289 - 21 * sizeof(QByteArrayData)) },-
173{ { { -1 } }, 5, 0, 0, qptrdiff(-
174__builtin_offsetof (-
175qt_meta_stringdata_QQuickTableView_t-
176, -
177stringdata0-
178) -
179+ 301 - 22 * sizeof(QByteArrayData)) },-
180{ { { -1 } }, 8, 0, 0, qptrdiff(-
181__builtin_offsetof (-
182qt_meta_stringdata_QQuickTableView_t-
183, -
184stringdata0-
185) -
186+ 307 - 23 * sizeof(QByteArrayData)) },-
187{ { { -1 } }, 14, 0, 0, qptrdiff(-
188__builtin_offsetof (-
189qt_meta_stringdata_QQuickTableView_t-
190, -
191stringdata0-
192) -
193+ 316 - 24 * sizeof(QByteArrayData)) }-
194-
195 },-
196 "QQuickTableView\0rowsChanged\0\0"-
197 "columnsChanged\0rowSpacingChanged\0"-
198 "columnSpacingChanged\0topMarginChanged\0"-
199 "bottomMarginChanged\0leftMarginChanged\0"-
200 "rightMarginChanged\0cacheBufferChanged\0"-
201 "modelChanged\0delegateChanged\0rows\0"-
202 "columns\0rowSpacing\0columnSpacing\0"-
203 "topMargin\0bottomMargin\0leftMargin\0"-
204 "rightMargin\0cacheBuffer\0model\0delegate\0"-
205 "QQmlComponent*"-
206};-
207-
208-
209static const uint qt_meta_data_QQuickTableView[] = {-
210-
211-
212 7,-
213 0,-
214 0, 0,-
215 11, 14,-
216 11, 80,-
217 0, 0,-
218 0, 0,-
219 0,-
220 11,-
221-
222-
223 1, 0, 69, 2, 0x06 ,-
224 3, 0, 70, 2, 0x06 ,-
225 4, 0, 71, 2, 0x06 ,-
226 5, 0, 72, 2, 0x06 ,-
227 6, 0, 73, 2, 0x06 ,-
228 7, 0, 74, 2, 0x06 ,-
229 8, 0, 75, 2, 0x06 ,-
230 9, 0, 76, 2, 0x06 ,-
231 10, 0, 77, 2, 0x06 ,-
232 11, 0, 78, 2, 0x06 ,-
233 12, 0, 79, 2, 0x06 ,-
234-
235-
236 QMetaType::Void,-
237 QMetaType::Void,-
238 QMetaType::Void,-
239 QMetaType::Void,-
240 QMetaType::Void,-
241 QMetaType::Void,-
242 QMetaType::Void,-
243 QMetaType::Void,-
244 QMetaType::Void,-
245 QMetaType::Void,-
246 QMetaType::Void,-
247-
248-
249 13, QMetaType::Int, 0x00495001,-
250 14, QMetaType::Int, 0x00495001,-
251 15, QMetaType::QReal, 0x00495103,-
252 16, QMetaType::QReal, 0x00495103,-
253 17, QMetaType::QReal, 0x00495103,-
254 18, QMetaType::QReal, 0x00495103,-
255 19, QMetaType::QReal, 0x00495103,-
256 20, QMetaType::QReal, 0x00495103,-
257 21, QMetaType::Int, 0x00495103,-
258 22, QMetaType::QVariant, 0x00495103,-
259 23, 0x80000000 | 24, 0x0049510b,-
260-
261-
262 0,-
263 1,-
264 2,-
265 3,-
266 4,-
267 5,-
268 6,-
269 7,-
270 8,-
271 9,-
272 10,-
273-
274 0-
275};-
276-
277void QQuickTableView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
278{-
279 if (_c == QMetaObject::InvokeMetaMethod) {-
280 QQuickTableView *_t = static_cast<QQuickTableView *>(_o);-
281 (void)_t;-
282 switch (_id) {-
283 case 0: _t->rowsChanged(); break;-
284 case 1: _t->columnsChanged(); break;-
285 case 2: _t->rowSpacingChanged(); break;-
286 case 3: _t->columnSpacingChanged(); break;-
287 case 4: _t->topMarginChanged(); break;-
288 case 5: _t->bottomMarginChanged(); break;-
289 case 6: _t->leftMarginChanged(); break;-
290 case 7: _t->rightMarginChanged(); break;-
291 case 8: _t->cacheBufferChanged(); break;-
292 case 9: _t->modelChanged(); break;-
293 case 10: _t->delegateChanged(); break;-
294 default: ;-
295 }-
296 } else if (_c == QMetaObject::IndexOfMethod) {-
297 int *result = reinterpret_cast<int *>(_a[0]);-
298 {-
299 using _t = void (QQuickTableView::*)();-
300 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::rowsChanged)) {-
301 *result = 0;-
302 return;-
303 }-
304 }-
305 {-
306 using _t = void (QQuickTableView::*)();-
307 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::columnsChanged)) {-
308 *result = 1;-
309 return;-
310 }-
311 }-
312 {-
313 using _t = void (QQuickTableView::*)();-
314 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::rowSpacingChanged)) {-
315 *result = 2;-
316 return;-
317 }-
318 }-
319 {-
320 using _t = void (QQuickTableView::*)();-
321 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::columnSpacingChanged)) {-
322 *result = 3;-
323 return;-
324 }-
325 }-
326 {-
327 using _t = void (QQuickTableView::*)();-
328 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::topMarginChanged)) {-
329 *result = 4;-
330 return;-
331 }-
332 }-
333 {-
334 using _t = void (QQuickTableView::*)();-
335 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::bottomMarginChanged)) {-
336 *result = 5;-
337 return;-
338 }-
339 }-
340 {-
341 using _t = void (QQuickTableView::*)();-
342 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::leftMarginChanged)) {-
343 *result = 6;-
344 return;-
345 }-
346 }-
347 {-
348 using _t = void (QQuickTableView::*)();-
349 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::rightMarginChanged)) {-
350 *result = 7;-
351 return;-
352 }-
353 }-
354 {-
355 using _t = void (QQuickTableView::*)();-
356 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::cacheBufferChanged)) {-
357 *result = 8;-
358 return;-
359 }-
360 }-
361 {-
362 using _t = void (QQuickTableView::*)();-
363 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::modelChanged)) {-
364 *result = 9;-
365 return;-
366 }-
367 }-
368 {-
369 using _t = void (QQuickTableView::*)();-
370 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::delegateChanged)) {-
371 *result = 10;-
372 return;-
373 }-
374 }-
375 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
376 switch (_id) {-
377 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
378 case 10:-
379 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break;-
380 }-
381 }-
382-
383-
384 else if (_c == QMetaObject::ReadProperty) {-
385 QQuickTableView *_t = static_cast<QQuickTableView *>(_o);-
386 (void)_t;-
387 void *_v = _a[0];-
388 switch (_id) {-
389 case 0: *reinterpret_cast< int*>(_v) = _t->rows(); break;-
390 case 1: *reinterpret_cast< int*>(_v) = _t->columns(); break;-
391 case 2: *reinterpret_cast< qreal*>(_v) = _t->rowSpacing(); break;-
392 case 3: *reinterpret_cast< qreal*>(_v) = _t->columnSpacing(); break;-
393 case 4: *reinterpret_cast< qreal*>(_v) = _t->topMargin(); break;-
394 case 5: *reinterpret_cast< qreal*>(_v) = _t->bottomMargin(); break;-
395 case 6: *reinterpret_cast< qreal*>(_v) = _t->leftMargin(); break;-
396 case 7: *reinterpret_cast< qreal*>(_v) = _t->rightMargin(); break;-
397 case 8: *reinterpret_cast< int*>(_v) = _t->cacheBuffer(); break;-
398 case 9: *reinterpret_cast< QVariant*>(_v) = _t->model(); break;-
399 case 10: *reinterpret_cast< QQmlComponent**>(_v) = _t->delegate(); break;-
400 default: break;-
401 }-
402 } else if (_c == QMetaObject::WriteProperty) {-
403 QQuickTableView *_t = static_cast<QQuickTableView *>(_o);-
404 (void)_t;-
405 void *_v = _a[0];-
406 switch (_id) {-
407 case 2: _t->setRowSpacing(*reinterpret_cast< qreal*>(_v)); break;-
408 case 3: _t->setColumnSpacing(*reinterpret_cast< qreal*>(_v)); break;-
409 case 4: _t->setTopMargin(*reinterpret_cast< qreal*>(_v)); break;-
410 case 5: _t->setBottomMargin(*reinterpret_cast< qreal*>(_v)); break;-
411 case 6: _t->setLeftMargin(*reinterpret_cast< qreal*>(_v)); break;-
412 case 7: _t->setRightMargin(*reinterpret_cast< qreal*>(_v)); break;-
413 case 8: _t->setCacheBuffer(*reinterpret_cast< int*>(_v)); break;-
414 case 9: _t->setModel(*reinterpret_cast< QVariant*>(_v)); break;-
415 case 10: _t->setDelegate(*reinterpret_cast< QQmlComponent**>(_v)); break;-
416 default: break;-
417 }-
418 } else if (_c == QMetaObject::ResetProperty) {-
419 }-
420-
421}-
422-
423 const QMetaObject QQuickTableView::staticMetaObject = {-
424 { &QQuickFlickable::staticMetaObject, qt_meta_stringdata_QQuickTableView.data,-
425 qt_meta_data_QQuickTableView, qt_static_metacall, nullptr, nullptr}-
426};-
427-
428-
429const QMetaObject *QQuickTableView::metaObject() const-
430{-
431 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
432}-
433-
434void *QQuickTableView::qt_metacast(const char *_clname)-
435{-
436 if (!_clname) return nullptr;-
437 if (!strcmp(_clname, qt_meta_stringdata_QQuickTableView.stringdata0))-
438 return static_cast<void*>(this);-
439 return QQuickFlickable::qt_metacast(_clname);-
440}-
441-
442int QQuickTableView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
443{-
444 _id = QQuickFlickable::qt_metacall(_c, _id, _a);-
445 if (_id < 0)-
446 return _id;-
447 if (_c == QMetaObject::InvokeMetaMethod) {-
448 if (_id < 11)-
449 qt_static_metacall(this, _c, _id, _a);-
450 _id -= 11;-
451 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
452 if (_id < 11)-
453 *reinterpret_cast<int*>(_a[0]) = -1;-
454 _id -= 11;-
455 }-
456-
457 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
458 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
459 qt_static_metacall(this, _c, _id, _a);-
460 _id -= 11;-
461 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
462 _id -= 11;-
463 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
464 _id -= 11;-
465 } else if (_c == QMetaObject::QueryPropertyStored) {-
466 _id -= 11;-
467 } else if (_c == QMetaObject::QueryPropertyEditable) {-
468 _id -= 11;-
469 } else if (_c == QMetaObject::QueryPropertyUser) {-
470 _id -= 11;-
471 }-
472-
473 return _id;-
474}-
475-
476-
477void QQuickTableView::rowsChanged()-
478{-
479 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
480}
executed 102 times by 1 test: end of block
Executed by:
  • tst_qquicktableview
102
481-
482-
483void QQuickTableView::columnsChanged()-
484{-
485 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
486}
executed 102 times by 1 test: end of block
Executed by:
  • tst_qquicktableview
102
487-
488-
489void QQuickTableView::rowSpacingChanged()-
490{-
491 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
492}
executed 100 times by 1 test: end of block
Executed by:
  • tst_qquicktableview
100
493-
494-
495void QQuickTableView::columnSpacingChanged()-
496{-
497 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
498}
executed 100 times by 1 test: end of block
Executed by:
  • tst_qquicktableview
100
499-
500-
501void QQuickTableView::topMarginChanged()-
502{-
503 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
504}
never executed: end of block
0
505-
506-
507void QQuickTableView::bottomMarginChanged()-
508{-
509 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
510}
never executed: end of block
0
511-
512-
513void QQuickTableView::leftMarginChanged()-
514{-
515 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);-
516}
never executed: end of block
0
517-
518-
519void QQuickTableView::rightMarginChanged()-
520{-
521 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);-
522}
never executed: end of block
0
523-
524-
525void QQuickTableView::cacheBufferChanged()-
526{-
527 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);-
528}
executed 102 times by 1 test: end of block
Executed by:
  • tst_qquicktableview
102
529-
530-
531void QQuickTableView::modelChanged()-
532{-
533 QMetaObject::activate(this, &staticMetaObject, 9, nullptr);-
534}
never executed: end of block
0
535-
536-
537void QQuickTableView::delegateChanged()-
538{-
539 QMetaObject::activate(this, &staticMetaObject, 10, nullptr);-
540}
executed 102 times by 1 test: end of block
Executed by:
  • tst_qquicktableview
102
541struct qt_meta_stringdata_QQuickTableViewAttached_t {-
542 QByteArrayData data[13];-
543 char stringdata0[161];-
544};-
545-
546-
547-
548-
549-
550static const qt_meta_stringdata_QQuickTableViewAttached_t qt_meta_stringdata_QQuickTableViewAttached = {-
551 {-
552{ { { -1 } }, 23, 0, 0, qptrdiff(-
553__builtin_offsetof (-
554qt_meta_stringdata_QQuickTableViewAttached_t-
555, -
556stringdata0-
557) -
558+ 0 - 0 * sizeof(QByteArrayData)) },-
559{ { { -1 } }, 16, 0, 0, qptrdiff(-
560__builtin_offsetof (-
561qt_meta_stringdata_QQuickTableViewAttached_t-
562, -
563stringdata0-
564) -
565+ 24 - 1 * sizeof(QByteArrayData)) },-
566{ { { -1 } }, 0, 0, 0, qptrdiff(-
567__builtin_offsetof (-
568qt_meta_stringdata_QQuickTableViewAttached_t-
569, -
570stringdata0-
571) -
572+ 41 - 2 * sizeof(QByteArrayData)) },-
573{ { { -1 } }, 16, 0, 0, qptrdiff(-
574__builtin_offsetof (-
575qt_meta_stringdata_QQuickTableViewAttached_t-
576, -
577stringdata0-
578) -
579+ 42 - 3 * sizeof(QByteArrayData)) },-
580{ { { -1 } }, 17, 0, 0, qptrdiff(-
581__builtin_offsetof (-
582qt_meta_stringdata_QQuickTableViewAttached_t-
583, -
584stringdata0-
585) -
586+ 59 - 4 * sizeof(QByteArrayData)) },-
587{ { { -1 } }, 10, 0, 0, qptrdiff(-
588__builtin_offsetof (-
589qt_meta_stringdata_QQuickTableViewAttached_t-
590, -
591stringdata0-
592) -
593+ 77 - 5 * sizeof(QByteArrayData)) },-
594{ { { -1 } }, 13, 0, 0, qptrdiff(-
595__builtin_offsetof (-
596qt_meta_stringdata_QQuickTableViewAttached_t-
597, -
598stringdata0-
599) -
600+ 88 - 6 * sizeof(QByteArrayData)) },-
601{ { { -1 } }, 9, 0, 0, qptrdiff(-
602__builtin_offsetof (-
603qt_meta_stringdata_QQuickTableViewAttached_t-
604, -
605stringdata0-
606) -
607+ 102 - 7 * sizeof(QByteArrayData)) },-
608{ { { -1 } }, 16, 0, 0, qptrdiff(-
609__builtin_offsetof (-
610qt_meta_stringdata_QQuickTableViewAttached_t-
611, -
612stringdata0-
613) -
614+ 112 - 8 * sizeof(QByteArrayData)) },-
615{ { { -1 } }, 9, 0, 0, qptrdiff(-
616__builtin_offsetof (-
617qt_meta_stringdata_QQuickTableViewAttached_t-
618, -
619stringdata0-
620) -
621+ 129 - 9 * sizeof(QByteArrayData)) },-
622{ { { -1 } }, 10, 0, 0, qptrdiff(-
623__builtin_offsetof (-
624qt_meta_stringdata_QQuickTableViewAttached_t-
625, -
626stringdata0-
627) -
628+ 139 - 10 * sizeof(QByteArrayData)) },-
629{ { { -1 } }, 3, 0, 0, qptrdiff(-
630__builtin_offsetof (-
631qt_meta_stringdata_QQuickTableViewAttached_t-
632, -
633stringdata0-
634) -
635+ 150 - 11 * sizeof(QByteArrayData)) },-
636{ { { -1 } }, 6, 0, 0, qptrdiff(-
637__builtin_offsetof (-
638qt_meta_stringdata_QQuickTableViewAttached_t-
639, -
640stringdata0-
641) -
642+ 154 - 12 * sizeof(QByteArrayData)) }-
643-
644 },-
645 "QQuickTableViewAttached\0tableViewChanged\0"-
646 "\0cellWidthChanged\0cellHeightChanged\0"-
647 "rowChanged\0columnChanged\0tableView\0"-
648 "QQuickTableView*\0cellWidth\0cellHeight\0"-
649 "row\0column"-
650};-
651-
652-
653static const uint qt_meta_data_QQuickTableViewAttached[] = {-
654-
655-
656 7,-
657 0,-
658 0, 0,-
659 5, 14,-
660 5, 44,-
661 0, 0,-
662 0, 0,-
663 0,-
664 5,-
665-
666-
667 1, 0, 39, 2, 0x06 ,-
668 3, 0, 40, 2, 0x06 ,-
669 4, 0, 41, 2, 0x06 ,-
670 5, 0, 42, 2, 0x06 ,-
671 6, 0, 43, 2, 0x06 ,-
672-
673-
674 QMetaType::Void,-
675 QMetaType::Void,-
676 QMetaType::Void,-
677 QMetaType::Void,-
678 QMetaType::Void,-
679-
680-
681 7, 0x80000000 | 8, 0x00495009,-
682 9, QMetaType::QReal, 0x00495103,-
683 10, QMetaType::QReal, 0x00495103,-
684 11, QMetaType::Int, 0x00495001,-
685 12, QMetaType::Int, 0x00495001,-
686-
687-
688 0,-
689 1,-
690 2,-
691 3,-
692 4,-
693-
694 0-
695};-
696-
697void QQuickTableViewAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
698{-
699 if (_c == QMetaObject::InvokeMetaMethod) {-
700 QQuickTableViewAttached *_t = static_cast<QQuickTableViewAttached *>(_o);-
701 (void)_t;-
702 switch (_id) {-
703 case 0: _t->tableViewChanged(); break;-
704 case 1: _t->cellWidthChanged(); break;-
705 case 2: _t->cellHeightChanged(); break;-
706 case 3: _t->rowChanged(); break;-
707 case 4: _t->columnChanged(); break;-
708 default: ;-
709 }-
710 } else if (_c == QMetaObject::IndexOfMethod) {-
711 int *result = reinterpret_cast<int *>(_a[0]);-
712 {-
713 using _t = void (QQuickTableViewAttached::*)();-
714 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableViewAttached::tableViewChanged)) {-
715 *result = 0;-
716 return;-
717 }-
718 }-
719 {-
720 using _t = void (QQuickTableViewAttached::*)();-
721 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableViewAttached::cellWidthChanged)) {-
722 *result = 1;-
723 return;-
724 }-
725 }-
726 {-
727 using _t = void (QQuickTableViewAttached::*)();-
728 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableViewAttached::cellHeightChanged)) {-
729 *result = 2;-
730 return;-
731 }-
732 }-
733 {-
734 using _t = void (QQuickTableViewAttached::*)();-
735 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableViewAttached::rowChanged)) {-
736 *result = 3;-
737 return;-
738 }-
739 }-
740 {-
741 using _t = void (QQuickTableViewAttached::*)();-
742 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableViewAttached::columnChanged)) {-
743 *result = 4;-
744 return;-
745 }-
746 }-
747 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
748 switch (_id) {-
749 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
750 case 0:-
751 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickTableView* >(); break;-
752 }-
753 }-
754-
755-
756 else if (_c == QMetaObject::ReadProperty) {-
757 QQuickTableViewAttached *_t = static_cast<QQuickTableViewAttached *>(_o);-
758 (void)_t;-
759 void *_v = _a[0];-
760 switch (_id) {-
761 case 0: *reinterpret_cast< QQuickTableView**>(_v) = _t->tableView(); break;-
762 case 1: *reinterpret_cast< qreal*>(_v) = _t->cellWidth(); break;-
763 case 2: *reinterpret_cast< qreal*>(_v) = _t->cellHeight(); break;-
764 case 3: *reinterpret_cast< int*>(_v) = _t->row(); break;-
765 case 4: *reinterpret_cast< int*>(_v) = _t->column(); break;-
766 default: break;-
767 }-
768 } else if (_c == QMetaObject::WriteProperty) {-
769 QQuickTableViewAttached *_t = static_cast<QQuickTableViewAttached *>(_o);-
770 (void)_t;-
771 void *_v = _a[0];-
772 switch (_id) {-
773 case 1: _t->setCellWidth(*reinterpret_cast< qreal*>(_v)); break;-
774 case 2: _t->setCellHeight(*reinterpret_cast< qreal*>(_v)); break;-
775 default: break;-
776 }-
777 } else if (_c == QMetaObject::ResetProperty) {-
778 }-
779-
780}-
781-
782 const QMetaObject QQuickTableViewAttached::staticMetaObject = {-
783 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickTableViewAttached.data,-
784 qt_meta_data_QQuickTableViewAttached, qt_static_metacall, nullptr, nullptr}-
785};-
786-
787-
788const QMetaObject *QQuickTableViewAttached::metaObject() const-
789{-
790 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
791}-
792-
793void *QQuickTableViewAttached::qt_metacast(const char *_clname)-
794{-
795 if (!_clname) return nullptr;-
796 if (!strcmp(_clname, qt_meta_stringdata_QQuickTableViewAttached.stringdata0))-
797 return static_cast<void*>(this);-
798 return QObject::qt_metacast(_clname);-
799}-
800-
801int QQuickTableViewAttached::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
802{-
803 _id = QObject::qt_metacall(_c, _id, _a);-
804 if (_id < 0)-
805 return _id;-
806 if (_c == QMetaObject::InvokeMetaMethod) {-
807 if (_id < 5)-
808 qt_static_metacall(this, _c, _id, _a);-
809 _id -= 5;-
810 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
811 if (_id < 5)-
812 *reinterpret_cast<int*>(_a[0]) = -1;-
813 _id -= 5;-
814 }-
815-
816 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
817 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
818 qt_static_metacall(this, _c, _id, _a);-
819 _id -= 5;-
820 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
821 _id -= 5;-
822 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
823 _id -= 5;-
824 } else if (_c == QMetaObject::QueryPropertyStored) {-
825 _id -= 5;-
826 } else if (_c == QMetaObject::QueryPropertyEditable) {-
827 _id -= 5;-
828 } else if (_c == QMetaObject::QueryPropertyUser) {-
829 _id -= 5;-
830 }-
831-
832 return _id;-
833}-
834-
835-
836void QQuickTableViewAttached::tableViewChanged()-
837{-
838 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
839}
never executed: end of block
0
840-
841-
842void QQuickTableViewAttached::cellWidthChanged()-
843{-
844 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
845}
never executed: end of block
0
846-
847-
848void QQuickTableViewAttached::cellHeightChanged()-
849{-
850 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
851}
never executed: end of block
0
852-
853-
854void QQuickTableViewAttached::rowChanged()-
855{-
856 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
857}
never executed: end of block
0
858-
859-
860void QQuickTableViewAttached::columnChanged()-
861{-
862 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
863}
never executed: end of block
0
864-
865#pragma GCC diagnostic pop-
866-
867-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0