| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickanimatedimage_p.cpp |
| Source code | Switch to Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | /**************************************************************************** | - |
| 2 | ** Meta object code from reading C++ file 'qquickanimatedimage_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/qquickanimatedimage_p.h" | - |
| 10 | #include <QtCore/qbytearray.h> | - |
| 11 | #include <QtCore/qmetatype.h> | - |
| 12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
| 13 | #error "The header file 'qquickanimatedimage_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_QQuickAnimatedImage_t { | - |
| 24 | QByteArrayData data[18]; | - |
| 25 | char stringdata0[237]; | - |
| 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_QQuickAnimatedImage_t, stringdata0) + ofs \ | - |
| 30 | - idx * sizeof(QByteArrayData)) \ | - |
| 31 | ) | - |
| 32 | static const qt_meta_stringdata_QQuickAnimatedImage_t qt_meta_stringdata_QQuickAnimatedImage = { | - |
| 33 | { | - |
| 34 | QT_MOC_LITERAL(0, 0, 19), // "QQuickAnimatedImage" | - |
| 35 | QT_MOC_LITERAL(1, 20, 14), // "playingChanged" | - |
| 36 | QT_MOC_LITERAL(2, 35, 0), // "" | - |
| 37 | QT_MOC_LITERAL(3, 36, 13), // "pausedChanged" | - |
| 38 | QT_MOC_LITERAL(4, 50, 12), // "frameChanged" | - |
| 39 | QT_MOC_LITERAL(5, 63, 17), // "frameCountChanged" | - |
| 40 | QT_MOC_LITERAL(6, 81, 12), // "speedChanged" | - |
| 41 | QT_MOC_LITERAL(7, 94, 11), // "movieUpdate" | - |
| 42 | QT_MOC_LITERAL(8, 106, 20), // "movieRequestFinished" | - |
| 43 | QT_MOC_LITERAL(9, 127, 20), // "playingStatusChanged" | - |
| 44 | QT_MOC_LITERAL(10, 148, 14), // "onCacheChanged" | - |
| 45 | QT_MOC_LITERAL(11, 163, 17), // "sourceSizeChanged" | - |
| 46 | QT_MOC_LITERAL(12, 181, 7), // "playing" | - |
| 47 | QT_MOC_LITERAL(13, 189, 6), // "paused" | - |
| 48 | QT_MOC_LITERAL(14, 196, 12), // "currentFrame" | - |
| 49 | QT_MOC_LITERAL(15, 209, 10), // "frameCount" | - |
| 50 | QT_MOC_LITERAL(16, 220, 5), // "speed" | - |
| 51 | QT_MOC_LITERAL(17, 226, 10) // "sourceSize" | - |
| 52 | - | |
| 53 | }, | - |
| 54 | "QQuickAnimatedImage\0playingChanged\0\0" | - |
| 55 | "pausedChanged\0frameChanged\0frameCountChanged\0" | - |
| 56 | "speedChanged\0movieUpdate\0movieRequestFinished\0" | - |
| 57 | "playingStatusChanged\0onCacheChanged\0" | - |
| 58 | "sourceSizeChanged\0playing\0paused\0" | - |
| 59 | "currentFrame\0frameCount\0speed\0sourceSize" | - |
| 60 | }; | - |
| 61 | #undef QT_MOC_LITERAL | - |
| 62 | - | |
| 63 | static const uint qt_meta_data_QQuickAnimatedImage[] = { | - |
| 64 | - | |
| 65 | // content: | - |
| 66 | 7, // revision | - |
| 67 | 0, // classname | - |
| 68 | 0, 0, // classinfo | - |
| 69 | 9, 14, // methods | - |
| 70 | 6, 77, // properties | - |
| 71 | 0, 0, // enums/sets | - |
| 72 | 0, 0, // constructors | - |
| 73 | 0, // flags | - |
| 74 | 5, // signalCount | - |
| 75 | - | |
| 76 | // signals: name, argc, parameters, tag, flags | - |
| 77 | 1, 0, 68, 2, 0x06 /* Public */, | - |
| 78 | 3, 0, 69, 2, 0x06 /* Public */, | - |
| 79 | 4, 0, 70, 2, 0x06 /* Public */, | - |
| 80 | 5, 0, 71, 2, 0x06 /* Public */, | - |
| 81 | 6, 0, 72, 2, 0x86 /* Public | MethodRevisioned */, | - |
| 82 | - | |
| 83 | // slots: name, argc, parameters, tag, flags | - |
| 84 | 7, 0, 73, 2, 0x08 /* Private */, | - |
| 85 | 8, 0, 74, 2, 0x08 /* Private */, | - |
| 86 | 9, 0, 75, 2, 0x08 /* Private */, | - |
| 87 | 10, 0, 76, 2, 0x08 /* Private */, | - |
| 88 | - | |
| 89 | // signals: revision | - |
| 90 | 0, | - |
| 91 | 0, | - |
| 92 | 0, | - |
| 93 | 0, | - |
| 94 | 11, | - |
| 95 | - | |
| 96 | // slots: revision | - |
| 97 | 0, | - |
| 98 | 0, | - |
| 99 | 0, | - |
| 100 | 0, | - |
| 101 | - | |
| 102 | // signals: parameters | - |
| 103 | QMetaType::Void, | - |
| 104 | QMetaType::Void, | - |
| 105 | QMetaType::Void, | - |
| 106 | QMetaType::Void, | - |
| 107 | QMetaType::Void, | - |
| 108 | - | |
| 109 | // slots: parameters | - |
| 110 | QMetaType::Void, | - |
| 111 | QMetaType::Void, | - |
| 112 | QMetaType::Void, | - |
| 113 | QMetaType::Void, | - |
| 114 | - | |
| 115 | // properties: name, type, flags | - |
| 116 | 12, QMetaType::Bool, 0x00495103, | - |
| 117 | 13, QMetaType::Bool, 0x00495103, | - |
| 118 | 14, QMetaType::Int, 0x00495103, | - |
| 119 | 15, QMetaType::Int, 0x00495001, | - |
| 120 | 16, QMetaType::QReal, 0x00c95103, | - |
| 121 | 17, QMetaType::QSize, 0x00495001, | - |
| 122 | - | |
| 123 | // properties: notify_signal_id | - |
| 124 | 0, | - |
| 125 | 1, | - |
| 126 | 2, | - |
| 127 | 3, | - |
| 128 | 4, | - |
| 129 | 1879048203, | - |
| 130 | - | |
| 131 | // properties: revision | - |
| 132 | 0, | - |
| 133 | 0, | - |
| 134 | 0, | - |
| 135 | 0, | - |
| 136 | 11, | - |
| 137 | 0, | - |
| 138 | - | |
| 139 | 0 // eod | - |
| 140 | }; | - |
| 141 | - | |
| 142 | void QQuickAnimatedImage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 143 | { | - |
| 144 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 145 | QQuickAnimatedImage *_t = static_cast<QQuickAnimatedImage *>(_o); | - |
| 146 | Q_UNUSED(_t) | - |
| 147 | switch (_id) { | - |
| 148 | case 0: _t->playingChanged(); break; | - |
| 149 | case 1: _t->pausedChanged(); break; | - |
| 150 | case 2: _t->frameChanged(); break; | - |
| 151 | case 3: _t->frameCountChanged(); break; | - |
| 152 | case 4: _t->speedChanged(); break; | - |
| 153 | case 5: _t->movieUpdate(); break; | - |
| 154 | case 6: _t->movieRequestFinished(); break; | - |
| 155 | case 7: _t->playingStatusChanged(); break; | - |
| 156 | case 8: _t->onCacheChanged(); break; | - |
| 157 | default: ; | - |
| 158 | } | - |
| 159 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 160 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 161 | { | - |
| 162 | using _t = void (QQuickAnimatedImage::*)(); | - |
| 163 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedImage::playingChanged)) { | - |
| 164 | *result = 0; | - |
| 165 | return; | - |
| 166 | } | - |
| 167 | } | - |
| 168 | { | - |
| 169 | using _t = void (QQuickAnimatedImage::*)(); | - |
| 170 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedImage::pausedChanged)) { | - |
| 171 | *result = 1; | - |
| 172 | return; | - |
| 173 | } | - |
| 174 | } | - |
| 175 | { | - |
| 176 | using _t = void (QQuickAnimatedImage::*)(); | - |
| 177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedImage::frameChanged)) { | - |
| 178 | *result = 2; | - |
| 179 | return; | - |
| 180 | } | - |
| 181 | } | - |
| 182 | { | - |
| 183 | using _t = void (QQuickAnimatedImage::*)(); | - |
| 184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedImage::frameCountChanged)) { | - |
| 185 | *result = 3; | - |
| 186 | return; | - |
| 187 | } | - |
| 188 | } | - |
| 189 | { | - |
| 190 | using _t = void (QQuickAnimatedImage::*)(); | - |
| 191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedImage::speedChanged)) { | - |
| 192 | *result = 4; | - |
| 193 | return; | - |
| 194 | } | - |
| 195 | } | - |
| 196 | } | - |
| 197 | #ifndef QT_NO_PROPERTIES | - |
| 198 | else if (_c == QMetaObject::ReadProperty) { | - |
| 199 | QQuickAnimatedImage *_t = static_cast<QQuickAnimatedImage *>(_o); | - |
| 200 | Q_UNUSED(_t) | - |
| 201 | void *_v = _a[0]; | - |
| 202 | switch (_id) { | - |
| 203 | case 0: *reinterpret_cast< bool*>(_v) = _t->isPlaying(); break; | - |
| 204 | case 1: *reinterpret_cast< bool*>(_v) = _t->isPaused(); break; | - |
| 205 | case 2: *reinterpret_cast< int*>(_v) = _t->currentFrame(); break; | - |
| 206 | case 3: *reinterpret_cast< int*>(_v) = _t->frameCount(); break; | - |
| 207 | case 4: *reinterpret_cast< qreal*>(_v) = _t->speed(); break; | - |
| 208 | case 5: *reinterpret_cast< QSize*>(_v) = _t->sourceSize(); break; | - |
| 209 | default: break; | - |
| 210 | } | - |
| 211 | } else if (_c == QMetaObject::WriteProperty) { | - |
| 212 | QQuickAnimatedImage *_t = static_cast<QQuickAnimatedImage *>(_o); | - |
| 213 | Q_UNUSED(_t) | - |
| 214 | void *_v = _a[0]; | - |
| 215 | switch (_id) { | - |
| 216 | case 0: _t->setPlaying(*reinterpret_cast< bool*>(_v)); break; | - |
| 217 | case 1: _t->setPaused(*reinterpret_cast< bool*>(_v)); break; | - |
| 218 | case 2: _t->setCurrentFrame(*reinterpret_cast< int*>(_v)); break; | - |
| 219 | case 4: _t->setSpeed(*reinterpret_cast< qreal*>(_v)); break; | - |
| 220 | default: break; | - |
| 221 | } | - |
| 222 | } else if (_c == QMetaObject::ResetProperty) { | - |
| 223 | } | - |
| 224 | #endif // QT_NO_PROPERTIES | - |
| 225 | Q_UNUSED(_a); | - |
| 226 | } | - |
| 227 | - | |
| 228 | QT_INIT_METAOBJECT const QMetaObject QQuickAnimatedImage::staticMetaObject = { | - |
| 229 | { &QQuickImage::staticMetaObject, qt_meta_stringdata_QQuickAnimatedImage.data, | - |
| 230 | qt_meta_data_QQuickAnimatedImage, qt_static_metacall, nullptr, nullptr} | - |
| 231 | }; | - |
| 232 | - | |
| 233 | - | |
| 234 | const QMetaObject *QQuickAnimatedImage::metaObject() const | - |
| 235 | { | - |
| 236 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 237 | } | - |
| 238 | - | |
| 239 | void *QQuickAnimatedImage::qt_metacast(const char *_clname) | - |
| 240 | { | - |
| 241 | if (!_clname) return nullptr; | - |
| 242 | if (!strcmp(_clname, qt_meta_stringdata_QQuickAnimatedImage.stringdata0)) | - |
| 243 | return static_cast<void*>(this); | - |
| 244 | return QQuickImage::qt_metacast(_clname); | - |
| 245 | } | - |
| 246 | - | |
| 247 | int QQuickAnimatedImage::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 248 | { | - |
| 249 | _id = QQuickImage::qt_metacall(_c, _id, _a); | - |
| 250 | if (_id < 0) | - |
| 251 | return _id; | - |
| 252 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 253 | if (_id < 9) | - |
| 254 | qt_static_metacall(this, _c, _id, _a); | - |
| 255 | _id -= 9; | - |
| 256 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 257 | if (_id < 9) | - |
| 258 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 259 | _id -= 9; | - |
| 260 | } | - |
| 261 | #ifndef QT_NO_PROPERTIES | - |
| 262 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
| 263 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
| 264 | qt_static_metacall(this, _c, _id, _a); | - |
| 265 | _id -= 6; | - |
| 266 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
| 267 | _id -= 6; | - |
| 268 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
| 269 | _id -= 6; | - |
| 270 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
| 271 | _id -= 6; | - |
| 272 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
| 273 | _id -= 6; | - |
| 274 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
| 275 | _id -= 6; | - |
| 276 | } | - |
| 277 | #endif // QT_NO_PROPERTIES | - |
| 278 | return _id; | - |
| 279 | } | - |
| 280 | - | |
| 281 | // SIGNAL 0 | - |
| 282 | void QQuickAnimatedImage::playingChanged() | - |
| 283 | { | - |
| 284 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 285 | } executed 26 times by 1 test: end of blockExecuted by:
| 26 |
| 286 | - | |
| 287 | // SIGNAL 1 | - |
| 288 | void QQuickAnimatedImage::pausedChanged() | - |
| 289 | { | - |
| 290 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 291 | } executed 28 times by 1 test: end of blockExecuted by:
| 28 |
| 292 | - | |
| 293 | // SIGNAL 2 | - |
| 294 | void QQuickAnimatedImage::frameChanged() | - |
| 295 | { | - |
| 296 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
| 297 | } executed 252 times by 1 test: end of blockExecuted by:
| 252 |
| 298 | - | |
| 299 | // SIGNAL 3 | - |
| 300 | void QQuickAnimatedImage::frameCountChanged() | - |
| 301 | { | - |
| 302 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
| 303 | } executed 216 times by 2 tests: end of blockExecuted by:
| 216 |
| 304 | - | |
| 305 | // SIGNAL 4 | - |
| 306 | void QQuickAnimatedImage::speedChanged() | - |
| 307 | { | - |
| 308 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
| 309 | } never executed: end of block | 0 |
| 310 | // If you get a compile error in this function it can be because either | - |
| 311 | // a) You are using a NOTIFY signal that does not exist. Fix it. | - |
| 312 | // b) You are using a NOTIFY signal that does exist (in a parent class) but has a non-empty parameter list. This is a moc limitation. | - |
| 313 | Q_DECL_UNUSED static void checkNotifySignalValidity_QQuickAnimatedImage(QQuickAnimatedImage *t) { | - |
| 314 | t->sourceSizeChanged(); | - |
| 315 | } never executed: end of block | 0 |
| 316 | QT_WARNING_POP | - |
| 317 | QT_END_MOC_NAMESPACE | - |
| Source code | Switch to Preprocessed file |