| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickpainteditem.cpp |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | #pragma GCC diagnostic push | - |
| 4 | - | |
| 5 | - | |
| 6 | #pragma GCC diagnostic ignored "-Wdeprecated-declarations" | - |
| 7 | - | |
| 8 | struct qt_meta_stringdata_QQuickPaintedItem_t { | - |
| 9 | QByteArrayData data[17]; | - |
| 10 | char stringdata0[263]; | - |
| 11 | }; | - |
| 12 | - | |
| 13 | - | |
| 14 | - | |
| 15 | - | |
| 16 | - | |
| 17 | static const qt_meta_stringdata_QQuickPaintedItem_t qt_meta_stringdata_QQuickPaintedItem = { | - |
| 18 | { | - |
| 19 | { { { -1 } }, 17, 0, 0, qptrdiff( | - |
| 20 | __builtin_offsetof ( | - |
| 21 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 22 | , | - |
| 23 | stringdata0 | - |
| 24 | ) | - |
| 25 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
| 26 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
| 27 | __builtin_offsetof ( | - |
| 28 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 29 | , | - |
| 30 | stringdata0 | - |
| 31 | ) | - |
| 32 | + 18 - 1 * sizeof(QByteArrayData)) }, | - |
| 33 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
| 34 | __builtin_offsetof ( | - |
| 35 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 36 | , | - |
| 37 | stringdata0 | - |
| 38 | ) | - |
| 39 | + 35 - 2 * sizeof(QByteArrayData)) }, | - |
| 40 | { { { -1 } }, 19, 0, 0, qptrdiff( | - |
| 41 | __builtin_offsetof ( | - |
| 42 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 43 | , | - |
| 44 | stringdata0 | - |
| 45 | ) | - |
| 46 | + 36 - 3 * sizeof(QByteArrayData)) }, | - |
| 47 | { { { -1 } }, 20, 0, 0, qptrdiff( | - |
| 48 | __builtin_offsetof ( | - |
| 49 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 50 | , | - |
| 51 | stringdata0 | - |
| 52 | ) | - |
| 53 | + 56 - 4 * sizeof(QByteArrayData)) }, | - |
| 54 | { { { -1 } }, 19, 0, 0, qptrdiff( | - |
| 55 | __builtin_offsetof ( | - |
| 56 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 57 | , | - |
| 58 | stringdata0 | - |
| 59 | ) | - |
| 60 | + 77 - 5 * sizeof(QByteArrayData)) }, | - |
| 61 | { { { -1 } }, 18, 0, 0, qptrdiff( | - |
| 62 | __builtin_offsetof ( | - |
| 63 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 64 | , | - |
| 65 | stringdata0 | - |
| 66 | ) | - |
| 67 | + 97 - 6 * sizeof(QByteArrayData)) }, | - |
| 68 | { { { -1 } }, 20, 0, 0, qptrdiff( | - |
| 69 | __builtin_offsetof ( | - |
| 70 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 71 | , | - |
| 72 | stringdata0 | - |
| 73 | ) | - |
| 74 | + 116 - 7 * sizeof(QByteArrayData)) }, | - |
| 75 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
| 76 | __builtin_offsetof ( | - |
| 77 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 78 | , | - |
| 79 | stringdata0 | - |
| 80 | ) | - |
| 81 | + 137 - 8 * sizeof(QByteArrayData)) }, | - |
| 82 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
| 83 | __builtin_offsetof ( | - |
| 84 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 85 | , | - |
| 86 | stringdata0 | - |
| 87 | ) | - |
| 88 | + 150 - 9 * sizeof(QByteArrayData)) }, | - |
| 89 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
| 90 | __builtin_offsetof ( | - |
| 91 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 92 | , | - |
| 93 | stringdata0 | - |
| 94 | ) | - |
| 95 | + 160 - 10 * sizeof(QByteArrayData)) }, | - |
| 96 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
| 97 | __builtin_offsetof ( | - |
| 98 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 99 | , | - |
| 100 | stringdata0 | - |
| 101 | ) | - |
| 102 | + 174 - 11 * sizeof(QByteArrayData)) }, | - |
| 103 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
| 104 | __builtin_offsetof ( | - |
| 105 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 106 | , | - |
| 107 | stringdata0 | - |
| 108 | ) | - |
| 109 | + 187 - 12 * sizeof(QByteArrayData)) }, | - |
| 110 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
| 111 | __builtin_offsetof ( | - |
| 112 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 113 | , | - |
| 114 | stringdata0 | - |
| 115 | ) | - |
| 116 | + 200 - 13 * sizeof(QByteArrayData)) }, | - |
| 117 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
| 118 | __builtin_offsetof ( | - |
| 119 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 120 | , | - |
| 121 | stringdata0 | - |
| 122 | ) | - |
| 123 | + 212 - 14 * sizeof(QByteArrayData)) }, | - |
| 124 | { { { -1 } }, 17, 0, 0, qptrdiff( | - |
| 125 | __builtin_offsetof ( | - |
| 126 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 127 | , | - |
| 128 | stringdata0 | - |
| 129 | ) | - |
| 130 | + 218 - 15 * sizeof(QByteArrayData)) }, | - |
| 131 | { { { -1 } }, 26, 0, 0, qptrdiff( | - |
| 132 | __builtin_offsetof ( | - |
| 133 | qt_meta_stringdata_QQuickPaintedItem_t | - |
| 134 | , | - |
| 135 | stringdata0 | - |
| 136 | ) | - |
| 137 | + 236 - 16 * sizeof(QByteArrayData)) } | - |
| 138 | - | |
| 139 | }, | - |
| 140 | "QQuickPaintedItem\0fillColorChanged\0\0" | - |
| 141 | "contentsSizeChanged\0contentsScaleChanged\0" | - |
| 142 | "renderTargetChanged\0textureSizeChanged\0" | - |
| 143 | "invalidateSceneGraph\0contentsSize\0" | - |
| 144 | "fillColor\0contentsScale\0renderTarget\0" | - |
| 145 | "RenderTarget\0textureSize\0Image\0" | - |
| 146 | "FramebufferObject\0InvertedYFramebufferObject" | - |
| 147 | }; | - |
| 148 | - | |
| 149 | - | |
| 150 | static const uint qt_meta_data_QQuickPaintedItem[] = { | - |
| 151 | - | |
| 152 | - | |
| 153 | 7, | - |
| 154 | 0, | - |
| 155 | 0, 0, | - |
| 156 | 6, 14, | - |
| 157 | 5, 50, | - |
| 158 | 1, 70, | - |
| 159 | 0, 0, | - |
| 160 | 0, | - |
| 161 | 5, | - |
| 162 | - | |
| 163 | - | |
| 164 | 1, 0, 44, 2, 0x06 , | - |
| 165 | 3, 0, 45, 2, 0x06 , | - |
| 166 | 4, 0, 46, 2, 0x06 , | - |
| 167 | 5, 0, 47, 2, 0x06 , | - |
| 168 | 6, 0, 48, 2, 0x06 , | - |
| 169 | - | |
| 170 | - | |
| 171 | 7, 0, 49, 2, 0x08 , | - |
| 172 | - | |
| 173 | - | |
| 174 | QMetaType::Void, | - |
| 175 | QMetaType::Void, | - |
| 176 | QMetaType::Void, | - |
| 177 | QMetaType::Void, | - |
| 178 | QMetaType::Void, | - |
| 179 | - | |
| 180 | - | |
| 181 | QMetaType::Void, | - |
| 182 | - | |
| 183 | - | |
| 184 | 8, QMetaType::QSize, 0x00495103, | - |
| 185 | 9, QMetaType::QColor, 0x00495103, | - |
| 186 | 10, QMetaType::QReal, 0x00495103, | - |
| 187 | 11, 0x80000000 | 12, 0x0049510b, | - |
| 188 | 13, QMetaType::QSize, 0x00495103, | - |
| 189 | - | |
| 190 | - | |
| 191 | 1, | - |
| 192 | 0, | - |
| 193 | 2, | - |
| 194 | 3, | - |
| 195 | 4, | - |
| 196 | - | |
| 197 | - | |
| 198 | 12, 0x0, 3, 74, | - |
| 199 | - | |
| 200 | - | |
| 201 | 14, uint(QQuickPaintedItem::Image), | - |
| 202 | 15, uint(QQuickPaintedItem::FramebufferObject), | - |
| 203 | 16, uint(QQuickPaintedItem::InvertedYFramebufferObject), | - |
| 204 | - | |
| 205 | 0 | - |
| 206 | }; | - |
| 207 | - | |
| 208 | void QQuickPaintedItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 209 | { | - |
| 210 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 211 | QQuickPaintedItem *_t = static_cast<QQuickPaintedItem *>(_o); | - |
| 212 | (void)_t; | - |
| 213 | switch (_id) { | - |
| 214 | case 0: _t->fillColorChanged(); break; | - |
| 215 | case 1: _t->contentsSizeChanged(); break; | - |
| 216 | case 2: _t->contentsScaleChanged(); break; | - |
| 217 | case 3: _t->renderTargetChanged(); break; | - |
| 218 | case 4: _t->textureSizeChanged(); break; | - |
| 219 | case 5: _t->invalidateSceneGraph(); break; | - |
| 220 | default: ; | - |
| 221 | } | - |
| 222 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 223 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 224 | { | - |
| 225 | using _t = void (QQuickPaintedItem::*)(); | - |
| 226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPaintedItem::fillColorChanged)) { | - |
| 227 | *result = 0; | - |
| 228 | return; | - |
| 229 | } | - |
| 230 | } | - |
| 231 | { | - |
| 232 | using _t = void (QQuickPaintedItem::*)(); | - |
| 233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPaintedItem::contentsSizeChanged)) { | - |
| 234 | *result = 1; | - |
| 235 | return; | - |
| 236 | } | - |
| 237 | } | - |
| 238 | { | - |
| 239 | using _t = void (QQuickPaintedItem::*)(); | - |
| 240 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPaintedItem::contentsScaleChanged)) { | - |
| 241 | *result = 2; | - |
| 242 | return; | - |
| 243 | } | - |
| 244 | } | - |
| 245 | { | - |
| 246 | using _t = void (QQuickPaintedItem::*)(); | - |
| 247 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPaintedItem::renderTargetChanged)) { | - |
| 248 | *result = 3; | - |
| 249 | return; | - |
| 250 | } | - |
| 251 | } | - |
| 252 | { | - |
| 253 | using _t = void (QQuickPaintedItem::*)(); | - |
| 254 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPaintedItem::textureSizeChanged)) { | - |
| 255 | *result = 4; | - |
| 256 | return; | - |
| 257 | } | - |
| 258 | } | - |
| 259 | } | - |
| 260 | - | |
| 261 | else if (_c == QMetaObject::ReadProperty) { | - |
| 262 | QQuickPaintedItem *_t = static_cast<QQuickPaintedItem *>(_o); | - |
| 263 | (void)_t; | - |
| 264 | void *_v = _a[0]; | - |
| 265 | switch (_id) { | - |
| 266 | case 0: *reinterpret_cast< QSize*>(_v) = _t->contentsSize(); break; | - |
| 267 | case 1: *reinterpret_cast< QColor*>(_v) = _t->fillColor(); break; | - |
| 268 | case 2: *reinterpret_cast< qreal*>(_v) = _t->contentsScale(); break; | - |
| 269 | case 3: *reinterpret_cast< RenderTarget*>(_v) = _t->renderTarget(); break; | - |
| 270 | case 4: *reinterpret_cast< QSize*>(_v) = _t->textureSize(); break; | - |
| 271 | default: break; | - |
| 272 | } | - |
| 273 | } else if (_c == QMetaObject::WriteProperty) { | - |
| 274 | QQuickPaintedItem *_t = static_cast<QQuickPaintedItem *>(_o); | - |
| 275 | (void)_t; | - |
| 276 | void *_v = _a[0]; | - |
| 277 | switch (_id) { | - |
| 278 | case 0: _t->setContentsSize(*reinterpret_cast< QSize*>(_v)); break; | - |
| 279 | case 1: _t->setFillColor(*reinterpret_cast< QColor*>(_v)); break; | - |
| 280 | case 2: _t->setContentsScale(*reinterpret_cast< qreal*>(_v)); break; | - |
| 281 | case 3: _t->setRenderTarget(*reinterpret_cast< RenderTarget*>(_v)); break; | - |
| 282 | case 4: _t->setTextureSize(*reinterpret_cast< QSize*>(_v)); break; | - |
| 283 | default: break; | - |
| 284 | } | - |
| 285 | } else if (_c == QMetaObject::ResetProperty) { | - |
| 286 | } | - |
| 287 | - | |
| 288 | (void)_a;; | - |
| 289 | } | - |
| 290 | - | |
| 291 | const QMetaObject QQuickPaintedItem::staticMetaObject = { | - |
| 292 | { &QQuickItem::staticMetaObject, qt_meta_stringdata_QQuickPaintedItem.data, | - |
| 293 | qt_meta_data_QQuickPaintedItem, qt_static_metacall, nullptr, nullptr} | - |
| 294 | }; | - |
| 295 | - | |
| 296 | - | |
| 297 | const QMetaObject *QQuickPaintedItem::metaObject() const | - |
| 298 | { | - |
| 299 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 300 | } | - |
| 301 | - | |
| 302 | void *QQuickPaintedItem::qt_metacast(const char *_clname) | - |
| 303 | { | - |
| 304 | if (!_clname) return nullptr; | - |
| 305 | if (!strcmp(_clname, qt_meta_stringdata_QQuickPaintedItem.stringdata0)) | - |
| 306 | return static_cast<void*>(this); | - |
| 307 | return QQuickItem::qt_metacast(_clname); | - |
| 308 | } | - |
| 309 | - | |
| 310 | int QQuickPaintedItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 311 | { | - |
| 312 | _id = QQuickItem::qt_metacall(_c, _id, _a); | - |
| 313 | if (_id < 0) | - |
| 314 | return _id; | - |
| 315 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 316 | if (_id < 6) | - |
| 317 | qt_static_metacall(this, _c, _id, _a); | - |
| 318 | _id -= 6; | - |
| 319 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 320 | if (_id < 6) | - |
| 321 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 322 | _id -= 6; | - |
| 323 | } | - |
| 324 | - | |
| 325 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
| 326 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
| 327 | qt_static_metacall(this, _c, _id, _a); | - |
| 328 | _id -= 5; | - |
| 329 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
| 330 | _id -= 5; | - |
| 331 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
| 332 | _id -= 5; | - |
| 333 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
| 334 | _id -= 5; | - |
| 335 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
| 336 | _id -= 5; | - |
| 337 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
| 338 | _id -= 5; | - |
| 339 | } | - |
| 340 | - | |
| 341 | return _id; | - |
| 342 | } | - |
| 343 | - | |
| 344 | - | |
| 345 | void QQuickPaintedItem::fillColorChanged() | - |
| 346 | { | - |
| 347 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 348 | } executed 4 times by 1 test: end of blockExecuted by:
| 4 |
| 349 | - | |
| 350 | - | |
| 351 | void QQuickPaintedItem::contentsSizeChanged() | - |
| 352 | { | - |
| 353 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 354 | } executed 8 times by 1 test: end of blockExecuted by:
| 8 |
| 355 | - | |
| 356 | - | |
| 357 | void QQuickPaintedItem::contentsScaleChanged() | - |
| 358 | { | - |
| 359 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
| 360 | } executed 8 times by 1 test: end of blockExecuted by:
| 8 |
| 361 | - | |
| 362 | - | |
| 363 | void QQuickPaintedItem::renderTargetChanged() | - |
| 364 | { | - |
| 365 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
| 366 | } executed 4 times by 1 test: end of blockExecuted by:
| 4 |
| 367 | - | |
| 368 | - | |
| 369 | void QQuickPaintedItem::textureSizeChanged() | - |
| 370 | { | - |
| 371 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
| 372 | } never executed: end of block | 0 |
| 373 | - | |
| 374 | #pragma GCC diagnostic pop | - |
| 375 | - | |
| 376 | - | |
| Switch to Source code | Preprocessed file |