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