OpenCoverage

moc_qquickshadereffectmesh_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickshadereffectmesh_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickshadereffectmesh_p.h'-
3**-
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0)-
5**-
6** WARNING! All changes made in this file will be lost!-
7*****************************************************************************/-
8-
9#include "../items/qquickshadereffectmesh_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickshadereffectmesh_p.h' doesn't include <QObject>."-
14#elif Q_MOC_OUTPUT_REVISION != 67-
15#error "This file was generated using the moc from 5.12.0. It"-
16#error "cannot be used with the include files from this version of Qt."-
17#error "(The moc has changed too much.)"-
18#endif-
19-
20QT_BEGIN_MOC_NAMESPACE-
21QT_WARNING_PUSH-
22QT_WARNING_DISABLE_DEPRECATED-
23struct qt_meta_stringdata_QQuickShaderEffectMesh_t {-
24 QByteArrayData data[3];-
25 char stringdata0[40];-
26};-
27#define QT_MOC_LITERAL(idx, ofs, len) \-
28 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
29 qptrdiff(offsetof(qt_meta_stringdata_QQuickShaderEffectMesh_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickShaderEffectMesh_t qt_meta_stringdata_QQuickShaderEffectMesh = {-
33 {-
34QT_MOC_LITERAL(0, 0, 22), // "QQuickShaderEffectMesh"-
35QT_MOC_LITERAL(1, 23, 15), // "geometryChanged"-
36QT_MOC_LITERAL(2, 39, 0) // ""-
37-
38 },-
39 "QQuickShaderEffectMesh\0geometryChanged\0"-
40 ""-
41};-
42#undef QT_MOC_LITERAL-
43-
44static const uint qt_meta_data_QQuickShaderEffectMesh[] = {-
45-
46 // content:-
47 7, // revision-
48 0, // classname-
49 0, 0, // classinfo-
50 1, 14, // methods-
51 0, 0, // properties-
52 0, 0, // enums/sets-
53 0, 0, // constructors-
54 0, // flags-
55 1, // signalCount-
56-
57 // signals: name, argc, parameters, tag, flags-
58 1, 0, 19, 2, 0x06 /* Public */,-
59-
60 // signals: parameters-
61 QMetaType::Void,-
62-
63 0 // eod-
64};-
65-
66void QQuickShaderEffectMesh::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
67{-
68 if (_c == QMetaObject::InvokeMetaMethod) {-
69 QQuickShaderEffectMesh *_t = static_cast<QQuickShaderEffectMesh *>(_o);-
70 Q_UNUSED(_t)-
71 switch (_id) {-
72 case 0: _t->geometryChanged(); break;-
73 default: ;-
74 }-
75 } else if (_c == QMetaObject::IndexOfMethod) {-
76 int *result = reinterpret_cast<int *>(_a[0]);-
77 {-
78 using _t = void (QQuickShaderEffectMesh::*)();-
79 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShaderEffectMesh::geometryChanged)) {-
80 *result = 0;-
81 return;-
82 }-
83 }-
84 }-
85 Q_UNUSED(_a);-
86}-
87-
88QT_INIT_METAOBJECT const QMetaObject QQuickShaderEffectMesh::staticMetaObject = {-
89 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickShaderEffectMesh.data,-
90 qt_meta_data_QQuickShaderEffectMesh, qt_static_metacall, nullptr, nullptr}-
91};-
92-
93-
94const QMetaObject *QQuickShaderEffectMesh::metaObject() const-
95{-
96 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
97}-
98-
99void *QQuickShaderEffectMesh::qt_metacast(const char *_clname)-
100{-
101 if (!_clname) return nullptr;-
102 if (!strcmp(_clname, qt_meta_stringdata_QQuickShaderEffectMesh.stringdata0))-
103 return static_cast<void*>(this);-
104 return QObject::qt_metacast(_clname);-
105}-
106-
107int QQuickShaderEffectMesh::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
108{-
109 _id = QObject::qt_metacall(_c, _id, _a);-
110 if (_id < 0)-
111 return _id;-
112 if (_c == QMetaObject::InvokeMetaMethod) {-
113 if (_id < 1)-
114 qt_static_metacall(this, _c, _id, _a);-
115 _id -= 1;-
116 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
117 if (_id < 1)-
118 *reinterpret_cast<int*>(_a[0]) = -1;-
119 _id -= 1;-
120 }-
121 return _id;-
122}-
123-
124// SIGNAL 0-
125void QQuickShaderEffectMesh::geometryChanged()-
126{-
127 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
128}
executed 4 times by 1 test: end of block
Executed by:
  • tst_qquickborderimage
