| 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_QQuickItemGrabResult_t { | - | 
| 9 | QByteArrayData data[9]; | - | 
| 10 | char stringdata0[71]; | - | 
| 11 | }; | - | 
| 12 |  | - | 
| 13 |  | - | 
| 14 |  | - | 
| 15 |  | - | 
| 16 |  | - | 
| 17 | static const qt_meta_stringdata_QQuickItemGrabResult_t qt_meta_stringdata_QQuickItemGrabResult = { | - | 
| 18 | { | - | 
| 19 | { { { -1 } }, 20, 0, 0, qptrdiff( | - | 
| 20 | __builtin_offsetof ( | - | 
| 21 | qt_meta_stringdata_QQuickItemGrabResult_t | - | 
| 22 | , | - | 
| 23 | stringdata0 | - | 
| 24 | ) | - | 
| 25 | + 0 - 0 * sizeof(QByteArrayData)) }, | - | 
| 26 | { { { -1 } }, 5, 0, 0, qptrdiff( | - | 
| 27 | __builtin_offsetof ( | - | 
| 28 | qt_meta_stringdata_QQuickItemGrabResult_t | - | 
| 29 | , | - | 
| 30 | stringdata0 | - | 
| 31 | ) | - | 
| 32 | + 21 - 1 * sizeof(QByteArrayData)) }, | - | 
| 33 | { { { -1 } }, 0, 0, 0, qptrdiff( | - | 
| 34 | __builtin_offsetof ( | - | 
| 35 | qt_meta_stringdata_QQuickItemGrabResult_t | - | 
| 36 | , | - | 
| 37 | stringdata0 | - | 
| 38 | ) | - | 
| 39 | + 27 - 2 * sizeof(QByteArrayData)) }, | - | 
| 40 | { { { -1 } }, 5, 0, 0, qptrdiff( | - | 
| 41 | __builtin_offsetof ( | - | 
| 42 | qt_meta_stringdata_QQuickItemGrabResult_t | - | 
| 43 | , | - | 
| 44 | stringdata0 | - | 
| 45 | ) | - | 
| 46 | + 28 - 3 * sizeof(QByteArrayData)) }, | - | 
| 47 | { { { -1 } }, 6, 0, 0, qptrdiff( | - | 
| 48 | __builtin_offsetof ( | - | 
| 49 | qt_meta_stringdata_QQuickItemGrabResult_t | - | 
| 50 | , | - | 
| 51 | stringdata0 | - | 
| 52 | ) | - | 
| 53 | + 34 - 4 * sizeof(QByteArrayData)) }, | - | 
| 54 | { { { -1 } }, 10, 0, 0, qptrdiff( | - | 
| 55 | __builtin_offsetof ( | - | 
| 56 | qt_meta_stringdata_QQuickItemGrabResult_t | - | 
| 57 | , | - | 
| 58 | stringdata0 | - | 
| 59 | ) | - | 
| 60 | + 41 - 5 * sizeof(QByteArrayData)) }, | - | 
| 61 | { { { -1 } }, 8, 0, 0, qptrdiff( | - | 
| 62 | __builtin_offsetof ( | - | 
| 63 | qt_meta_stringdata_QQuickItemGrabResult_t | - | 
| 64 | , | - | 
| 65 | stringdata0 | - | 
| 66 | ) | - | 
| 67 | + 52 - 6 * sizeof(QByteArrayData)) }, | - | 
| 68 | { { { -1 } }, 5, 0, 0, qptrdiff( | - | 
| 69 | __builtin_offsetof ( | - | 
| 70 | qt_meta_stringdata_QQuickItemGrabResult_t | - | 
| 71 | , | - | 
| 72 | stringdata0 | - | 
| 73 | ) | - | 
| 74 | + 61 - 7 * sizeof(QByteArrayData)) }, | - | 
| 75 | { { { -1 } }, 3, 0, 0, qptrdiff( | - | 
| 76 | __builtin_offsetof ( | - | 
| 77 | qt_meta_stringdata_QQuickItemGrabResult_t | - | 
| 78 | , | - | 
| 79 | stringdata0 | - | 
| 80 | ) | - | 
| 81 | + 67 - 8 * sizeof(QByteArrayData)) } | - | 
| 82 |  | - | 
| 83 | }, | - | 
| 84 | "QQuickItemGrabResult\0ready\0\0setup\0" | - | 
| 85 | "render\0saveToFile\0fileName\0image\0url" | - | 
| 86 | }; | - | 
| 87 |  | - | 
| 88 |  | - | 
| 89 | static const uint qt_meta_data_QQuickItemGrabResult[] = { | - | 
| 90 |  | - | 
| 91 |  | - | 
| 92 | 7, | - | 
| 93 | 0, | - | 
| 94 | 0, 0, | - | 
| 95 | 5, 14, | - | 
| 96 | 2, 48, | - | 
| 97 | 0, 0, | - | 
| 98 | 0, 0, | - | 
| 99 | 0, | - | 
| 100 | 1, | - | 
| 101 |  | - | 
| 102 |  | - | 
| 103 | 1, 0, 39, 2, 0x06 , | - | 
| 104 |  | - | 
| 105 |  | - | 
| 106 | 3, 0, 40, 2, 0x08 , | - | 
| 107 | 4, 0, 41, 2, 0x08 , | - | 
| 108 |  | - | 
| 109 |  | - | 
| 110 | 5, 1, 42, 2, 0x02 , | - | 
| 111 | 5, 1, 45, 2, 0x02 , | - | 
| 112 |  | - | 
| 113 |  | - | 
| 114 | QMetaType::Void, | - | 
| 115 |  | - | 
| 116 |  | - | 
| 117 | QMetaType::Void, | - | 
| 118 | QMetaType::Void, | - | 
| 119 |  | - | 
| 120 |  | - | 
| 121 | QMetaType::Bool, QMetaType::QString, 6, | - | 
| 122 | QMetaType::Bool, QMetaType::QString, 6, | - | 
| 123 |  | - | 
| 124 |  | - | 
| 125 | 7, QMetaType::QImage, 0x00095401, | - | 
| 126 | 8, QMetaType::QUrl, 0x00095401, | - | 
| 127 |  | - | 
| 128 | 0 | - | 
| 129 | }; | - | 
| 130 |  | - | 
| 131 | void QQuickItemGrabResult::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - | 
| 132 | { | - | 
| 133 | if (_c == QMetaObject::InvokeMetaMethod) { | - | 
| 134 | QQuickItemGrabResult *_t = static_cast<QQuickItemGrabResult *>(_o); | - | 
| 135 | (void)_t; | - | 
| 136 | switch (_id) { | - | 
| 137 | case 0: _t->ready(); break; | - | 
| 138 | case 1: _t->setup(); break; | - | 
| 139 | case 2: _t->render(); break; | - | 
| 140 | case 3: { bool _r = _t->saveToFile((*reinterpret_cast< const QString(*)>(_a[1]))); | - | 
| 141 | if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break; | - | 
| 142 | case 4: { bool _r = _t->saveToFile((*reinterpret_cast< const QString(*)>(_a[1]))); | - | 
| 143 | if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break; | - | 
| 144 | default: ; | - | 
| 145 | } | - | 
| 146 | } else if (_c == QMetaObject::IndexOfMethod) { | - | 
| 147 | int *result = reinterpret_cast<int *>(_a[0]); | - | 
| 148 | { | - | 
| 149 | using _t = void (QQuickItemGrabResult::*)(); | - | 
| 150 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickItemGrabResult::ready)) { | - | 
| 151 | *result = 0; | - | 
| 152 | return; | - | 
| 153 | } | - | 
| 154 | } | - | 
| 155 | } | - | 
| 156 |  | - | 
| 157 | else if (_c == QMetaObject::ReadProperty) { | - | 
| 158 | QQuickItemGrabResult *_t = static_cast<QQuickItemGrabResult *>(_o); | - | 
| 159 | (void)_t; | - | 
| 160 | void *_v = _a[0]; | - | 
| 161 | switch (_id) { | - | 
| 162 | case 0: *reinterpret_cast< QImage*>(_v) = _t->image(); break; | - | 
| 163 | case 1: *reinterpret_cast< QUrl*>(_v) = _t->url(); break; | - | 
| 164 | default: break; | - | 
| 165 | } | - | 
| 166 | } else if (_c == QMetaObject::WriteProperty) { | - | 
| 167 | } else if (_c == QMetaObject::ResetProperty) { | - | 
| 168 | } | - | 
| 169 |  | - | 
| 170 | } | - | 
| 171 |  | - | 
| 172 | const QMetaObject QQuickItemGrabResult::staticMetaObject = { | - | 
| 173 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickItemGrabResult.data, | - | 
| 174 | qt_meta_data_QQuickItemGrabResult, qt_static_metacall, nullptr, nullptr} | - | 
| 175 | }; | - | 
| 176 |  | - | 
| 177 |  | - | 
| 178 | const QMetaObject *QQuickItemGrabResult::metaObject() const | - | 
| 179 | { | - | 
| 180 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - | 
| 181 | } | - | 
| 182 |  | - | 
| 183 | void *QQuickItemGrabResult::qt_metacast(const char *_clname) | - | 
| 184 | { | - | 
| 185 | if (!_clname) return nullptr; | - | 
| 186 | if (!strcmp(_clname, qt_meta_stringdata_QQuickItemGrabResult.stringdata0)) | - | 
| 187 | return static_cast<void*>(this); | - | 
| 188 | return QObject::qt_metacast(_clname); | - | 
| 189 | } | - | 
| 190 |  | - | 
| 191 | int QQuickItemGrabResult::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - | 
| 192 | { | - | 
| 193 | _id = QObject::qt_metacall(_c, _id, _a); | - | 
| 194 | if (_id < 0) | - | 
| 195 | return _id; | - | 
| 196 | if (_c == QMetaObject::InvokeMetaMethod) { | - | 
| 197 | if (_id < 5) | - | 
| 198 | qt_static_metacall(this, _c, _id, _a); | - | 
| 199 | _id -= 5; | - | 
| 200 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - | 
| 201 | if (_id < 5) | - | 
| 202 | *reinterpret_cast<int*>(_a[0]) = -1; | - | 
| 203 | _id -= 5; | - | 
| 204 | } | - | 
| 205 |  | - | 
| 206 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - | 
| 207 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - | 
| 208 | qt_static_metacall(this, _c, _id, _a); | - | 
| 209 | _id -= 2; | - | 
| 210 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - | 
| 211 | _id -= 2; | - | 
| 212 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - | 
| 213 | _id -= 2; | - | 
| 214 | } else if (_c == QMetaObject::QueryPropertyStored) { | - | 
| 215 | _id -= 2; | - | 
| 216 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - | 
| 217 | _id -= 2; | - | 
| 218 | } else if (_c == QMetaObject::QueryPropertyUser) { | - | 
| 219 | _id -= 2; | - | 
| 220 | } | - | 
| 221 |  | - | 
| 222 | return _id; | - | 
| 223 | } | - | 
| 224 |  | - | 
| 225 |  | - | 
| 226 | void QQuickItemGrabResult::ready() | - | 
| 227 | { | - | 
| 228 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - | 
| 229 | } executed 6 times by 2 tests:  end of blockExecuted by:tst_qquickitem2tst_qquicktext
 | 6 | 
| 230 |  | - | 
| 231 | #pragma GCC diagnostic pop | - | 
| 232 |  | - | 
| 233 |  | - | 
|  |  |  |