Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickpainteditem.cpp |
Source code | Switch to Preprocessed file |
Line | Source | Count |
---|---|---|
1 | /**************************************************************************** | - |
2 | ** Meta object code from reading C++ file 'qquickpainteditem.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/qquickpainteditem.h" | - |
10 | #include <QtCore/qbytearray.h> | - |
11 | #include <QtCore/qmetatype.h> | - |
12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
13 | #error "The header file 'qquickpainteditem.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_QQuickPaintedItem_t { | - |
24 | QByteArrayData data[17]; | - |
25 | char stringdata0[263]; | - |
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_QQuickPaintedItem_t, stringdata0) + ofs \ | - |
30 | - idx * sizeof(QByteArrayData)) \ | - |
31 | ) | - |
32 | static const qt_meta_stringdata_QQuickPaintedItem_t qt_meta_stringdata_QQuickPaintedItem = { | - |
33 | { | - |
34 | QT_MOC_LITERAL(0, 0, 17), // "QQuickPaintedItem" | - |
35 | QT_MOC_LITERAL(1, 18, 16), // "fillColorChanged" | - |
36 | QT_MOC_LITERAL(2, 35, 0), // "" | - |
37 | QT_MOC_LITERAL(3, 36, 19), // "contentsSizeChanged" | - |
38 | QT_MOC_LITERAL(4, 56, 20), // "contentsScaleChanged" | - |
39 | QT_MOC_LITERAL(5, 77, 19), // "renderTargetChanged" | - |
40 | QT_MOC_LITERAL(6, 97, 18), // "textureSizeChanged" | - |
41 | QT_MOC_LITERAL(7, 116, 20), // "invalidateSceneGraph" | - |
42 | QT_MOC_LITERAL(8, 137, 12), // "contentsSize" | - |
43 | QT_MOC_LITERAL(9, 150, 9), // "fillColor" | - |
44 | QT_MOC_LITERAL(10, 160, 13), // "contentsScale" | - |
45 | QT_MOC_LITERAL(11, 174, 12), // "renderTarget" | - |
46 | QT_MOC_LITERAL(12, 187, 12), // "RenderTarget" | - |
47 | QT_MOC_LITERAL(13, 200, 11), // "textureSize" | - |
48 | QT_MOC_LITERAL(14, 212, 5), // "Image" | - |
49 | QT_MOC_LITERAL(15, 218, 17), // "FramebufferObject" | - |
50 | QT_MOC_LITERAL(16, 236, 26) // "InvertedYFramebufferObject" | - |
51 | - | |
52 | }, | - |
53 | "QQuickPaintedItem\0fillColorChanged\0\0" | - |
54 | "contentsSizeChanged\0contentsScaleChanged\0" | - |
55 | "renderTargetChanged\0textureSizeChanged\0" | - |
56 | "invalidateSceneGraph\0contentsSize\0" | - |
57 | "fillColor\0contentsScale\0renderTarget\0" | - |
58 | "RenderTarget\0textureSize\0Image\0" | - |
59 | "FramebufferObject\0InvertedYFramebufferObject" | - |
60 | }; | - |
61 | #undef QT_MOC_LITERAL | - |
62 | - | |
63 | static const uint qt_meta_data_QQuickPaintedItem[] = { | - |
64 | - | |
65 | // content: | - |
66 | 7, // revision | - |
67 | 0, // classname | - |
68 | 0, 0, // classinfo | - |
69 | 6, 14, // methods | - |
70 | 5, 50, // properties | - |
71 | 1, 70, // enums/sets | - |
72 | 0, 0, // constructors | - |
73 | 0, // flags | - |
74 | 5, // signalCount | - |
75 | - | |
76 | // signals: name, argc, parameters, tag, flags | - |
77 | 1, 0, 44, 2, 0x06 /* Public */, | - |
78 | 3, 0, 45, 2, 0x06 /* Public */, | - |
79 | 4, 0, 46, 2, 0x06 /* Public */, | - |
80 | 5, 0, 47, 2, 0x06 /* Public */, | - |
81 | 6, 0, 48, 2, 0x06 /* Public */, | - |
82 | - | |
83 | // slots: name, argc, parameters, tag, flags | - |
84 | 7, 0, 49, 2, 0x08 /* Private */, | - |
85 | - | |
86 | // signals: parameters | - |
87 | QMetaType::Void, | - |
88 | QMetaType::Void, | - |
89 | QMetaType::Void, | - |
90 | QMetaType::Void, | - |
91 | QMetaType::Void, | - |
92 | - | |
93 | // slots: parameters | - |
94 | QMetaType::Void, | - |
95 | - | |
96 | // properties: name, type, flags | - |
97 | 8, QMetaType::QSize, 0x00495103, | - |
98 | 9, QMetaType::QColor, 0x00495103, | - |
99 | 10, QMetaType::QReal, 0x00495103, | - |
100 | 11, 0x80000000 | 12, 0x0049510b, | - |
101 | 13, QMetaType::QSize, 0x00495103, | - |
102 | - | |
103 | // properties: notify_signal_id | - |
104 | 1, | - |
105 | 0, | - |
106 | 2, | - |
107 | 3, | - |
108 | 4, | - |
109 | - | |
110 | // enums: name, flags, count, data | - |
111 | 12, 0x0, 3, 74, | - |
112 | - | |
113 | // enum data: key, value | - |
114 | 14, uint(QQuickPaintedItem::Image), | - |
115 | 15, uint(QQuickPaintedItem::FramebufferObject), | - |
116 | 16, uint(QQuickPaintedItem::InvertedYFramebufferObject), | - |
117 | - | |
118 | 0 // eod | - |
119 | }; | - |
120 | - | |
121 | void QQuickPaintedItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
122 | { | - |
123 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
124 | QQuickPaintedItem *_t = static_cast<QQuickPaintedItem *>(_o); | - |
125 | Q_UNUSED(_t) | - |
126 | switch (_id) { | - |
127 | case 0: _t->fillColorChanged(); break; | - |
128 | case 1: _t->contentsSizeChanged(); break; | - |
129 | case 2: _t->contentsScaleChanged(); break; | - |
130 | case 3: _t->renderTargetChanged(); break; | - |
131 | case 4: _t->textureSizeChanged(); break; | - |
132 | case 5: _t->invalidateSceneGraph(); break; | - |
133 | default: ; | - |
134 | } | - |
135 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
136 | int *result = reinterpret_cast<int *>(_a[0]); | - |
137 | { | - |
138 | using _t = void (QQuickPaintedItem::*)(); | - |
139 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPaintedItem::fillColorChanged)) { | - |
140 | *result = 0; | - |
141 | return; | - |
142 | } | - |
143 | } | - |
144 | { | - |
145 | using _t = void (QQuickPaintedItem::*)(); | - |
146 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPaintedItem::contentsSizeChanged)) { | - |
147 | *result = 1; | - |
148 | return; | - |
149 | } | - |
150 | } | - |
151 | { | - |
152 | using _t = void (QQuickPaintedItem::*)(); | - |
153 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPaintedItem::contentsScaleChanged)) { | - |
154 | *result = 2; | - |
155 | return; | - |
156 | } | - |
157 | } | - |
158 | { | - |
159 | using _t = void (QQuickPaintedItem::*)(); | - |
160 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPaintedItem::renderTargetChanged)) { | - |
161 | *result = 3; | - |
162 | return; | - |
163 | } | - |
164 | } | - |
165 | { | - |
166 | using _t = void (QQuickPaintedItem::*)(); | - |
167 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPaintedItem::textureSizeChanged)) { | - |
168 | *result = 4; | - |
169 | return; | - |
170 | } | - |
171 | } | - |
172 | } | - |
173 | #ifndef QT_NO_PROPERTIES | - |
174 | else if (_c == QMetaObject::ReadProperty) { | - |
175 | QQuickPaintedItem *_t = static_cast<QQuickPaintedItem *>(_o); | - |
176 | Q_UNUSED(_t) | - |
177 | void *_v = _a[0]; | - |
178 | switch (_id) { | - |
179 | case 0: *reinterpret_cast< QSize*>(_v) = _t->contentsSize(); break; | - |
180 | case 1: *reinterpret_cast< QColor*>(_v) = _t->fillColor(); break; | - |
181 | case 2: *reinterpret_cast< qreal*>(_v) = _t->contentsScale(); break; | - |
182 | case 3: *reinterpret_cast< RenderTarget*>(_v) = _t->renderTarget(); break; | - |
183 | case 4: *reinterpret_cast< QSize*>(_v) = _t->textureSize(); break; | - |
184 | default: break; | - |
185 | } | - |
186 | } else if (_c == QMetaObject::WriteProperty) { | - |
187 | QQuickPaintedItem *_t = static_cast<QQuickPaintedItem *>(_o); | - |
188 | Q_UNUSED(_t) | - |
189 | void *_v = _a[0]; | - |
190 | switch (_id) { | - |
191 | case 0: _t->setContentsSize(*reinterpret_cast< QSize*>(_v)); break; | - |
192 | case 1: _t->setFillColor(*reinterpret_cast< QColor*>(_v)); break; | - |
193 | case 2: _t->setContentsScale(*reinterpret_cast< qreal*>(_v)); break; | - |
194 | case 3: _t->setRenderTarget(*reinterpret_cast< RenderTarget*>(_v)); break; | - |
195 | case 4: _t->setTextureSize(*reinterpret_cast< QSize*>(_v)); break; | - |
196 | default: break; | - |
197 | } | - |
198 | } else if (_c == QMetaObject::ResetProperty) { | - |
199 | } | - |
200 | #endif // QT_NO_PROPERTIES | - |
201 | Q_UNUSED(_a); | - |
202 | } | - |
203 | - | |
204 | QT_INIT_METAOBJECT const QMetaObject QQuickPaintedItem::staticMetaObject = { | - |
205 | { &QQuickItem::staticMetaObject, qt_meta_stringdata_QQuickPaintedItem.data, | - |
206 | qt_meta_data_QQuickPaintedItem, qt_static_metacall, nullptr, nullptr} | - |
207 | }; | - |
208 | - | |
209 | - | |
210 | const QMetaObject *QQuickPaintedItem::metaObject() const | - |
211 | { | - |
212 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
213 | } | - |
214 | - | |
215 | void *QQuickPaintedItem::qt_metacast(const char *_clname) | - |
216 | { | - |
217 | if (!_clname) return nullptr; | - |
218 | if (!strcmp(_clname, qt_meta_stringdata_QQuickPaintedItem.stringdata0)) | - |
219 | return static_cast<void*>(this); | - |
220 | return QQuickItem::qt_metacast(_clname); | - |
221 | } | - |
222 | - | |
223 | int QQuickPaintedItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
224 | { | - |
225 | _id = QQuickItem::qt_metacall(_c, _id, _a); | - |
226 | if (_id < 0) | - |
227 | return _id; | - |
228 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
229 | if (_id < 6) | - |
230 | qt_static_metacall(this, _c, _id, _a); | - |
231 | _id -= 6; | - |
232 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
233 | if (_id < 6) | - |
234 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
235 | _id -= 6; | - |
236 | } | - |
237 | #ifndef QT_NO_PROPERTIES | - |
238 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
239 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
240 | qt_static_metacall(this, _c, _id, _a); | - |
241 | _id -= 5; | - |
242 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
243 | _id -= 5; | - |
244 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
245 | _id -= 5; | - |
246 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
247 | _id -= 5; | - |
248 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
249 | _id -= 5; | - |
250 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
251 | _id -= 5; | - |
252 | } | - |
253 | #endif // QT_NO_PROPERTIES | - |
254 | return _id; | - |
255 | } | - |
256 | - | |
257 | // SIGNAL 0 | - |
258 | void QQuickPaintedItem::fillColorChanged() | - |
259 | { | - |
260 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
261 | } executed 4 times by 1 test: end of block Executed by:
| 4 |
262 | - | |
263 | // SIGNAL 1 | - |
264 | void QQuickPaintedItem::contentsSizeChanged() | - |
265 | { | - |
266 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
267 | } executed 8 times by 1 test: end of block Executed by:
| 8 |
268 | - | |
269 | // SIGNAL 2 | - |
270 | void QQuickPaintedItem::contentsScaleChanged() | - |
271 | { | - |
272 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
273 | } executed 8 times by 1 test: end of block Executed by:
| 8 |
274 | - | |
275 | // SIGNAL 3 | - |
276 | void QQuickPaintedItem::renderTargetChanged() | - |
277 | { | - |
278 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
279 | } executed 4 times by 1 test: end of block Executed by:
| 4 |
280 | - | |
281 | // SIGNAL 4 | - |
282 | void QQuickPaintedItem::textureSizeChanged() | - |
283 | { | - |
284 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
285 | } never executed: end of block | 0 |
286 | QT_WARNING_POP | - |
287 | QT_END_MOC_NAMESPACE | - |
Source code | Switch to Preprocessed file |