4
129struct qt_meta_stringdata_QQuickGridMesh_t {-
130 QByteArrayData data[4];-
131 char stringdata0[45];-
132};-
133#define QT_MOC_LITERAL(idx, ofs, len) \-
134 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
135 qptrdiff(offsetof(qt_meta_stringdata_QQuickGridMesh_t, stringdata0) + ofs \-
136 - idx * sizeof(QByteArrayData)) \-
137 )-
138static const qt_meta_stringdata_QQuickGridMesh_t qt_meta_stringdata_QQuickGridMesh = {-
139 {-
140QT_MOC_LITERAL(0, 0, 14), // "QQuickGridMesh"-
141QT_MOC_LITERAL(1, 15, 17), // "resolutionChanged"-
142QT_MOC_LITERAL(2, 33, 0), // ""-
143QT_MOC_LITERAL(3, 34, 10) // "resolution"-
144-
145 },-
146 "QQuickGridMesh\0resolutionChanged\0\0"-
147 "resolution"-
148};-
149#undef QT_MOC_LITERAL-
150-
151static const uint qt_meta_data_QQuickGridMesh[] = {-
152-
153 // content:-
154 7, // revision-
155 0, // classname-
156 0, 0, // classinfo-
157 1, 14, // methods-
158 1, 20, // properties-
159 0, 0, // enums/sets-
160 0, 0, // constructors-
161 0, // flags-
162 1, // signalCount-
163-
164 // signals: name, argc, parameters, tag, flags-
165 1, 0, 19, 2, 0x06 /* Public */,-
166-
167 // signals: parameters-
168 QMetaType::Void,-
169-
170 // properties: name, type, flags-
171 3, QMetaType::QSize, 0x00495103,-
172-
173 // properties: notify_signal_id-
174 0,-
175-
176 0 // eod-
177};-
178-
179void QQuickGridMesh::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
180{-
181 if (_c == QMetaObject::InvokeMetaMethod) {-
182 QQuickGridMesh *_t = static_cast<QQuickGridMesh *>(_o);-
183 Q_UNUSED(_t)-
184 switch (_id) {-
185 case 0: _t->resolutionChanged(); break;-
186 default: ;-
187 }-
188 } else if (_c == QMetaObject::IndexOfMethod) {-
189 int *result = reinterpret_cast<int *>(_a[0]);-
190 {-
191 using _t = void (QQuickGridMesh::*)();-
192 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGridMesh::resolutionChanged)) {-
193 *result = 0;-
194 return;-
195 }-
196 }-
197 }-
198#ifndef QT_NO_PROPERTIES-
199 else if (_c == QMetaObject::ReadProperty) {-
200 QQuickGridMesh *_t = static_cast<QQuickGridMesh *>(_o);-
201 Q_UNUSED(_t)-
202 void *_v = _a[0];-
203 switch (_id) {-
204 case 0: *reinterpret_cast< QSize*>(_v) = _t->resolution(); break;-
205 default: break;-
206 }-
207 } else if (_c == QMetaObject::WriteProperty) {-
208 QQuickGridMesh *_t = static_cast<QQuickGridMesh *>(_o);-
209 Q_UNUSED(_t)-
210 void *_v = _a[0];-
211 switch (_id) {-
212 case 0: _t->setResolution(*reinterpret_cast< QSize*>(_v)); break;-
213 default: break;-
214 }-
215 } else if (_c == QMetaObject::ResetProperty) {-
216 }-
217#endif // QT_NO_PROPERTIES-
218 Q_UNUSED(_a);-
219}-
220-
221QT_INIT_METAOBJECT const QMetaObject QQuickGridMesh::staticMetaObject = {-
222 { &QQuickShaderEffectMesh::staticMetaObject, qt_meta_stringdata_QQuickGridMesh.data,-
223 qt_meta_data_QQuickGridMesh, qt_static_metacall, nullptr, nullptr}-
224};-
225-
226-
227const QMetaObject *QQuickGridMesh::metaObject() const-
228{-
229 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
230}-
231-
232void *QQuickGridMesh::qt_metacast(const char *_clname)-
233{-
234 if (!_clname) return nullptr;-
235 if (!strcmp(_clname, qt_meta_stringdata_QQuickGridMesh.stringdata0))-
236 return static_cast<void*>(this);-
237 return QQuickShaderEffectMesh::qt_metacast(_clname);-
238}-
239-
240int QQuickGridMesh::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
241{-
242 _id = QQuickShaderEffectMesh::qt_metacall(_c, _id, _a);-
243 if (_id < 0)-
244 return _id;-
245 if (_c == QMetaObject::InvokeMetaMethod) {-
246 if (_id < 1)-
247 qt_static_metacall(this, _c, _id, _a);-
248 _id -= 1;-
249 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
250 if (_id < 1)-
251 *reinterpret_cast<int*>(_a[0]) = -1;-
252 _id -= 1;-
253 }-
254#ifndef QT_NO_PROPERTIES-
255 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
256 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
257 qt_static_metacall(this, _c, _id, _a);-
258 _id -= 1;-
259 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
260 _id -= 1;-
261 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
262 _id -= 1;-
263 } else if (_c == QMetaObject::QueryPropertyStored) {-
264 _id -= 1;-
265 } else if (_c == QMetaObject::QueryPropertyEditable) {-
266 _id -= 1;-
267 } else if (_c == QMetaObject::QueryPropertyUser) {-
268 _id -= 1;-
269 }-
270#endif // QT_NO_PROPERTIES-
271 return _id;-
272}-
273-
274// SIGNAL 0-
275void QQuickGridMesh::resolutionChanged()-
276{-
277 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
278}
never executed: end of block
0
279struct qt_meta_stringdata_QQuickBorderImageMesh_t {-
280 QByteArrayData data[14];-
281 char stringdata0[180];-
282};-
283#define QT_MOC_LITERAL(idx, ofs, len) \-
284 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
285 qptrdiff(offsetof(qt_meta_stringdata_QQuickBorderImageMesh_t, stringdata0) + ofs \-
286 - idx * sizeof(QByteArrayData)) \-
287 )-
288static const qt_meta_stringdata_QQuickBorderImageMesh_t qt_meta_stringdata_QQuickBorderImageMesh = {-
289 {-
290QT_MOC_LITERAL(0, 0, 21), // "QQuickBorderImageMesh"-
291QT_MOC_LITERAL(1, 22, 11), // "sizeChanged"-
292QT_MOC_LITERAL(2, 34, 0), // ""-
293QT_MOC_LITERAL(3, 35, 25), // "horizontalTileModeChanged"-
294QT_MOC_LITERAL(4, 61, 23), // "verticalTileModeChanged"-
295QT_MOC_LITERAL(5, 85, 6), // "border"-
296QT_MOC_LITERAL(6, 92, 16), // "QQuickScaleGrid*"-
297QT_MOC_LITERAL(7, 109, 4), // "size"-
298QT_MOC_LITERAL(8, 114, 18), // "horizontalTileMode"-
299QT_MOC_LITERAL(9, 133, 8), // "TileMode"-
300QT_MOC_LITERAL(10, 142, 16), // "verticalTileMode"-
301QT_MOC_LITERAL(11, 159, 7), // "Stretch"-
302QT_MOC_LITERAL(12, 167, 6), // "Repeat"-
303QT_MOC_LITERAL(13, 174, 5) // "Round"-
304-
305 },-
306 "QQuickBorderImageMesh\0sizeChanged\0\0"-
307 "horizontalTileModeChanged\0"-
308 "verticalTileModeChanged\0border\0"-
309 "QQuickScaleGrid*\0size\0horizontalTileMode\0"-
310 "TileMode\0verticalTileMode\0Stretch\0"-
311 "Repeat\0Round"-
312};-
313#undef QT_MOC_LITERAL-
314-
315static const uint qt_meta_data_QQuickBorderImageMesh[] = {-
316-
317 // content:-
318 7, // revision-
319 0, // classname-
320 0, 0, // classinfo-
321 3, 14, // methods-
322 4, 32, // properties-
323 1, 48, // enums/sets-
324 0, 0, // constructors-
325 0, // flags-
326 3, // signalCount-
327-
328 // signals: name, argc, parameters, tag, flags-
329 1, 0, 29, 2, 0x06 /* Public */,-
330 3, 0, 30, 2, 0x06 /* Public */,-
331 4, 0, 31, 2, 0x06 /* Public */,-
332-
333 // signals: parameters-
334 QMetaType::Void,-
335 QMetaType::Void,-
336 QMetaType::Void,-
337-
338 // properties: name, type, flags-
339 5, 0x80000000 | 6, 0x00095409,-
340 7, QMetaType::QSize, 0x00495103,-
341 8, 0x80000000 | 9, 0x0049510b,-
342 10, 0x80000000 | 9, 0x0049510b,-
343-
344 // properties: notify_signal_id-
345 0,-
346 0,-
347 1,-
348 2,-
349-
350 // enums: name, flags, count, data-
351 9, 0x0, 3, 52,-
352-
353 // enum data: key, value-
354 11, uint(QQuickBorderImageMesh::Stretch),-
355 12, uint(QQuickBorderImageMesh::Repeat),-
356 13, uint(QQuickBorderImageMesh::Round),-
357-
358 0 // eod-
359};-
360-
361void QQuickBorderImageMesh::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
362{-
363 if (_c == QMetaObject::InvokeMetaMethod) {-
364 QQuickBorderImageMesh *_t = static_cast<QQuickBorderImageMesh *>(_o);-
365 Q_UNUSED(_t)-
366 switch (_id) {-
367 case 0: _t->sizeChanged(); break;-
368 case 1: _t->horizontalTileModeChanged(); break;-
369 case 2: _t->verticalTileModeChanged(); break;-
370 default: ;-
371 }-
372 } else if (_c == QMetaObject::IndexOfMethod) {-
373 int *result = reinterpret_cast<int *>(_a[0]);-
374 {-
375 using _t = void (QQuickBorderImageMesh::*)();-
376 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickBorderImageMesh::sizeChanged)) {-
377 *result = 0;-
378 return;-
379 }-
380 }-
381 {-
382 using _t = void (QQuickBorderImageMesh::*)();-
383 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickBorderImageMesh::horizontalTileModeChanged)) {-
384 *result = 1;-
385 return;-
386 }-
387 }-
388 {-
389 using _t = void (QQuickBorderImageMesh::*)();-
390 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickBorderImageMesh::verticalTileModeChanged)) {-
391 *result = 2;-
392 return;-
393 }-
394 }-
395 }-
396#ifndef QT_NO_PROPERTIES-
397 else if (_c == QMetaObject::ReadProperty) {-
398 QQuickBorderImageMesh *_t = static_cast<QQuickBorderImageMesh *>(_o);-
399 Q_UNUSED(_t)-
400 void *_v = _a[0];-
401 switch (_id) {-
402 case 0: *reinterpret_cast< QQuickScaleGrid**>(_v) = _t->border(); break;-
403 case 1: *reinterpret_cast< QSize*>(_v) = _t->size(); break;-
404 case 2: *reinterpret_cast< TileMode*>(_v) = _t->horizontalTileMode(); break;-
405 case 3: *reinterpret_cast< TileMode*>(_v) = _t->verticalTileMode(); break;-
406 default: break;-
407 }-
408 } else if (_c == QMetaObject::WriteProperty) {-
409 QQuickBorderImageMesh *_t = static_cast<QQuickBorderImageMesh *>(_o);-
410 Q_UNUSED(_t)-
411 void *_v = _a[0];-
412 switch (_id) {-
413 case 1: _t->setSize(*reinterpret_cast< QSize*>(_v)); break;-
414 case 2: _t->setHorizontalTileMode(*reinterpret_cast< TileMode*>(_v)); break;-
415 case 3: _t->setVerticalTileMode(*reinterpret_cast< TileMode*>(_v)); break;-
416 default: break;-
417 }-
418 } else if (_c == QMetaObject::ResetProperty) {-
419 }-
420#endif // QT_NO_PROPERTIES-
421 Q_UNUSED(_a);-
422}-
423-
424QT_INIT_METAOBJECT const QMetaObject QQuickBorderImageMesh::staticMetaObject = {-
425 { &QQuickShaderEffectMesh::staticMetaObject, qt_meta_stringdata_QQuickBorderImageMesh.data,-
426 qt_meta_data_QQuickBorderImageMesh, qt_static_metacall, nullptr, nullptr}-
427};-
428-
429-
430const QMetaObject *QQuickBorderImageMesh::metaObject() const-
431{-
432 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
433}-
434-
435void *QQuickBorderImageMesh::qt_metacast(const char *_clname)-
436{-
437 if (!_clname) return nullptr;-
438 if (!strcmp(_clname, qt_meta_stringdata_QQuickBorderImageMesh.stringdata0))-
439 return static_cast<void*>(this);-
440 return QQuickShaderEffectMesh::qt_metacast(_clname);-
441}-
442-
443int QQuickBorderImageMesh::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
444{-
445 _id = QQuickShaderEffectMesh::qt_metacall(_c, _id, _a);-
446 if (_id < 0)-
447 return _id;-
448 if (_c == QMetaObject::InvokeMetaMethod) {-
449 if (_id < 3)-
450 qt_static_metacall(this, _c, _id, _a);-
451 _id -= 3;-
452 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
453 if (_id < 3)-
454 *reinterpret_cast<int*>(_a[0]) = -1;-
455 _id -= 3;-
456 }-
457#ifndef QT_NO_PROPERTIES-
458 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
459 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
460 qt_static_metacall(this, _c, _id, _a);-
461 _id -= 4;-
462 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
463 _id -= 4;-
464 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
465 _id -= 4;-
466 } else if (_c == QMetaObject::QueryPropertyStored) {-
467 _id -= 4;-
468 } else if (_c == QMetaObject::QueryPropertyEditable) {-
469 _id -= 4;-
470 } else if (_c == QMetaObject::QueryPropertyUser) {-
471 _id -= 4;-
472 }-
473#endif // QT_NO_PROPERTIES-
474 return _id;-
475}-
476-
477// SIGNAL 0-
478void QQuickBorderImageMesh::sizeChanged()-
479{-
480 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
481}
executed 4 times by 1 test: end of block
Executed by:
  • tst_qquickborderimage
4
482-
483// SIGNAL 1-
484void QQuickBorderImageMesh::horizontalTileModeChanged()-
485{-
486 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
487}
never executed: end of block
0
488-
489// SIGNAL 2-
490void QQuickBorderImageMesh::verticalTileModeChanged()-
491{-
492 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
493}
never executed: end of block
0
494QT_WARNING_POP-
495QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0