OpenCoverage

moc_qquickimage_p.cpp

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

Generated by Squish Coco 4.2.0