OpenCoverage

moc_qquickshapegenericrenderer_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickshapes/.moc/moc_qquickshapegenericrenderer_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickshapegenericrenderer_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 "../qquickshapegenericrenderer_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickshapegenericrenderer_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_QQuickShapeFillRunnable_t {-
24 QByteArrayData data[5];-
25 char stringdata0[60];-
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_QQuickShapeFillRunnable_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickShapeFillRunnable_t qt_meta_stringdata_QQuickShapeFillRunnable = {-
33 {-
34QT_MOC_LITERAL(0, 0, 23), // "QQuickShapeFillRunnable"-
35QT_MOC_LITERAL(1, 24, 4), // "done"-
36QT_MOC_LITERAL(2, 29, 0), // ""-
37QT_MOC_LITERAL(3, 30, 24), // "QQuickShapeFillRunnable*"-
38QT_MOC_LITERAL(4, 55, 4) // "self"-
39-
40 },-
41 "QQuickShapeFillRunnable\0done\0\0"-
42 "QQuickShapeFillRunnable*\0self"-
43};-
44#undef QT_MOC_LITERAL-
45-
46static const uint qt_meta_data_QQuickShapeFillRunnable[] = {-
47-
48 // content:-
49 7, // revision-
50 0, // classname-
51 0, 0, // classinfo-
52 1, 14, // methods-
53 0, 0, // properties-
54 0, 0, // enums/sets-
55 0, 0, // constructors-
56 0, // flags-
57 1, // signalCount-
58-
59 // signals: name, argc, parameters, tag, flags-
60 1, 1, 19, 2, 0x06 /* Public */,-
61-
62 // signals: parameters-
63 QMetaType::Void, 0x80000000 | 3, 4,-
64-
65 0 // eod-
66};-
67-
68void QQuickShapeFillRunnable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
69{-
70 if (_c == QMetaObject::InvokeMetaMethod) {-
71 QQuickShapeFillRunnable *_t = static_cast<QQuickShapeFillRunnable *>(_o);-
72 Q_UNUSED(_t)-
73 switch (_id) {-
74 case 0: _t->done((*reinterpret_cast< QQuickShapeFillRunnable*(*)>(_a[1]))); break;-
75 default: ;-
76 }-
77 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
78 switch (_id) {-
79 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
80 case 0:-
81 switch (*reinterpret_cast<int*>(_a[1])) {-
82 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
83 case 0:-
84 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickShapeFillRunnable* >(); break;-
85 }-
86 break;-
87 }-
88 } else if (_c == QMetaObject::IndexOfMethod) {-
89 int *result = reinterpret_cast<int *>(_a[0]);-
90 {-
91 using _t = void (QQuickShapeFillRunnable::*)(QQuickShapeFillRunnable * );-
92 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeFillRunnable::done)) {-
93 *result = 0;-
94 return;-
95 }-
96 }-
97 }-
98}-
99-
100QT_INIT_METAOBJECT const QMetaObject QQuickShapeFillRunnable::staticMetaObject = {-
101 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickShapeFillRunnable.data,-
102 qt_meta_data_QQuickShapeFillRunnable, qt_static_metacall, nullptr, nullptr}-
103};-
104-
105-
106const QMetaObject *QQuickShapeFillRunnable::metaObject() const-
107{-
108 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
109}-
110-
111void *QQuickShapeFillRunnable::qt_metacast(const char *_clname)-
112{-
113 if (!_clname) return nullptr;-
114 if (!strcmp(_clname, qt_meta_stringdata_QQuickShapeFillRunnable.stringdata0))-
115 return static_cast<void*>(this);-
116 if (!strcmp(_clname, "QRunnable"))-
117 return static_cast< QRunnable*>(this);-
118 return QObject::qt_metacast(_clname);-
119}-
120-
121int QQuickShapeFillRunnable::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
122{-
123 _id = QObject::qt_metacall(_c, _id, _a);-
124 if (_id < 0)-
125 return _id;-
126 if (_c == QMetaObject::InvokeMetaMethod) {-
127 if (_id < 1)-
128 qt_static_metacall(this, _c, _id, _a);-
129 _id -= 1;-
130 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
131 if (_id < 1)-
132 qt_static_metacall(this, _c, _id, _a);-
133 _id -= 1;-
134 }-
135 return _id;-
136}-
137-
138// SIGNAL 0-
139void QQuickShapeFillRunnable::done(QQuickShapeFillRunnable * _t1)-
140{-
141 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
142 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
143}
executed 904 times by 1 test: end of block
Executed by:
  • tst_examples
