OpenCoverage

moc_qquickcontext2dtexture_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickcontext2dtexture_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickcontext2dtexture_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/context2d/qquickcontext2dtexture_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickcontext2dtexture_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_QQuickContext2DTexture_t {-
24 QByteArrayData data[19];-
25 char stringdata0[221];-
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_QQuickContext2DTexture_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickContext2DTexture_t qt_meta_stringdata_QQuickContext2DTexture = {-
33 {-
34QT_MOC_LITERAL(0, 0, 22), // "QQuickContext2DTexture"-
35QT_MOC_LITERAL(1, 23, 14), // "textureChanged"-
36QT_MOC_LITERAL(2, 38, 0), // ""-
37QT_MOC_LITERAL(3, 39, 13), // "canvasChanged"-
38QT_MOC_LITERAL(4, 53, 10), // "canvasSize"-
39QT_MOC_LITERAL(5, 64, 8), // "tileSize"-
40QT_MOC_LITERAL(6, 73, 12), // "canvasWindow"-
41QT_MOC_LITERAL(7, 86, 9), // "dirtyRect"-
42QT_MOC_LITERAL(8, 96, 6), // "smooth"-
43QT_MOC_LITERAL(9, 103, 12), // "antialiasing"-
44QT_MOC_LITERAL(10, 116, 5), // "paint"-
45QT_MOC_LITERAL(11, 122, 29), // "QQuickContext2DCommandBuffer*"-
46QT_MOC_LITERAL(12, 152, 3), // "ccb"-
47QT_MOC_LITERAL(13, 156, 16), // "markDirtyTexture"-
48QT_MOC_LITERAL(14, 173, 7), // "setItem"-
49QT_MOC_LITERAL(15, 181, 17), // "QQuickCanvasItem*"-
50QT_MOC_LITERAL(16, 199, 4), // "item"-
51QT_MOC_LITERAL(17, 204, 9), // "grabImage"-
52QT_MOC_LITERAL(18, 214, 6) // "region"-
53-
54 },-
55 "QQuickContext2DTexture\0textureChanged\0"-
56 "\0canvasChanged\0canvasSize\0tileSize\0"-
57 "canvasWindow\0dirtyRect\0smooth\0"-
58 "antialiasing\0paint\0QQuickContext2DCommandBuffer*\0"-
59 "ccb\0markDirtyTexture\0setItem\0"-
60 "QQuickCanvasItem*\0item\0grabImage\0"-
61 "region"-
62};-
63#undef QT_MOC_LITERAL-
64-
65static const uint qt_meta_data_QQuickContext2DTexture[] = {-
66-
67 // content:-
68 7, // revision-
69 0, // classname-
70 0, 0, // classinfo-
71 7, 14, // methods-
72 0, 0, // properties-
73 0, 0, // enums/sets-
74 0, 0, // constructors-
75 0, // flags-
76 1, // signalCount-
77-
78 // signals: name, argc, parameters, tag, flags-
79 1, 0, 49, 2, 0x06 /* Public */,-
80-
81 // slots: name, argc, parameters, tag, flags-
82 3, 6, 50, 2, 0x0a /* Public */,-
83 10, 1, 63, 2, 0x0a /* Public */,-
84 13, 0, 66, 2, 0x0a /* Public */,-
85 14, 1, 67, 2, 0x0a /* Public */,-
86 17, 1, 70, 2, 0x0a /* Public */,-
87 17, 0, 73, 2, 0x2a /* Public | MethodCloned */,-
88-
89 // signals: parameters-
90 QMetaType::Void,-
91-
92 // slots: parameters-
93 QMetaType::Void, QMetaType::QSize, QMetaType::QSize, QMetaType::QRect, QMetaType::QRect, QMetaType::Bool, QMetaType::Bool, 4, 5, 6, 7, 8, 9,-
94 QMetaType::Void, 0x80000000 | 11, 12,-
95 QMetaType::Void,-
96 QMetaType::Void, 0x80000000 | 15, 16,-
97 QMetaType::Void, QMetaType::QRectF, 18,-
98 QMetaType::Void,-
99-
100 0 // eod-
101};-
102-
103void QQuickContext2DTexture::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
104{-
105 if (_c == QMetaObject::InvokeMetaMethod) {-
106 QQuickContext2DTexture *_t = static_cast<QQuickContext2DTexture *>(_o);-
107 Q_UNUSED(_t)-
108 switch (_id) {-
109 case 0: _t->textureChanged(); break;-
110 case 1: _t->canvasChanged((*reinterpret_cast< const QSize(*)>(_a[1])),(*reinterpret_cast< const QSize(*)>(_a[2])),(*reinterpret_cast< const QRect(*)>(_a[3])),(*reinterpret_cast< const QRect(*)>(_a[4])),(*reinterpret_cast< bool(*)>(_a[5])),(*reinterpret_cast< bool(*)>(_a[6]))); break;-
111 case 2: _t->paint((*reinterpret_cast< QQuickContext2DCommandBuffer*(*)>(_a[1]))); break;-
112 case 3: _t->markDirtyTexture(); break;-
113 case 4: _t->setItem((*reinterpret_cast< QQuickCanvasItem*(*)>(_a[1]))); break;-
114 case 5: _t->grabImage((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;-
115 case 6: _t->grabImage(); break;-
116 default: ;-
117 }-
118 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
119 switch (_id) {-
120 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
121 case 4:-
122 switch (*reinterpret_cast<int*>(_a[1])) {-
123 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
124 case 0:-
125 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickCanvasItem* >(); break;-
126 }-
127 break;-
128 }-
129 } else if (_c == QMetaObject::IndexOfMethod) {-
130 int *result = reinterpret_cast<int *>(_a[0]);-
131 {-
132 using _t = void (QQuickContext2DTexture::*)();-
133 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickContext2DTexture::textureChanged)) {-
134 *result = 0;-
135 return;-
136 }-
137 }-
138 }-
139}-
140-
141QT_INIT_METAOBJECT const QMetaObject QQuickContext2DTexture::staticMetaObject = {-
142 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickContext2DTexture.data,-
143 qt_meta_data_QQuickContext2DTexture, qt_static_metacall, nullptr, nullptr}-
144};-
145-
146-
147const QMetaObject *QQuickContext2DTexture::metaObject() const-
148{-
149 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
150}-
151-
152void *QQuickContext2DTexture::qt_metacast(const char *_clname)-
153{-
154 if (!_clname) return nullptr;-
155 if (!strcmp(_clname, qt_meta_stringdata_QQuickContext2DTexture.stringdata0))-
156 return static_cast<void*>(this);-
157 return QObject::qt_metacast(_clname);-
158}-
159-
160int QQuickContext2DTexture::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
161{-
162 _id = QObject::qt_metacall(_c, _id, _a);-
163 if (_id < 0)-
164 return _id;-
165 if (_c == QMetaObject::InvokeMetaMethod) {-
166 if (_id < 7)-
167 qt_static_metacall(this, _c, _id, _a);-
168 _id -= 7;-
169 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
170 if (_id < 7)-
171 qt_static_metacall(this, _c, _id, _a);-
172 _id -= 7;-
173 }-
174 return _id;-
175}-
176-
177// SIGNAL 0-
178void QQuickContext2DTexture::textureChanged()-
179{-
180 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
181}
never executed: end of block
0
182struct qt_meta_stringdata_QQuickContext2DFBOTexture_t {-
183 QByteArrayData data[4];-
184 char stringdata0[44];-
185};-
186#define QT_MOC_LITERAL(idx, ofs, len) \-
187 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
188 qptrdiff(offsetof(qt_meta_stringdata_QQuickContext2DFBOTexture_t, stringdata0) + ofs \-
189 - idx * sizeof(QByteArrayData)) \-
190 )-
191static const qt_meta_stringdata_QQuickContext2DFBOTexture_t qt_meta_stringdata_QQuickContext2DFBOTexture = {-
192 {-
193QT_MOC_LITERAL(0, 0, 25), // "QQuickContext2DFBOTexture"-
194QT_MOC_LITERAL(1, 26, 9), // "grabImage"-
195QT_MOC_LITERAL(2, 36, 0), // ""-
196QT_MOC_LITERAL(3, 37, 6) // "region"-
197-
198 },-
199 "QQuickContext2DFBOTexture\0grabImage\0"-
200 "\0region"-
201};-
202#undef QT_MOC_LITERAL-
203-
204static const uint qt_meta_data_QQuickContext2DFBOTexture[] = {-
205-
206 // content:-
207 7, // revision-
208 0, // classname-
209 0, 0, // classinfo-
210 2, 14, // methods-
211 0, 0, // properties-
212 0, 0, // enums/sets-
213 0, 0, // constructors-
214 0, // flags-
215 0, // signalCount-
216-
217 // slots: name, argc, parameters, tag, flags-
218 1, 1, 24, 2, 0x0a /* Public */,-
219 1, 0, 27, 2, 0x2a /* Public | MethodCloned */,-
220-
221 // slots: parameters-
222 QMetaType::Void, QMetaType::QRectF, 3,-
223 QMetaType::Void,-
224-
225 0 // eod-
226};-
227-
228void QQuickContext2DFBOTexture::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
229{-
230 if (_c == QMetaObject::InvokeMetaMethod) {-
231 QQuickContext2DFBOTexture *_t = static_cast<QQuickContext2DFBOTexture *>(_o);-
232 Q_UNUSED(_t)-
233 switch (_id) {-
234 case 0: _t->grabImage((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;-
235 case 1: _t->grabImage(); break;-
236 default: ;-
237 }-
238 }-
239}-
240-
241QT_INIT_METAOBJECT const QMetaObject QQuickContext2DFBOTexture::staticMetaObject = {-
242 { &QQuickContext2DTexture::staticMetaObject, qt_meta_stringdata_QQuickContext2DFBOTexture.data,-
243 qt_meta_data_QQuickContext2DFBOTexture, qt_static_metacall, nullptr, nullptr}-
244};-
245-
246-
247const QMetaObject *QQuickContext2DFBOTexture::metaObject() const-
248{-
249 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
250}-
251-
252void *QQuickContext2DFBOTexture::qt_metacast(const char *_clname)-
253{-
254 if (!_clname) return nullptr;-
255 if (!strcmp(_clname, qt_meta_stringdata_QQuickContext2DFBOTexture.stringdata0))-
256 return static_cast<void*>(this);-
257 return QQuickContext2DTexture::qt_metacast(_clname);-
258}-
259-
260int QQuickContext2DFBOTexture::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
261{-
262 _id = QQuickContext2DTexture::qt_metacall(_c, _id, _a);-
263 if (_id < 0)-
264 return _id;-
265 if (_c == QMetaObject::InvokeMetaMethod) {-
266 if (_id < 2)-
267 qt_static_metacall(this, _c, _id, _a);-
268 _id -= 2;-
269 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
270 if (_id < 2)-
271 *reinterpret_cast<int*>(_a[0]) = -1;-
272 _id -= 2;-
273 }-
274 return _id;-
275}-
276struct qt_meta_stringdata_QQuickContext2DImageTexture_t {-
277 QByteArrayData data[4];-
278 char stringdata0[46];-
279};-
280#define QT_MOC_LITERAL(idx, ofs, len) \-
281 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
282 qptrdiff(offsetof(qt_meta_stringdata_QQuickContext2DImageTexture_t, stringdata0) + ofs \-
283 - idx * sizeof(QByteArrayData)) \-
284 )-
285static const qt_meta_stringdata_QQuickContext2DImageTexture_t qt_meta_stringdata_QQuickContext2DImageTexture = {-
286 {-
287QT_MOC_LITERAL(0, 0, 27), // "QQuickContext2DImageTexture"-
288QT_MOC_LITERAL(1, 28, 9), // "grabImage"-
289QT_MOC_LITERAL(2, 38, 0), // ""-
290QT_MOC_LITERAL(3, 39, 6) // "region"-
291-
292 },-
293 "QQuickContext2DImageTexture\0grabImage\0"-
294 "\0region"-
295};-
296#undef QT_MOC_LITERAL-
297-
298static const uint qt_meta_data_QQuickContext2DImageTexture[] = {-
299-
300 // content:-
301 7, // revision-
302 0, // classname-
303 0, 0, // classinfo-
304 2, 14, // methods-
305 0, 0, // properties-
306 0, 0, // enums/sets-
307 0, 0, // constructors-
308 0, // flags-
309 0, // signalCount-
310-
311 // slots: name, argc, parameters, tag, flags-
312 1, 1, 24, 2, 0x0a /* Public */,-
313 1, 0, 27, 2, 0x2a /* Public | MethodCloned */,-
314-
315 // slots: parameters-
316 QMetaType::Void, QMetaType::QRectF, 3,-
317 QMetaType::Void,-
318-
319 0 // eod-
320};-
321-
322void QQuickContext2DImageTexture::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
323{-
324 if (_c == QMetaObject::InvokeMetaMethod) {-
325 QQuickContext2DImageTexture *_t = static_cast<QQuickContext2DImageTexture *>(_o);-
326 Q_UNUSED(_t)-
327 switch (_id) {-
328 case 0: _t->grabImage((*reinterpret_cast< const QRectF(*)>(_a[1]))); break;-
329 case 1: _t->grabImage(); break;-
330 default: ;-
331 }-
332 }-
333}-
334-
335QT_INIT_METAOBJECT const QMetaObject QQuickContext2DImageTexture::staticMetaObject = {-
336 { &QQuickContext2DTexture::staticMetaObject, qt_meta_stringdata_QQuickContext2DImageTexture.data,-
337 qt_meta_data_QQuickContext2DImageTexture, qt_static_metacall, nullptr, nullptr}-
338};-
339-
340-
341const QMetaObject *QQuickContext2DImageTexture::metaObject() const-
342{-
343 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
344}-
345-
346void *QQuickContext2DImageTexture::qt_metacast(const char *_clname)-
347{-
348 if (!_clname) return nullptr;-
349 if (!strcmp(_clname, qt_meta_stringdata_QQuickContext2DImageTexture.stringdata0))-
350 return static_cast<void*>(this);-
351 return QQuickContext2DTexture::qt_metacast(_clname);-
352}-
353-
354int QQuickContext2DImageTexture::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
355{-
356 _id = QQuickContext2DTexture::qt_metacall(_c, _id, _a);-
357 if (_id < 0)-
358 return _id;-
359 if (_c == QMetaObject::InvokeMetaMethod) {-
360 if (_id < 2)-
361 qt_static_metacall(this, _c, _id, _a);-
362 _id -= 2;-
363 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
364 if (_id < 2)-
365 *reinterpret_cast<int*>(_a[0]) = -1;-
366 _id -= 2;-
367 }-
368 return _id;-
369}-
370QT_WARNING_POP-
371QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0