Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickshadereffect_p.cpp |
Source code | Switch to Preprocessed file |
Line | Source | Count |
---|---|---|
1 | /**************************************************************************** | - |
2 | ** Meta object code from reading C++ file 'qquickshadereffect_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/qquickshadereffect_p.h" | - |
10 | #include <QtCore/qbytearray.h> | - |
11 | #include <QtCore/qmetatype.h> | - |
12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
13 | #error "The header file 'qquickshadereffect_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 | - | |
20 | QT_BEGIN_MOC_NAMESPACE | - |
21 | QT_WARNING_PUSH | - |
22 | QT_WARNING_DISABLE_DEPRECATED | - |
23 | struct qt_meta_stringdata_QQuickShaderEffect_t { | - |
24 | QByteArrayData data[26]; | - |
25 | char stringdata0[329]; | - |
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_QQuickShaderEffect_t, stringdata0) + ofs \ | - |
30 | - idx * sizeof(QByteArrayData)) \ | - |
31 | ) | - |
32 | static const qt_meta_stringdata_QQuickShaderEffect_t qt_meta_stringdata_QQuickShaderEffect = { | - |
33 | { | - |
34 | QT_MOC_LITERAL(0, 0, 18), // "QQuickShaderEffect" | - |
35 | QT_MOC_LITERAL(1, 19, 21), // "fragmentShaderChanged" | - |
36 | QT_MOC_LITERAL(2, 41, 0), // "" | - |
37 | QT_MOC_LITERAL(3, 42, 19), // "vertexShaderChanged" | - |
38 | QT_MOC_LITERAL(4, 62, 15), // "blendingChanged" | - |
39 | QT_MOC_LITERAL(5, 78, 11), // "meshChanged" | - |
40 | QT_MOC_LITERAL(6, 90, 15), // "cullModeChanged" | - |
41 | QT_MOC_LITERAL(7, 106, 10), // "logChanged" | - |
42 | QT_MOC_LITERAL(8, 117, 13), // "statusChanged" | - |
43 | QT_MOC_LITERAL(9, 131, 28), // "supportsAtlasTexturesChanged" | - |
44 | QT_MOC_LITERAL(10, 160, 14), // "fragmentShader" | - |
45 | QT_MOC_LITERAL(11, 175, 12), // "vertexShader" | - |
46 | QT_MOC_LITERAL(12, 188, 8), // "blending" | - |
47 | QT_MOC_LITERAL(13, 197, 4), // "mesh" | - |
48 | QT_MOC_LITERAL(14, 202, 8), // "cullMode" | - |
49 | QT_MOC_LITERAL(15, 211, 8), // "CullMode" | - |
50 | QT_MOC_LITERAL(16, 220, 3), // "log" | - |
51 | QT_MOC_LITERAL(17, 224, 6), // "status" | - |
52 | QT_MOC_LITERAL(18, 231, 6), // "Status" | - |
53 | QT_MOC_LITERAL(19, 238, 21), // "supportsAtlasTextures" | - |
54 | QT_MOC_LITERAL(20, 260, 9), // "NoCulling" | - |
55 | QT_MOC_LITERAL(21, 270, 15), // "BackFaceCulling" | - |
56 | QT_MOC_LITERAL(22, 286, 16), // "FrontFaceCulling" | - |
57 | QT_MOC_LITERAL(23, 303, 8), // "Compiled" | - |
58 | QT_MOC_LITERAL(24, 312, 10), // "Uncompiled" | - |
59 | QT_MOC_LITERAL(25, 323, 5) // "Error" | - |
60 | - | |
61 | }, | - |
62 | "QQuickShaderEffect\0fragmentShaderChanged\0" | - |
63 | "\0vertexShaderChanged\0blendingChanged\0" | - |
64 | "meshChanged\0cullModeChanged\0logChanged\0" | - |
65 | "statusChanged\0supportsAtlasTexturesChanged\0" | - |
66 | "fragmentShader\0vertexShader\0blending\0" | - |
67 | "mesh\0cullMode\0CullMode\0log\0status\0" | - |
68 | "Status\0supportsAtlasTextures\0NoCulling\0" | - |
69 | "BackFaceCulling\0FrontFaceCulling\0" | - |
70 | "Compiled\0Uncompiled\0Error" | - |
71 | }; | - |
72 | #undef QT_MOC_LITERAL | - |
73 | - | |
74 | static const uint qt_meta_data_QQuickShaderEffect[] = { | - |
75 | - | |
76 | // content: | - |
77 | 7, // revision | - |
78 | 0, // classname | - |
79 | 0, 0, // classinfo | - |
80 | 8, 14, // methods | - |
81 | 8, 62, // properties | - |
82 | 2, 102, // enums/sets | - |
83 | 0, 0, // constructors | - |
84 | 0, // flags | - |
85 | 8, // signalCount | - |
86 | - | |
87 | // signals: name, argc, parameters, tag, flags | - |
88 | 1, 0, 54, 2, 0x06 /* Public */, | - |
89 | 3, 0, 55, 2, 0x06 /* Public */, | - |
90 | 4, 0, 56, 2, 0x06 /* Public */, | - |
91 | 5, 0, 57, 2, 0x06 /* Public */, | - |
92 | 6, 0, 58, 2, 0x06 /* Public */, | - |
93 | 7, 0, 59, 2, 0x06 /* Public */, | - |
94 | 8, 0, 60, 2, 0x06 /* Public */, | - |
95 | 9, 0, 61, 2, 0x06 /* Public */, | - |
96 | - | |
97 | // signals: parameters | - |
98 | QMetaType::Void, | - |
99 | QMetaType::Void, | - |
100 | QMetaType::Void, | - |
101 | QMetaType::Void, | - |
102 | QMetaType::Void, | - |
103 | QMetaType::Void, | - |
104 | QMetaType::Void, | - |
105 | QMetaType::Void, | - |
106 | - | |
107 | // properties: name, type, flags | - |
108 | 10, QMetaType::QByteArray, 0x00495103, | - |
109 | 11, QMetaType::QByteArray, 0x00495103, | - |
110 | 12, QMetaType::Bool, 0x00495103, | - |
111 | 13, QMetaType::QVariant, 0x00495103, | - |
112 | 14, 0x80000000 | 15, 0x0049510b, | - |
113 | 16, QMetaType::QString, 0x00495001, | - |
114 | 17, 0x80000000 | 18, 0x00495009, | - |
115 | 19, QMetaType::Bool, 0x00c95103, | - |
116 | - | |
117 | // properties: notify_signal_id | - |
118 | 0, | - |
119 | 1, | - |
120 | 2, | - |
121 | 3, | - |
122 | 4, | - |
123 | 5, | - |
124 | 6, | - |
125 | 7, | - |
126 | - | |
127 | // properties: revision | - |
128 | 0, | - |
129 | 0, | - |
130 | 0, | - |
131 | 0, | - |
132 | 0, | - |
133 | 0, | - |
134 | 0, | - |
135 | 1, | - |
136 | - | |
137 | // enums: name, flags, count, data | - |
138 | 15, 0x0, 3, 110, | - |
139 | 18, 0x0, 3, 116, | - |
140 | - | |
141 | // enum data: key, value | - |
142 | 20, uint(QQuickShaderEffect::NoCulling), | - |
143 | 21, uint(QQuickShaderEffect::BackFaceCulling), | - |
144 | 22, uint(QQuickShaderEffect::FrontFaceCulling), | - |
145 | 23, uint(QQuickShaderEffect::Compiled), | - |
146 | 24, uint(QQuickShaderEffect::Uncompiled), | - |
147 | 25, uint(QQuickShaderEffect::Error), | - |
148 | - | |
149 | 0 // eod | - |
150 | }; | - |
151 | - | |
152 | void QQuickShaderEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
153 | { | - |
154 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
155 | QQuickShaderEffect *_t = static_cast<QQuickShaderEffect *>(_o); | - |
156 | Q_UNUSED(_t) | - |
157 | switch (_id) { | - |
158 | case 0: _t->fragmentShaderChanged(); break; | - |
159 | case 1: _t->vertexShaderChanged(); break; | - |
160 | case 2: _t->blendingChanged(); break; | - |
161 | case 3: _t->meshChanged(); break; | - |
162 | case 4: _t->cullModeChanged(); break; | - |
163 | case 5: _t->logChanged(); break; | - |
164 | case 6: _t->statusChanged(); break; | - |
165 | case 7: _t->supportsAtlasTexturesChanged(); break; | - |
166 | default: ; | - |
167 | } | - |
168 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
169 | int *result = reinterpret_cast<int *>(_a[0]); | - |
170 | { | - |
171 | using _t = void (QQuickShaderEffect::*)(); | - |
172 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShaderEffect::fragmentShaderChanged)) { | - |
173 | *result = 0; | - |
174 | return; | - |
175 | } | - |
176 | } | - |
177 | { | - |
178 | using _t = void (QQuickShaderEffect::*)(); | - |
179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShaderEffect::vertexShaderChanged)) { | - |
180 | *result = 1; | - |
181 | return; | - |
182 | } | - |
183 | } | - |
184 | { | - |
185 | using _t = void (QQuickShaderEffect::*)(); | - |
186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShaderEffect::blendingChanged)) { | - |
187 | *result = 2; | - |
188 | return; | - |
189 | } | - |
190 | } | - |
191 | { | - |
192 | using _t = void (QQuickShaderEffect::*)(); | - |
193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShaderEffect::meshChanged)) { | - |
194 | *result = 3; | - |
195 | return; | - |
196 | } | - |
197 | } | - |
198 | { | - |
199 | using _t = void (QQuickShaderEffect::*)(); | - |
200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShaderEffect::cullModeChanged)) { | - |
201 | *result = 4; | - |
202 | return; | - |
203 | } | - |
204 | } | - |
205 | { | - |
206 | using _t = void (QQuickShaderEffect::*)(); | - |
207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShaderEffect::logChanged)) { | - |
208 | *result = 5; | - |
209 | return; | - |
210 | } | - |
211 | } | - |
212 | { | - |
213 | using _t = void (QQuickShaderEffect::*)(); | - |
214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShaderEffect::statusChanged)) { | - |
215 | *result = 6; | - |
216 | return; | - |
217 | } | - |
218 | } | - |
219 | { | - |
220 | using _t = void (QQuickShaderEffect::*)(); | - |
221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShaderEffect::supportsAtlasTexturesChanged)) { | - |
222 | *result = 7; | - |
223 | return; | - |
224 | } | - |
225 | } | - |
226 | } | - |
227 | #ifndef QT_NO_PROPERTIES | - |
228 | else if (_c == QMetaObject::ReadProperty) { | - |
229 | QQuickShaderEffect *_t = static_cast<QQuickShaderEffect *>(_o); | - |
230 | Q_UNUSED(_t) | - |
231 | void *_v = _a[0]; | - |
232 | switch (_id) { | - |
233 | case 0: *reinterpret_cast< QByteArray*>(_v) = _t->fragmentShader(); break; | - |
234 | case 1: *reinterpret_cast< QByteArray*>(_v) = _t->vertexShader(); break; | - |
235 | case 2: *reinterpret_cast< bool*>(_v) = _t->blending(); break; | - |
236 | case 3: *reinterpret_cast< QVariant*>(_v) = _t->mesh(); break; | - |
237 | case 4: *reinterpret_cast< CullMode*>(_v) = _t->cullMode(); break; | - |
238 | case 5: *reinterpret_cast< QString*>(_v) = _t->log(); break; | - |
239 | case 6: *reinterpret_cast< Status*>(_v) = _t->status(); break; | - |
240 | case 7: *reinterpret_cast< bool*>(_v) = _t->supportsAtlasTextures(); break; | - |
241 | default: break; | - |
242 | } | - |
243 | } else if (_c == QMetaObject::WriteProperty) { | - |
244 | QQuickShaderEffect *_t = static_cast<QQuickShaderEffect *>(_o); | - |
245 | Q_UNUSED(_t) | - |
246 | void *_v = _a[0]; | - |
247 | switch (_id) { | - |
248 | case 0: _t->setFragmentShader(*reinterpret_cast< QByteArray*>(_v)); break; | - |
249 | case 1: _t->setVertexShader(*reinterpret_cast< QByteArray*>(_v)); break; | - |
250 | case 2: _t->setBlending(*reinterpret_cast< bool*>(_v)); break; | - |
251 | case 3: _t->setMesh(*reinterpret_cast< QVariant*>(_v)); break; | - |
252 | case 4: _t->setCullMode(*reinterpret_cast< CullMode*>(_v)); break; | - |
253 | case 7: _t->setSupportsAtlasTextures(*reinterpret_cast< bool*>(_v)); break; | - |
254 | default: break; | - |
255 | } | - |
256 | } else if (_c == QMetaObject::ResetProperty) { | - |
257 | } | - |
258 | #endif // QT_NO_PROPERTIES | - |
259 | Q_UNUSED(_a); | - |
260 | } | - |
261 | - | |
262 | QT_INIT_METAOBJECT const QMetaObject QQuickShaderEffect::staticMetaObject = { | - |
263 | { &QQuickItem::staticMetaObject, qt_meta_stringdata_QQuickShaderEffect.data, | - |
264 | qt_meta_data_QQuickShaderEffect, qt_static_metacall, nullptr, nullptr} | - |
265 | }; | - |
266 | - | |
267 | - | |
268 | const QMetaObject *QQuickShaderEffect::metaObject() const | - |
269 | { | - |
270 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
271 | } | - |
272 | - | |
273 | void *QQuickShaderEffect::qt_metacast(const char *_clname) | - |
274 | { | - |
275 | if (!_clname) return nullptr; | - |
276 | if (!strcmp(_clname, qt_meta_stringdata_QQuickShaderEffect.stringdata0)) | - |
277 | return static_cast<void*>(this); | - |
278 | return QQuickItem::qt_metacast(_clname); | - |
279 | } | - |
280 | - | |
281 | int QQuickShaderEffect::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
282 | { | - |
283 | _id = QQuickItem::qt_metacall(_c, _id, _a); | - |
284 | if (_id < 0) | - |
285 | return _id; | - |
286 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
287 | if (_id < 8) | - |
288 | qt_static_metacall(this, _c, _id, _a); | - |
289 | _id -= 8; | - |
290 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
291 | if (_id < 8) | - |
292 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
293 | _id -= 8; | - |
294 | } | - |
295 | #ifndef QT_NO_PROPERTIES | - |
296 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
297 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
298 | qt_static_metacall(this, _c, _id, _a); | - |
299 | _id -= 8; | - |
300 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
301 | _id -= 8; | - |
302 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
303 | _id -= 8; | - |
304 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
305 | _id -= 8; | - |
306 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
307 | _id -= 8; | - |
308 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
309 | _id -= 8; | - |
310 | } | - |
311 | #endif // QT_NO_PROPERTIES | - |
312 | return _id; | - |
313 | } | - |
314 | - | |
315 | // SIGNAL 0 | - |
316 | void QQuickShaderEffect::fragmentShaderChanged() | - |
317 | { | - |
318 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
319 | } executed 100 times by 4 tests: end of block Executed by:
| 100 |
320 | - | |
321 | // SIGNAL 1 | - |
322 | void QQuickShaderEffect::vertexShaderChanged() | - |
323 | { | - |
324 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
325 | } executed 36 times by 1 test: end of block Executed by:
| 36 |
326 | - | |
327 | // SIGNAL 2 | - |
328 | void QQuickShaderEffect::blendingChanged() | - |
329 | { | - |
330 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
331 | } never executed: end of block | 0 |
332 | - | |
333 | // SIGNAL 3 | - |
334 | void QQuickShaderEffect::meshChanged() | - |
335 | { | - |
336 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
337 | } executed 2 times by 1 test: end of block Executed by:
| 2 |
338 | - | |
339 | // SIGNAL 4 | - |
340 | void QQuickShaderEffect::cullModeChanged() | - |
341 | { | - |
342 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
343 | } never executed: end of block | 0 |
344 | - | |
345 | // SIGNAL 5 | - |
346 | void QQuickShaderEffect::logChanged() | - |
347 | { | - |
348 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | - |
349 | } executed 54 times by 5 tests: end of block Executed by:
| 54 |
350 | - | |
351 | // SIGNAL 6 | - |
352 | void QQuickShaderEffect::statusChanged() | - |
353 | { | - |
354 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | - |
355 | } executed 54 times by 5 tests: end of block Executed by:
| 54 |
356 | - | |
357 | // SIGNAL 7 | - |
358 | void QQuickShaderEffect::supportsAtlasTexturesChanged() | - |
359 | { | - |
360 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); | - |
361 | } executed 4 times by 1 test: end of block Executed by:
| 4 |
362 | QT_WARNING_POP | - |
363 | QT_END_MOC_NAMESPACE | - |
Source code | Switch to Preprocessed file |