904
144struct qt_meta_stringdata_QQuickShapeStrokeRunnable_t {-
145 QByteArrayData data[5];-
146 char stringdata0[64];-
147};-
148#define QT_MOC_LITERAL(idx, ofs, len) \-
149 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
150 qptrdiff(offsetof(qt_meta_stringdata_QQuickShapeStrokeRunnable_t, stringdata0) + ofs \-
151 - idx * sizeof(QByteArrayData)) \-
152 )-
153static const qt_meta_stringdata_QQuickShapeStrokeRunnable_t qt_meta_stringdata_QQuickShapeStrokeRunnable = {-
154 {-
155QT_MOC_LITERAL(0, 0, 25), // "QQuickShapeStrokeRunnable"-
156QT_MOC_LITERAL(1, 26, 4), // "done"-
157QT_MOC_LITERAL(2, 31, 0), // ""-
158QT_MOC_LITERAL(3, 32, 26), // "QQuickShapeStrokeRunnable*"-
159QT_MOC_LITERAL(4, 59, 4) // "self"-
160-
161 },-
162 "QQuickShapeStrokeRunnable\0done\0\0"-
163 "QQuickShapeStrokeRunnable*\0self"-
164};-
165#undef QT_MOC_LITERAL-
166-
167static const uint qt_meta_data_QQuickShapeStrokeRunnable[] = {-
168-
169 // content:-
170 7, // revision-
171 0, // classname-
172 0, 0, // classinfo-
173 1, 14, // methods-
174 0, 0, // properties-
175 0, 0, // enums/sets-
176 0, 0, // constructors-
177 0, // flags-
178 1, // signalCount-
179-
180 // signals: name, argc, parameters, tag, flags-
181 1, 1, 19, 2, 0x06 /* Public */,-
182-
183 // signals: parameters-
184 QMetaType::Void, 0x80000000 | 3, 4,-
185-
186 0 // eod-
187};-
188-
189void QQuickShapeStrokeRunnable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
190{-
191 if (_c == QMetaObject::InvokeMetaMethod) {-
192 QQuickShapeStrokeRunnable *_t = static_cast<QQuickShapeStrokeRunnable *>(_o);-
193 Q_UNUSED(_t)-
194 switch (_id) {-
195 case 0: _t->done((*reinterpret_cast< QQuickShapeStrokeRunnable*(*)>(_a[1]))); break;-
196 default: ;-
197 }-
198 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
199 switch (_id) {-
200 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
201 case 0:-
202 switch (*reinterpret_cast<int*>(_a[1])) {-
203 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
204 case 0:-
205 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickShapeStrokeRunnable* >(); break;-
206 }-
207 break;-
208 }-
209 } else if (_c == QMetaObject::IndexOfMethod) {-
210 int *result = reinterpret_cast<int *>(_a[0]);-
211 {-
212 using _t = void (QQuickShapeStrokeRunnable::*)(QQuickShapeStrokeRunnable * );-
213 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeStrokeRunnable::done)) {-
214 *result = 0;-
215 return;-
216 }-
217 }-
218 }-
219}-
220-
221QT_INIT_METAOBJECT const QMetaObject QQuickShapeStrokeRunnable::staticMetaObject = {-
222 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickShapeStrokeRunnable.data,-
223 qt_meta_data_QQuickShapeStrokeRunnable, qt_static_metacall, nullptr, nullptr}-
224};-
225-
226-
227const QMetaObject *QQuickShapeStrokeRunnable::metaObject() const-
228{-
229 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
230}-
231-
232void *QQuickShapeStrokeRunnable::qt_metacast(const char *_clname)-
233{-
234 if (!_clname) return nullptr;-
235 if (!strcmp(_clname, qt_meta_stringdata_QQuickShapeStrokeRunnable.stringdata0))-
236 return static_cast<void*>(this);-
237 if (!strcmp(_clname, "QRunnable"))-
238 return static_cast< QRunnable*>(this);-
239 return QObject::qt_metacast(_clname);-
240}-
241-
242int QQuickShapeStrokeRunnable::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
243{-
244 _id = QObject::qt_metacall(_c, _id, _a);-
245 if (_id < 0)-
246 return _id;-
247 if (_c == QMetaObject::InvokeMetaMethod) {-
248 if (_id < 1)-
249 qt_static_metacall(this, _c, _id, _a);-
250 _id -= 1;-
251 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
252 if (_id < 1)-
253 qt_static_metacall(this, _c, _id, _a);-
254 _id -= 1;-
255 }-
256 return _id;-
257}-
258-
259// SIGNAL 0-
260void QQuickShapeStrokeRunnable::done(QQuickShapeStrokeRunnable * _t1)-
261{-
262 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
263 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
264}
executed 312 times by 1 test: end of block
Executed by:
  • tst_examples
312
265QT_WARNING_POP-
266QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0