| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickgridview_p.cpp |
| Source code | Switch to Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | /**************************************************************************** | - |
| 2 | ** Meta object code from reading C++ file 'qquickgridview_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/qquickgridview_p.h" | - |
| 10 | #include <QtCore/qbytearray.h> | - |
| 11 | #include <QtCore/qmetatype.h> | - |
| 12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
| 13 | #error "The header file 'qquickgridview_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_QQuickGridView_t { | - |
| 24 | QByteArrayData data[24]; | - |
| 25 | char stringdata0[321]; | - |
| 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_QQuickGridView_t, stringdata0) + ofs \ | - |
| 30 | - idx * sizeof(QByteArrayData)) \ | - |
| 31 | ) | - |
| 32 | static const qt_meta_stringdata_QQuickGridView_t qt_meta_stringdata_QQuickGridView = { | - |
| 33 | { | - |
| 34 | QT_MOC_LITERAL(0, 0, 14), // "QQuickGridView" | - |
| 35 | QT_MOC_LITERAL(1, 15, 15), // "DefaultProperty" | - |
| 36 | QT_MOC_LITERAL(2, 31, 4), // "data" | - |
| 37 | QT_MOC_LITERAL(3, 36, 16), // "cellWidthChanged" | - |
| 38 | QT_MOC_LITERAL(4, 53, 0), // "" | - |
| 39 | QT_MOC_LITERAL(5, 54, 17), // "cellHeightChanged" | - |
| 40 | QT_MOC_LITERAL(6, 72, 28), // "highlightMoveDurationChanged" | - |
| 41 | QT_MOC_LITERAL(7, 101, 11), // "flowChanged" | - |
| 42 | QT_MOC_LITERAL(8, 113, 15), // "snapModeChanged" | - |
| 43 | QT_MOC_LITERAL(9, 129, 18), // "moveCurrentIndexUp" | - |
| 44 | QT_MOC_LITERAL(10, 148, 20), // "moveCurrentIndexDown" | - |
| 45 | QT_MOC_LITERAL(11, 169, 20), // "moveCurrentIndexLeft" | - |
| 46 | QT_MOC_LITERAL(12, 190, 21), // "moveCurrentIndexRight" | - |
| 47 | QT_MOC_LITERAL(13, 212, 4), // "flow" | - |
| 48 | QT_MOC_LITERAL(14, 217, 4), // "Flow" | - |
| 49 | QT_MOC_LITERAL(15, 222, 9), // "cellWidth" | - |
| 50 | QT_MOC_LITERAL(16, 232, 10), // "cellHeight" | - |
| 51 | QT_MOC_LITERAL(17, 243, 8), // "snapMode" | - |
| 52 | QT_MOC_LITERAL(18, 252, 8), // "SnapMode" | - |
| 53 | QT_MOC_LITERAL(19, 261, 15), // "FlowLeftToRight" | - |
| 54 | QT_MOC_LITERAL(20, 277, 15), // "FlowTopToBottom" | - |
| 55 | QT_MOC_LITERAL(21, 293, 6), // "NoSnap" | - |
| 56 | QT_MOC_LITERAL(22, 300, 9), // "SnapToRow" | - |
| 57 | QT_MOC_LITERAL(23, 310, 10) // "SnapOneRow" | - |
| 58 | - | |
| 59 | }, | - |
| 60 | "QQuickGridView\0DefaultProperty\0data\0" | - |
| 61 | "cellWidthChanged\0\0cellHeightChanged\0" | - |
| 62 | "highlightMoveDurationChanged\0flowChanged\0" | - |
| 63 | "snapModeChanged\0moveCurrentIndexUp\0" | - |
| 64 | "moveCurrentIndexDown\0moveCurrentIndexLeft\0" | - |
| 65 | "moveCurrentIndexRight\0flow\0Flow\0" | - |
| 66 | "cellWidth\0cellHeight\0snapMode\0SnapMode\0" | - |
| 67 | "FlowLeftToRight\0FlowTopToBottom\0NoSnap\0" | - |
| 68 | "SnapToRow\0SnapOneRow" | - |
| 69 | }; | - |
| 70 | #undef QT_MOC_LITERAL | - |
| 71 | - | |
| 72 | static const uint qt_meta_data_QQuickGridView[] = { | - |
| 73 | - | |
| 74 | // content: | - |
| 75 | 7, // revision | - |
| 76 | 0, // classname | - |
| 77 | 1, 14, // classinfo | - |
| 78 | 9, 16, // methods | - |
| 79 | 4, 70, // properties | - |
| 80 | 2, 86, // enums/sets | - |
| 81 | 0, 0, // constructors | - |
| 82 | 0, // flags | - |
| 83 | 5, // signalCount | - |
| 84 | - | |
| 85 | // classinfo: key, value | - |
| 86 | 1, 2, | - |
| 87 | - | |
| 88 | // signals: name, argc, parameters, tag, flags | - |
| 89 | 3, 0, 61, 4, 0x06 /* Public */, | - |
| 90 | 5, 0, 62, 4, 0x06 /* Public */, | - |
| 91 | 6, 0, 63, 4, 0x06 /* Public */, | - |
| 92 | 7, 0, 64, 4, 0x06 /* Public */, | - |
| 93 | 8, 0, 65, 4, 0x06 /* Public */, | - |
| 94 | - | |
| 95 | // slots: name, argc, parameters, tag, flags | - |
| 96 | 9, 0, 66, 4, 0x0a /* Public */, | - |
| 97 | 10, 0, 67, 4, 0x0a /* Public */, | - |
| 98 | 11, 0, 68, 4, 0x0a /* Public */, | - |
| 99 | 12, 0, 69, 4, 0x0a /* Public */, | - |
| 100 | - | |
| 101 | // signals: parameters | - |
| 102 | QMetaType::Void, | - |
| 103 | QMetaType::Void, | - |
| 104 | QMetaType::Void, | - |
| 105 | QMetaType::Void, | - |
| 106 | QMetaType::Void, | - |
| 107 | - | |
| 108 | // slots: parameters | - |
| 109 | QMetaType::Void, | - |
| 110 | QMetaType::Void, | - |
| 111 | QMetaType::Void, | - |
| 112 | QMetaType::Void, | - |
| 113 | - | |
| 114 | // properties: name, type, flags | - |
| 115 | 13, 0x80000000 | 14, 0x0049510b, | - |
| 116 | 15, QMetaType::QReal, 0x00495103, | - |
| 117 | 16, QMetaType::QReal, 0x00495103, | - |
| 118 | 17, 0x80000000 | 18, 0x0049510b, | - |
| 119 | - | |
| 120 | // properties: notify_signal_id | - |
| 121 | 3, | - |
| 122 | 0, | - |
| 123 | 1, | - |
| 124 | 4, | - |
| 125 | - | |
| 126 | // enums: name, flags, count, data | - |
| 127 | 14, 0x0, 2, 94, | - |
| 128 | 18, 0x0, 3, 98, | - |
| 129 | - | |
| 130 | // enum data: key, value | - |
| 131 | 19, uint(QQuickGridView::FlowLeftToRight), | - |
| 132 | 20, uint(QQuickGridView::FlowTopToBottom), | - |
| 133 | 21, uint(QQuickGridView::NoSnap), | - |
| 134 | 22, uint(QQuickGridView::SnapToRow), | - |
| 135 | 23, uint(QQuickGridView::SnapOneRow), | - |
| 136 | - | |
| 137 | 0 // eod | - |
| 138 | }; | - |
| 139 | - | |
| 140 | void QQuickGridView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 141 | { | - |
| 142 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 143 | QQuickGridView *_t = static_cast<QQuickGridView *>(_o); | - |
| 144 | Q_UNUSED(_t) | - |
| 145 | switch (_id) { | - |
| 146 | case 0: _t->cellWidthChanged(); break; | - |
| 147 | case 1: _t->cellHeightChanged(); break; | - |
| 148 | case 2: _t->highlightMoveDurationChanged(); break; | - |
| 149 | case 3: _t->flowChanged(); break; | - |
| 150 | case 4: _t->snapModeChanged(); break; | - |
| 151 | case 5: _t->moveCurrentIndexUp(); break; | - |
| 152 | case 6: _t->moveCurrentIndexDown(); break; | - |
| 153 | case 7: _t->moveCurrentIndexLeft(); break; | - |
| 154 | case 8: _t->moveCurrentIndexRight(); break; | - |
| 155 | default: ; | - |
| 156 | } | - |
| 157 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 158 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 159 | { | - |
| 160 | using _t = void (QQuickGridView::*)(); | - |
| 161 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGridView::cellWidthChanged)) { | - |
| 162 | *result = 0; | - |
| 163 | return; | - |
| 164 | } | - |
| 165 | } | - |
| 166 | { | - |
| 167 | using _t = void (QQuickGridView::*)(); | - |
| 168 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGridView::cellHeightChanged)) { | - |
| 169 | *result = 1; | - |
| 170 | return; | - |
| 171 | } | - |
| 172 | } | - |
| 173 | { | - |
| 174 | using _t = void (QQuickGridView::*)(); | - |
| 175 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGridView::highlightMoveDurationChanged)) { | - |
| 176 | *result = 2; | - |
| 177 | return; | - |
| 178 | } | - |
| 179 | } | - |
| 180 | { | - |
| 181 | using _t = void (QQuickGridView::*)(); | - |
| 182 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGridView::flowChanged)) { | - |
| 183 | *result = 3; | - |
| 184 | return; | - |
| 185 | } | - |
| 186 | } | - |
| 187 | { | - |
| 188 | using _t = void (QQuickGridView::*)(); | - |
| 189 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGridView::snapModeChanged)) { | - |
| 190 | *result = 4; | - |
| 191 | return; | - |
| 192 | } | - |
| 193 | } | - |
| 194 | } | - |
| 195 | #ifndef QT_NO_PROPERTIES | - |
| 196 | else if (_c == QMetaObject::ReadProperty) { | - |
| 197 | QQuickGridView *_t = static_cast<QQuickGridView *>(_o); | - |
| 198 | Q_UNUSED(_t) | - |
| 199 | void *_v = _a[0]; | - |
| 200 | switch (_id) { | - |
| 201 | case 0: *reinterpret_cast< Flow*>(_v) = _t->flow(); break; | - |
| 202 | case 1: *reinterpret_cast< qreal*>(_v) = _t->cellWidth(); break; | - |
| 203 | case 2: *reinterpret_cast< qreal*>(_v) = _t->cellHeight(); break; | - |
| 204 | case 3: *reinterpret_cast< SnapMode*>(_v) = _t->snapMode(); break; | - |
| 205 | default: break; | - |
| 206 | } | - |
| 207 | } else if (_c == QMetaObject::WriteProperty) { | - |
| 208 | QQuickGridView *_t = static_cast<QQuickGridView *>(_o); | - |
| 209 | Q_UNUSED(_t) | - |
| 210 | void *_v = _a[0]; | - |
| 211 | switch (_id) { | - |
| 212 | case 0: _t->setFlow(*reinterpret_cast< Flow*>(_v)); break; | - |
| 213 | case 1: _t->setCellWidth(*reinterpret_cast< qreal*>(_v)); break; | - |
| 214 | case 2: _t->setCellHeight(*reinterpret_cast< qreal*>(_v)); break; | - |
| 215 | case 3: _t->setSnapMode(*reinterpret_cast< SnapMode*>(_v)); break; | - |
| 216 | default: break; | - |
| 217 | } | - |
| 218 | } else if (_c == QMetaObject::ResetProperty) { | - |
| 219 | } | - |
| 220 | #endif // QT_NO_PROPERTIES | - |
| 221 | Q_UNUSED(_a); | - |
| 222 | } | - |
| 223 | - | |
| 224 | QT_INIT_METAOBJECT const QMetaObject QQuickGridView::staticMetaObject = { | - |
| 225 | { &QQuickItemView::staticMetaObject, qt_meta_stringdata_QQuickGridView.data, | - |
| 226 | qt_meta_data_QQuickGridView, qt_static_metacall, nullptr, nullptr} | - |
| 227 | }; | - |
| 228 | - | |
| 229 | - | |
| 230 | const QMetaObject *QQuickGridView::metaObject() const | - |
| 231 | { | - |
| 232 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 233 | } | - |
| 234 | - | |
| 235 | void *QQuickGridView::qt_metacast(const char *_clname) | - |
| 236 | { | - |
| 237 | if (!_clname) return nullptr; | - |
| 238 | if (!strcmp(_clname, qt_meta_stringdata_QQuickGridView.stringdata0)) | - |
| 239 | return static_cast<void*>(this); | - |
| 240 | return QQuickItemView::qt_metacast(_clname); | - |
| 241 | } | - |
| 242 | - | |
| 243 | int QQuickGridView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 244 | { | - |
| 245 | _id = QQuickItemView::qt_metacall(_c, _id, _a); | - |
| 246 | if (_id < 0) | - |
| 247 | return _id; | - |
| 248 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 249 | if (_id < 9) | - |
| 250 | qt_static_metacall(this, _c, _id, _a); | - |
| 251 | _id -= 9; | - |
| 252 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 253 | if (_id < 9) | - |
| 254 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 255 | _id -= 9; | - |
| 256 | } | - |
| 257 | #ifndef QT_NO_PROPERTIES | - |
| 258 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
| 259 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
| 260 | qt_static_metacall(this, _c, _id, _a); | - |
| 261 | _id -= 4; | - |
| 262 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
| 263 | _id -= 4; | - |
| 264 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
| 265 | _id -= 4; | - |
| 266 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
| 267 | _id -= 4; | - |
| 268 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
| 269 | _id -= 4; | - |
| 270 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
| 271 | _id -= 4; | - |
| 272 | } | - |
| 273 | #endif // QT_NO_PROPERTIES | - |
| 274 | return _id; | - |
| 275 | } | - |
| 276 | - | |
| 277 | // SIGNAL 0 | - |
| 278 | void QQuickGridView::cellWidthChanged() | - |
| 279 | { | - |
| 280 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 281 | } executed 1740 times by 2 tests: end of blockExecuted by:
| 1740 |
| 282 | - | |
| 283 | // SIGNAL 1 | - |
| 284 | void QQuickGridView::cellHeightChanged() | - |
| 285 | { | - |
| 286 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 287 | } executed 1686 times by 2 tests: end of blockExecuted by:
| 1686 |
| 288 | - | |
| 289 | // SIGNAL 2 | - |
| 290 | void QQuickGridView::highlightMoveDurationChanged() | - |
| 291 | { | - |
| 292 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
| 293 | } never executed: end of block | 0 |
| 294 | - | |
| 295 | // SIGNAL 3 | - |
| 296 | void QQuickGridView::flowChanged() | - |
| 297 | { | - |
| 298 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
| 299 | } executed 666 times by 1 test: end of blockExecuted by:
| 666 |
| 300 | - | |
| 301 | // SIGNAL 4 | - |
| 302 | void QQuickGridView::snapModeChanged() | - |
| 303 | { | - |
| 304 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
| 305 | } executed 32 times by 1 test: end of blockExecuted by:
| 32 |
| 306 | struct qt_meta_stringdata_QQuickGridViewAttached_t { | - |
| 307 | QByteArrayData data[1]; | - |
| 308 | char stringdata0[23]; | - |
| 309 | }; | - |
| 310 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
| 311 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
| 312 | qptrdiff(offsetof(qt_meta_stringdata_QQuickGridViewAttached_t, stringdata0) + ofs \ | - |
| 313 | - idx * sizeof(QByteArrayData)) \ | - |
| 314 | ) | - |
| 315 | static const qt_meta_stringdata_QQuickGridViewAttached_t qt_meta_stringdata_QQuickGridViewAttached = { | - |
| 316 | { | - |
| 317 | QT_MOC_LITERAL(0, 0, 22) // "QQuickGridViewAttached" | - |
| 318 | - | |
| 319 | }, | - |
| 320 | "QQuickGridViewAttached" | - |
| 321 | }; | - |
| 322 | #undef QT_MOC_LITERAL | - |
| 323 | - | |
| 324 | static const uint qt_meta_data_QQuickGridViewAttached[] = { | - |
| 325 | - | |
| 326 | // content: | - |
| 327 | 7, // revision | - |
| 328 | 0, // classname | - |
| 329 | 0, 0, // classinfo | - |
| 330 | 0, 0, // methods | - |
| 331 | 0, 0, // properties | - |
| 332 | 0, 0, // enums/sets | - |
| 333 | 0, 0, // constructors | - |
| 334 | 0, // flags | - |
| 335 | 0, // signalCount | - |
| 336 | - | |
| 337 | 0 // eod | - |
| 338 | }; | - |
| 339 | - | |
| 340 | void QQuickGridViewAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 341 | { | - |
| 342 | Q_UNUSED(_o); | - |
| 343 | Q_UNUSED(_id); | - |
| 344 | Q_UNUSED(_c); | - |
| 345 | Q_UNUSED(_a); | - |
| 346 | } | - |
| 347 | - | |
| 348 | QT_INIT_METAOBJECT const QMetaObject QQuickGridViewAttached::staticMetaObject = { | - |
| 349 | { &QQuickItemViewAttached::staticMetaObject, qt_meta_stringdata_QQuickGridViewAttached.data, | - |
| 350 | qt_meta_data_QQuickGridViewAttached, qt_static_metacall, nullptr, nullptr} | - |
| 351 | }; | - |
| 352 | - | |
| 353 | - | |
| 354 | const QMetaObject *QQuickGridViewAttached::metaObject() const | - |
| 355 | { | - |
| 356 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 357 | } | - |
| 358 | - | |
| 359 | void *QQuickGridViewAttached::qt_metacast(const char *_clname) | - |
| 360 | { | - |
| 361 | if (!_clname) return nullptr; | - |
| 362 | if (!strcmp(_clname, qt_meta_stringdata_QQuickGridViewAttached.stringdata0)) | - |
| 363 | return static_cast<void*>(this); | - |
| 364 | return QQuickItemViewAttached::qt_metacast(_clname); | - |
| 365 | } | - |
| 366 | - | |
| 367 | int QQuickGridViewAttached::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 368 | { | - |
| 369 | _id = QQuickItemViewAttached::qt_metacall(_c, _id, _a); | - |
| 370 | return _id; | - |
| 371 | } | - |
| 372 | QT_WARNING_POP | - |
| 373 | QT_END_MOC_NAMESPACE | - |
| Source code | Switch to Preprocessed file |