Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicktableview_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_QQuickTableView_t { | - |
9 | QByteArrayData data[25]; | - |
10 | char stringdata0[331]; | - |
11 | }; | - |
12 | - | |
13 | - | |
14 | - | |
15 | - | |
16 | - | |
17 | static const qt_meta_stringdata_QQuickTableView_t qt_meta_stringdata_QQuickTableView = { | - |
18 | { | - |
19 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
20 | __builtin_offsetof ( | - |
21 | qt_meta_stringdata_QQuickTableView_t | - |
22 | , | - |
23 | stringdata0 | - |
24 | ) | - |
25 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
26 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
27 | __builtin_offsetof ( | - |
28 | qt_meta_stringdata_QQuickTableView_t | - |
29 | , | - |
30 | stringdata0 | - |
31 | ) | - |
32 | + 16 - 1 * sizeof(QByteArrayData)) }, | - |
33 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
34 | __builtin_offsetof ( | - |
35 | qt_meta_stringdata_QQuickTableView_t | - |
36 | , | - |
37 | stringdata0 | - |
38 | ) | - |
39 | + 28 - 2 * sizeof(QByteArrayData)) }, | - |
40 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
41 | __builtin_offsetof ( | - |
42 | qt_meta_stringdata_QQuickTableView_t | - |
43 | , | - |
44 | stringdata0 | - |
45 | ) | - |
46 | + 29 - 3 * sizeof(QByteArrayData)) }, | - |
47 | { { { -1 } }, 17, 0, 0, qptrdiff( | - |
48 | __builtin_offsetof ( | - |
49 | qt_meta_stringdata_QQuickTableView_t | - |
50 | , | - |
51 | stringdata0 | - |
52 | ) | - |
53 | + 44 - 4 * sizeof(QByteArrayData)) }, | - |
54 | { { { -1 } }, 20, 0, 0, qptrdiff( | - |
55 | __builtin_offsetof ( | - |
56 | qt_meta_stringdata_QQuickTableView_t | - |
57 | , | - |
58 | stringdata0 | - |
59 | ) | - |
60 | + 62 - 5 * sizeof(QByteArrayData)) }, | - |
61 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
62 | __builtin_offsetof ( | - |
63 | qt_meta_stringdata_QQuickTableView_t | - |
64 | , | - |
65 | stringdata0 | - |
66 | ) | - |
67 | + 83 - 6 * sizeof(QByteArrayData)) }, | - |
68 | { { { -1 } }, 19, 0, 0, qptrdiff( | - |
69 | __builtin_offsetof ( | - |
70 | qt_meta_stringdata_QQuickTableView_t | - |
71 | , | - |
72 | stringdata0 | - |
73 | ) | - |
74 | + 100 - 7 * sizeof(QByteArrayData)) }, | - |
75 | { { { -1 } }, 17, 0, 0, qptrdiff( | - |
76 | __builtin_offsetof ( | - |
77 | qt_meta_stringdata_QQuickTableView_t | - |
78 | , | - |
79 | stringdata0 | - |
80 | ) | - |
81 | + 120 - 8 * sizeof(QByteArrayData)) }, | - |
82 | { { { -1 } }, 18, 0, 0, qptrdiff( | - |
83 | __builtin_offsetof ( | - |
84 | qt_meta_stringdata_QQuickTableView_t | - |
85 | , | - |
86 | stringdata0 | - |
87 | ) | - |
88 | + 138 - 9 * sizeof(QByteArrayData)) }, | - |
89 | { { { -1 } }, 18, 0, 0, qptrdiff( | - |
90 | __builtin_offsetof ( | - |
91 | qt_meta_stringdata_QQuickTableView_t | - |
92 | , | - |
93 | stringdata0 | - |
94 | ) | - |
95 | + 157 - 10 * sizeof(QByteArrayData)) }, | - |
96 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
97 | __builtin_offsetof ( | - |
98 | qt_meta_stringdata_QQuickTableView_t | - |
99 | , | - |
100 | stringdata0 | - |
101 | ) | - |
102 | + 176 - 11 * sizeof(QByteArrayData)) }, | - |
103 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
104 | __builtin_offsetof ( | - |
105 | qt_meta_stringdata_QQuickTableView_t | - |
106 | , | - |
107 | stringdata0 | - |
108 | ) | - |
109 | + 189 - 12 * sizeof(QByteArrayData)) }, | - |
110 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
111 | __builtin_offsetof ( | - |
112 | qt_meta_stringdata_QQuickTableView_t | - |
113 | , | - |
114 | stringdata0 | - |
115 | ) | - |
116 | + 205 - 13 * sizeof(QByteArrayData)) }, | - |
117 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
118 | __builtin_offsetof ( | - |
119 | qt_meta_stringdata_QQuickTableView_t | - |
120 | , | - |
121 | stringdata0 | - |
122 | ) | - |
123 | + 210 - 14 * sizeof(QByteArrayData)) }, | - |
124 | { { { -1 } }, 10, 0, 0, qptrdiff( | - |
125 | __builtin_offsetof ( | - |
126 | qt_meta_stringdata_QQuickTableView_t | - |
127 | , | - |
128 | stringdata0 | - |
129 | ) | - |
130 | + 218 - 15 * sizeof(QByteArrayData)) }, | - |
131 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
132 | __builtin_offsetof ( | - |
133 | qt_meta_stringdata_QQuickTableView_t | - |
134 | , | - |
135 | stringdata0 | - |
136 | ) | - |
137 | + 229 - 16 * sizeof(QByteArrayData)) }, | - |
138 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
139 | __builtin_offsetof ( | - |
140 | qt_meta_stringdata_QQuickTableView_t | - |
141 | , | - |
142 | stringdata0 | - |
143 | ) | - |
144 | + 243 - 17 * sizeof(QByteArrayData)) }, | - |
145 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
146 | __builtin_offsetof ( | - |
147 | qt_meta_stringdata_QQuickTableView_t | - |
148 | , | - |
149 | stringdata0 | - |
150 | ) | - |
151 | + 253 - 18 * sizeof(QByteArrayData)) }, | - |
152 | { { { -1 } }, 10, 0, 0, qptrdiff( | - |
153 | __builtin_offsetof ( | - |
154 | qt_meta_stringdata_QQuickTableView_t | - |
155 | , | - |
156 | stringdata0 | - |
157 | ) | - |
158 | + 266 - 19 * sizeof(QByteArrayData)) }, | - |
159 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
160 | __builtin_offsetof ( | - |
161 | qt_meta_stringdata_QQuickTableView_t | - |
162 | , | - |
163 | stringdata0 | - |
164 | ) | - |
165 | + 277 - 20 * sizeof(QByteArrayData)) }, | - |
166 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
167 | __builtin_offsetof ( | - |
168 | qt_meta_stringdata_QQuickTableView_t | - |
169 | , | - |
170 | stringdata0 | - |
171 | ) | - |
172 | + 289 - 21 * sizeof(QByteArrayData)) }, | - |
173 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
174 | __builtin_offsetof ( | - |
175 | qt_meta_stringdata_QQuickTableView_t | - |
176 | , | - |
177 | stringdata0 | - |
178 | ) | - |
179 | + 301 - 22 * sizeof(QByteArrayData)) }, | - |
180 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
181 | __builtin_offsetof ( | - |
182 | qt_meta_stringdata_QQuickTableView_t | - |
183 | , | - |
184 | stringdata0 | - |
185 | ) | - |
186 | + 307 - 23 * sizeof(QByteArrayData)) }, | - |
187 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
188 | __builtin_offsetof ( | - |
189 | qt_meta_stringdata_QQuickTableView_t | - |
190 | , | - |
191 | stringdata0 | - |
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 | - | |
209 | static 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 | - | |
277 | void 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 | - | |
429 | const QMetaObject *QQuickTableView::metaObject() const | - |
430 | { | - |
431 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
432 | } | - |
433 | - | |
434 | void *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 | - | |
442 | int 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 | - | |
477 | void QQuickTableView::rowsChanged() | - |
478 | { | - |
479 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
480 | } executed 102 times by 1 test: end of block Executed by:
| 102 |
481 | - | |
482 | - | |
483 | void QQuickTableView::columnsChanged() | - |
484 | { | - |
485 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
486 | } executed 102 times by 1 test: end of block Executed by:
| 102 |
487 | - | |
488 | - | |
489 | void QQuickTableView::rowSpacingChanged() | - |
490 | { | - |
491 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
492 | } executed 100 times by 1 test: end of block Executed by:
| 100 |
493 | - | |
494 | - | |
495 | void QQuickTableView::columnSpacingChanged() | - |
496 | { | - |
497 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
498 | } executed 100 times by 1 test: end of block Executed by:
| 100 |
499 | - | |
500 | - | |
501 | void QQuickTableView::topMarginChanged() | - |
502 | { | - |
503 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
504 | } never executed: end of block | 0 |
505 | - | |
506 | - | |
507 | void QQuickTableView::bottomMarginChanged() | - |
508 | { | - |
509 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | - |
510 | } never executed: end of block | 0 |
511 | - | |
512 | - | |
513 | void QQuickTableView::leftMarginChanged() | - |
514 | { | - |
515 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | - |
516 | } never executed: end of block | 0 |
517 | - | |
518 | - | |
519 | void QQuickTableView::rightMarginChanged() | - |
520 | { | - |
521 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); | - |
522 | } never executed: end of block | 0 |
523 | - | |
524 | - | |
525 | void QQuickTableView::cacheBufferChanged() | - |
526 | { | - |
527 | QMetaObject::activate(this, &staticMetaObject, 8, nullptr); | - |
528 | } executed 102 times by 1 test: end of block Executed by:
| 102 |
529 | - | |
530 | - | |
531 | void QQuickTableView::modelChanged() | - |
532 | { | - |
533 | QMetaObject::activate(this, &staticMetaObject, 9, nullptr); | - |
534 | } never executed: end of block | 0 |
535 | - | |
536 | - | |
537 | void QQuickTableView::delegateChanged() | - |
538 | { | - |
539 | QMetaObject::activate(this, &staticMetaObject, 10, nullptr); | - |
540 | } executed 102 times by 1 test: end of block Executed by:
| 102 |
541 | struct qt_meta_stringdata_QQuickTableViewAttached_t { | - |
542 | QByteArrayData data[13]; | - |
543 | char stringdata0[161]; | - |
544 | }; | - |
545 | - | |
546 | - | |
547 | - | |
548 | - | |
549 | - | |
550 | static const qt_meta_stringdata_QQuickTableViewAttached_t qt_meta_stringdata_QQuickTableViewAttached = { | - |
551 | { | - |
552 | { { { -1 } }, 23, 0, 0, qptrdiff( | - |
553 | __builtin_offsetof ( | - |
554 | qt_meta_stringdata_QQuickTableViewAttached_t | - |
555 | , | - |
556 | stringdata0 | - |
557 | ) | - |
558 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
559 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
560 | __builtin_offsetof ( | - |
561 | qt_meta_stringdata_QQuickTableViewAttached_t | - |
562 | , | - |
563 | stringdata0 | - |
564 | ) | - |
565 | + 24 - 1 * sizeof(QByteArrayData)) }, | - |
566 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
567 | __builtin_offsetof ( | - |
568 | qt_meta_stringdata_QQuickTableViewAttached_t | - |
569 | , | - |
570 | stringdata0 | - |
571 | ) | - |
572 | + 41 - 2 * sizeof(QByteArrayData)) }, | - |
573 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
574 | __builtin_offsetof ( | - |
575 | qt_meta_stringdata_QQuickTableViewAttached_t | - |
576 | , | - |
577 | stringdata0 | - |
578 | ) | - |
579 | + 42 - 3 * sizeof(QByteArrayData)) }, | - |
580 | { { { -1 } }, 17, 0, 0, qptrdiff( | - |
581 | __builtin_offsetof ( | - |
582 | qt_meta_stringdata_QQuickTableViewAttached_t | - |
583 | , | - |
584 | stringdata0 | - |
585 | ) | - |
586 | + 59 - 4 * sizeof(QByteArrayData)) }, | - |
587 | { { { -1 } }, 10, 0, 0, qptrdiff( | - |
588 | __builtin_offsetof ( | - |
589 | qt_meta_stringdata_QQuickTableViewAttached_t | - |
590 | , | - |
591 | stringdata0 | - |
592 | ) | - |
593 | + 77 - 5 * sizeof(QByteArrayData)) }, | - |
594 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
595 | __builtin_offsetof ( | - |
596 | qt_meta_stringdata_QQuickTableViewAttached_t | - |
597 | , | - |
598 | stringdata0 | - |
599 | ) | - |
600 | + 88 - 6 * sizeof(QByteArrayData)) }, | - |
601 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
602 | __builtin_offsetof ( | - |
603 | qt_meta_stringdata_QQuickTableViewAttached_t | - |
604 | , | - |
605 | stringdata0 | - |
606 | ) | - |
607 | + 102 - 7 * sizeof(QByteArrayData)) }, | - |
608 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
609 | __builtin_offsetof ( | - |
610 | qt_meta_stringdata_QQuickTableViewAttached_t | - |
611 | , | - |
612 | stringdata0 | - |
613 | ) | - |
614 | + 112 - 8 * sizeof(QByteArrayData)) }, | - |
615 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
616 | __builtin_offsetof ( | - |
617 | qt_meta_stringdata_QQuickTableViewAttached_t | - |
618 | , | - |
619 | stringdata0 | - |
620 | ) | - |
621 | + 129 - 9 * sizeof(QByteArrayData)) }, | - |
622 | { { { -1 } }, 10, 0, 0, qptrdiff( | - |
623 | __builtin_offsetof ( | - |
624 | qt_meta_stringdata_QQuickTableViewAttached_t | - |
625 | , | - |
626 | stringdata0 | - |
627 | ) | - |
628 | + 139 - 10 * sizeof(QByteArrayData)) }, | - |
629 | { { { -1 } }, 3, 0, 0, qptrdiff( | - |
630 | __builtin_offsetof ( | - |
631 | qt_meta_stringdata_QQuickTableViewAttached_t | - |
632 | , | - |
633 | stringdata0 | - |
634 | ) | - |
635 | + 150 - 11 * sizeof(QByteArrayData)) }, | - |
636 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
637 | __builtin_offsetof ( | - |
638 | qt_meta_stringdata_QQuickTableViewAttached_t | - |
639 | , | - |
640 | stringdata0 | - |
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 | - | |
653 | static 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 | - | |
697 | void 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 | - | |
788 | const QMetaObject *QQuickTableViewAttached::metaObject() const | - |
789 | { | - |
790 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
791 | } | - |
792 | - | |
793 | void *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 | - | |
801 | int 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 | - | |
836 | void QQuickTableViewAttached::tableViewChanged() | - |
837 | { | - |
838 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
839 | } never executed: end of block | 0 |
840 | - | |
841 | - | |
842 | void QQuickTableViewAttached::cellWidthChanged() | - |
843 | { | - |
844 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
845 | } never executed: end of block | 0 |
846 | - | |
847 | - | |
848 | void QQuickTableViewAttached::cellHeightChanged() | - |
849 | { | - |
850 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
851 | } never executed: end of block | 0 |
852 | - | |
853 | - | |
854 | void QQuickTableViewAttached::rowChanged() | - |
855 | { | - |
856 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
857 | } never executed: end of block | 0 |
858 | - | |
859 | - | |
860 | void 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 code | Preprocessed file |