| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicktableview_p.cpp |
| Source code | Switch to Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | /**************************************************************************** | - |
| 2 | ** Meta object code from reading C++ file 'qquicktableview_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/qquicktableview_p.h" | - |
| 10 | #include <QtCore/qbytearray.h> | - |
| 11 | #include <QtCore/qmetatype.h> | - |
| 12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
| 13 | #error "The header file 'qquicktableview_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_QQuickTableView_t { | - |
| 24 | QByteArrayData data[25]; | - |
| 25 | char stringdata0[331]; | - |
| 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_QQuickTableView_t, stringdata0) + ofs \ | - |
| 30 | - idx * sizeof(QByteArrayData)) \ | - |
| 31 | ) | - |
| 32 | static const qt_meta_stringdata_QQuickTableView_t qt_meta_stringdata_QQuickTableView = { | - |
| 33 | { | - |
| 34 | QT_MOC_LITERAL(0, 0, 15), // "QQuickTableView" | - |
| 35 | QT_MOC_LITERAL(1, 16, 11), // "rowsChanged" | - |
| 36 | QT_MOC_LITERAL(2, 28, 0), // "" | - |
| 37 | QT_MOC_LITERAL(3, 29, 14), // "columnsChanged" | - |
| 38 | QT_MOC_LITERAL(4, 44, 17), // "rowSpacingChanged" | - |
| 39 | QT_MOC_LITERAL(5, 62, 20), // "columnSpacingChanged" | - |
| 40 | QT_MOC_LITERAL(6, 83, 16), // "topMarginChanged" | - |
| 41 | QT_MOC_LITERAL(7, 100, 19), // "bottomMarginChanged" | - |
| 42 | QT_MOC_LITERAL(8, 120, 17), // "leftMarginChanged" | - |
| 43 | QT_MOC_LITERAL(9, 138, 18), // "rightMarginChanged" | - |
| 44 | QT_MOC_LITERAL(10, 157, 18), // "cacheBufferChanged" | - |
| 45 | QT_MOC_LITERAL(11, 176, 12), // "modelChanged" | - |
| 46 | QT_MOC_LITERAL(12, 189, 15), // "delegateChanged" | - |
| 47 | QT_MOC_LITERAL(13, 205, 4), // "rows" | - |
| 48 | QT_MOC_LITERAL(14, 210, 7), // "columns" | - |
| 49 | QT_MOC_LITERAL(15, 218, 10), // "rowSpacing" | - |
| 50 | QT_MOC_LITERAL(16, 229, 13), // "columnSpacing" | - |
| 51 | QT_MOC_LITERAL(17, 243, 9), // "topMargin" | - |
| 52 | QT_MOC_LITERAL(18, 253, 12), // "bottomMargin" | - |
| 53 | QT_MOC_LITERAL(19, 266, 10), // "leftMargin" | - |
| 54 | QT_MOC_LITERAL(20, 277, 11), // "rightMargin" | - |
| 55 | QT_MOC_LITERAL(21, 289, 11), // "cacheBuffer" | - |
| 56 | QT_MOC_LITERAL(22, 301, 5), // "model" | - |
| 57 | QT_MOC_LITERAL(23, 307, 8), // "delegate" | - |
| 58 | QT_MOC_LITERAL(24, 316, 14) // "QQmlComponent*" | - |
| 59 | - | |
| 60 | }, | - |
| 61 | "QQuickTableView\0rowsChanged\0\0" | - |
| 62 | "columnsChanged\0rowSpacingChanged\0" | - |
| 63 | "columnSpacingChanged\0topMarginChanged\0" | - |
| 64 | "bottomMarginChanged\0leftMarginChanged\0" | - |
| 65 | "rightMarginChanged\0cacheBufferChanged\0" | - |
| 66 | "modelChanged\0delegateChanged\0rows\0" | - |
| 67 | "columns\0rowSpacing\0columnSpacing\0" | - |
| 68 | "topMargin\0bottomMargin\0leftMargin\0" | - |
| 69 | "rightMargin\0cacheBuffer\0model\0delegate\0" | - |
| 70 | "QQmlComponent*" | - |
| 71 | }; | - |
| 72 | #undef QT_MOC_LITERAL | - |
| 73 | - | |
| 74 | static const uint qt_meta_data_QQuickTableView[] = { | - |
| 75 | - | |
| 76 | // content: | - |
| 77 | 7, // revision | - |
| 78 | 0, // classname | - |
| 79 | 0, 0, // classinfo | - |
| 80 | 11, 14, // methods | - |
| 81 | 11, 80, // properties | - |
| 82 | 0, 0, // enums/sets | - |
| 83 | 0, 0, // constructors | - |
| 84 | 0, // flags | - |
| 85 | 11, // signalCount | - |
| 86 | - | |
| 87 | // signals: name, argc, parameters, tag, flags | - |
| 88 | 1, 0, 69, 2, 0x06 /* Public */, | - |
| 89 | 3, 0, 70, 2, 0x06 /* Public */, | - |
| 90 | 4, 0, 71, 2, 0x06 /* Public */, | - |
| 91 | 5, 0, 72, 2, 0x06 /* Public */, | - |
| 92 | 6, 0, 73, 2, 0x06 /* Public */, | - |
| 93 | 7, 0, 74, 2, 0x06 /* Public */, | - |
| 94 | 8, 0, 75, 2, 0x06 /* Public */, | - |
| 95 | 9, 0, 76, 2, 0x06 /* Public */, | - |
| 96 | 10, 0, 77, 2, 0x06 /* Public */, | - |
| 97 | 11, 0, 78, 2, 0x06 /* Public */, | - |
| 98 | 12, 0, 79, 2, 0x06 /* Public */, | - |
| 99 | - | |
| 100 | // signals: parameters | - |
| 101 | QMetaType::Void, | - |
| 102 | QMetaType::Void, | - |
| 103 | QMetaType::Void, | - |
| 104 | QMetaType::Void, | - |
| 105 | QMetaType::Void, | - |
| 106 | QMetaType::Void, | - |
| 107 | QMetaType::Void, | - |
| 108 | QMetaType::Void, | - |
| 109 | QMetaType::Void, | - |
| 110 | QMetaType::Void, | - |
| 111 | QMetaType::Void, | - |
| 112 | - | |
| 113 | // properties: name, type, flags | - |
| 114 | 13, QMetaType::Int, 0x00495001, | - |
| 115 | 14, QMetaType::Int, 0x00495001, | - |
| 116 | 15, QMetaType::QReal, 0x00495103, | - |
| 117 | 16, QMetaType::QReal, 0x00495103, | - |
| 118 | 17, QMetaType::QReal, 0x00495103, | - |
| 119 | 18, QMetaType::QReal, 0x00495103, | - |
| 120 | 19, QMetaType::QReal, 0x00495103, | - |
| 121 | 20, QMetaType::QReal, 0x00495103, | - |
| 122 | 21, QMetaType::Int, 0x00495103, | - |
| 123 | 22, QMetaType::QVariant, 0x00495103, | - |
| 124 | 23, 0x80000000 | 24, 0x0049510b, | - |
| 125 | - | |
| 126 | // properties: notify_signal_id | - |
| 127 | 0, | - |
| 128 | 1, | - |
| 129 | 2, | - |
| 130 | 3, | - |
| 131 | 4, | - |
| 132 | 5, | - |
| 133 | 6, | - |
| 134 | 7, | - |
| 135 | 8, | - |
| 136 | 9, | - |
| 137 | 10, | - |
| 138 | - | |
| 139 | 0 // eod | - |
| 140 | }; | - |
| 141 | - | |
| 142 | void QQuickTableView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 143 | { | - |
| 144 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 145 | QQuickTableView *_t = static_cast<QQuickTableView *>(_o); | - |
| 146 | Q_UNUSED(_t) | - |
| 147 | switch (_id) { | - |
| 148 | case 0: _t->rowsChanged(); break; | - |
| 149 | case 1: _t->columnsChanged(); break; | - |
| 150 | case 2: _t->rowSpacingChanged(); break; | - |
| 151 | case 3: _t->columnSpacingChanged(); break; | - |
| 152 | case 4: _t->topMarginChanged(); break; | - |
| 153 | case 5: _t->bottomMarginChanged(); break; | - |
| 154 | case 6: _t->leftMarginChanged(); break; | - |
| 155 | case 7: _t->rightMarginChanged(); break; | - |
| 156 | case 8: _t->cacheBufferChanged(); break; | - |
| 157 | case 9: _t->modelChanged(); break; | - |
| 158 | case 10: _t->delegateChanged(); break; | - |
| 159 | default: ; | - |
| 160 | } | - |
| 161 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 162 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 163 | { | - |
| 164 | using _t = void (QQuickTableView::*)(); | - |
| 165 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::rowsChanged)) { | - |
| 166 | *result = 0; | - |
| 167 | return; | - |
| 168 | } | - |
| 169 | } | - |
| 170 | { | - |
| 171 | using _t = void (QQuickTableView::*)(); | - |
| 172 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::columnsChanged)) { | - |
| 173 | *result = 1; | - |
| 174 | return; | - |
| 175 | } | - |
| 176 | } | - |
| 177 | { | - |
| 178 | using _t = void (QQuickTableView::*)(); | - |
| 179 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::rowSpacingChanged)) { | - |
| 180 | *result = 2; | - |
| 181 | return; | - |
| 182 | } | - |
| 183 | } | - |
| 184 | { | - |
| 185 | using _t = void (QQuickTableView::*)(); | - |
| 186 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::columnSpacingChanged)) { | - |
| 187 | *result = 3; | - |
| 188 | return; | - |
| 189 | } | - |
| 190 | } | - |
| 191 | { | - |
| 192 | using _t = void (QQuickTableView::*)(); | - |
| 193 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::topMarginChanged)) { | - |
| 194 | *result = 4; | - |
| 195 | return; | - |
| 196 | } | - |
| 197 | } | - |
| 198 | { | - |
| 199 | using _t = void (QQuickTableView::*)(); | - |
| 200 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::bottomMarginChanged)) { | - |
| 201 | *result = 5; | - |
| 202 | return; | - |
| 203 | } | - |
| 204 | } | - |
| 205 | { | - |
| 206 | using _t = void (QQuickTableView::*)(); | - |
| 207 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::leftMarginChanged)) { | - |
| 208 | *result = 6; | - |
| 209 | return; | - |
| 210 | } | - |
| 211 | } | - |
| 212 | { | - |
| 213 | using _t = void (QQuickTableView::*)(); | - |
| 214 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::rightMarginChanged)) { | - |
| 215 | *result = 7; | - |
| 216 | return; | - |
| 217 | } | - |
| 218 | } | - |
| 219 | { | - |
| 220 | using _t = void (QQuickTableView::*)(); | - |
| 221 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::cacheBufferChanged)) { | - |
| 222 | *result = 8; | - |
| 223 | return; | - |
| 224 | } | - |
| 225 | } | - |
| 226 | { | - |
| 227 | using _t = void (QQuickTableView::*)(); | - |
| 228 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::modelChanged)) { | - |
| 229 | *result = 9; | - |
| 230 | return; | - |
| 231 | } | - |
| 232 | } | - |
| 233 | { | - |
| 234 | using _t = void (QQuickTableView::*)(); | - |
| 235 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableView::delegateChanged)) { | - |
| 236 | *result = 10; | - |
| 237 | return; | - |
| 238 | } | - |
| 239 | } | - |
| 240 | } else if (_c == QMetaObject::RegisterPropertyMetaType) { | - |
| 241 | switch (_id) { | - |
| 242 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 243 | case 10: | - |
| 244 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break; | - |
| 245 | } | - |
| 246 | } | - |
| 247 | - | |
| 248 | #ifndef QT_NO_PROPERTIES | - |
| 249 | else if (_c == QMetaObject::ReadProperty) { | - |
| 250 | QQuickTableView *_t = static_cast<QQuickTableView *>(_o); | - |
| 251 | Q_UNUSED(_t) | - |
| 252 | void *_v = _a[0]; | - |
| 253 | switch (_id) { | - |
| 254 | case 0: *reinterpret_cast< int*>(_v) = _t->rows(); break; | - |
| 255 | case 1: *reinterpret_cast< int*>(_v) = _t->columns(); break; | - |
| 256 | case 2: *reinterpret_cast< qreal*>(_v) = _t->rowSpacing(); break; | - |
| 257 | case 3: *reinterpret_cast< qreal*>(_v) = _t->columnSpacing(); break; | - |
| 258 | case 4: *reinterpret_cast< qreal*>(_v) = _t->topMargin(); break; | - |
| 259 | case 5: *reinterpret_cast< qreal*>(_v) = _t->bottomMargin(); break; | - |
| 260 | case 6: *reinterpret_cast< qreal*>(_v) = _t->leftMargin(); break; | - |
| 261 | case 7: *reinterpret_cast< qreal*>(_v) = _t->rightMargin(); break; | - |
| 262 | case 8: *reinterpret_cast< int*>(_v) = _t->cacheBuffer(); break; | - |
| 263 | case 9: *reinterpret_cast< QVariant*>(_v) = _t->model(); break; | - |
| 264 | case 10: *reinterpret_cast< QQmlComponent**>(_v) = _t->delegate(); break; | - |
| 265 | default: break; | - |
| 266 | } | - |
| 267 | } else if (_c == QMetaObject::WriteProperty) { | - |
| 268 | QQuickTableView *_t = static_cast<QQuickTableView *>(_o); | - |
| 269 | Q_UNUSED(_t) | - |
| 270 | void *_v = _a[0]; | - |
| 271 | switch (_id) { | - |
| 272 | case 2: _t->setRowSpacing(*reinterpret_cast< qreal*>(_v)); break; | - |
| 273 | case 3: _t->setColumnSpacing(*reinterpret_cast< qreal*>(_v)); break; | - |
| 274 | case 4: _t->setTopMargin(*reinterpret_cast< qreal*>(_v)); break; | - |
| 275 | case 5: _t->setBottomMargin(*reinterpret_cast< qreal*>(_v)); break; | - |
| 276 | case 6: _t->setLeftMargin(*reinterpret_cast< qreal*>(_v)); break; | - |
| 277 | case 7: _t->setRightMargin(*reinterpret_cast< qreal*>(_v)); break; | - |
| 278 | case 8: _t->setCacheBuffer(*reinterpret_cast< int*>(_v)); break; | - |
| 279 | case 9: _t->setModel(*reinterpret_cast< QVariant*>(_v)); break; | - |
| 280 | case 10: _t->setDelegate(*reinterpret_cast< QQmlComponent**>(_v)); break; | - |
| 281 | default: break; | - |
| 282 | } | - |
| 283 | } else if (_c == QMetaObject::ResetProperty) { | - |
| 284 | } | - |
| 285 | #endif // QT_NO_PROPERTIES | - |
| 286 | } | - |
| 287 | - | |
| 288 | QT_INIT_METAOBJECT const QMetaObject QQuickTableView::staticMetaObject = { | - |
| 289 | { &QQuickFlickable::staticMetaObject, qt_meta_stringdata_QQuickTableView.data, | - |
| 290 | qt_meta_data_QQuickTableView, qt_static_metacall, nullptr, nullptr} | - |
| 291 | }; | - |
| 292 | - | |
| 293 | - | |
| 294 | const QMetaObject *QQuickTableView::metaObject() const | - |
| 295 | { | - |
| 296 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 297 | } | - |
| 298 | - | |
| 299 | void *QQuickTableView::qt_metacast(const char *_clname) | - |
| 300 | { | - |
| 301 | if (!_clname) return nullptr; | - |
| 302 | if (!strcmp(_clname, qt_meta_stringdata_QQuickTableView.stringdata0)) | - |
| 303 | return static_cast<void*>(this); | - |
| 304 | return QQuickFlickable::qt_metacast(_clname); | - |
| 305 | } | - |
| 306 | - | |
| 307 | int QQuickTableView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 308 | { | - |
| 309 | _id = QQuickFlickable::qt_metacall(_c, _id, _a); | - |
| 310 | if (_id < 0) | - |
| 311 | return _id; | - |
| 312 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 313 | if (_id < 11) | - |
| 314 | qt_static_metacall(this, _c, _id, _a); | - |
| 315 | _id -= 11; | - |
| 316 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 317 | if (_id < 11) | - |
| 318 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 319 | _id -= 11; | - |
| 320 | } | - |
| 321 | #ifndef QT_NO_PROPERTIES | - |
| 322 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
| 323 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
| 324 | qt_static_metacall(this, _c, _id, _a); | - |
| 325 | _id -= 11; | - |
| 326 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
| 327 | _id -= 11; | - |
| 328 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
| 329 | _id -= 11; | - |
| 330 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
| 331 | _id -= 11; | - |
| 332 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
| 333 | _id -= 11; | - |
| 334 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
| 335 | _id -= 11; | - |
| 336 | } | - |
| 337 | #endif // QT_NO_PROPERTIES | - |
| 338 | return _id; | - |
| 339 | } | - |
| 340 | - | |
| 341 | // SIGNAL 0 | - |
| 342 | void QQuickTableView::rowsChanged() | - |
| 343 | { | - |
| 344 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 345 | } executed 102 times by 1 test: end of blockExecuted by:
| 102 |
| 346 | - | |
| 347 | // SIGNAL 1 | - |
| 348 | void QQuickTableView::columnsChanged() | - |
| 349 | { | - |
| 350 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 351 | } executed 102 times by 1 test: end of blockExecuted by:
| 102 |
| 352 | - | |
| 353 | // SIGNAL 2 | - |
| 354 | void QQuickTableView::rowSpacingChanged() | - |
| 355 | { | - |
| 356 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
| 357 | } executed 100 times by 1 test: end of blockExecuted by:
| 100 |
| 358 | - | |
| 359 | // SIGNAL 3 | - |
| 360 | void QQuickTableView::columnSpacingChanged() | - |
| 361 | { | - |
| 362 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
| 363 | } executed 100 times by 1 test: end of blockExecuted by:
| 100 |
| 364 | - | |
| 365 | // SIGNAL 4 | - |
| 366 | void QQuickTableView::topMarginChanged() | - |
| 367 | { | - |
| 368 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
| 369 | } never executed: end of block | 0 |
| 370 | - | |
| 371 | // SIGNAL 5 | - |
| 372 | void QQuickTableView::bottomMarginChanged() | - |
| 373 | { | - |
| 374 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | - |
| 375 | } never executed: end of block | 0 |
| 376 | - | |
| 377 | // SIGNAL 6 | - |
| 378 | void QQuickTableView::leftMarginChanged() | - |
| 379 | { | - |
| 380 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | - |
| 381 | } never executed: end of block | 0 |
| 382 | - | |
| 383 | // SIGNAL 7 | - |
| 384 | void QQuickTableView::rightMarginChanged() | - |
| 385 | { | - |
| 386 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); | - |
| 387 | } never executed: end of block | 0 |
| 388 | - | |
| 389 | // SIGNAL 8 | - |
| 390 | void QQuickTableView::cacheBufferChanged() | - |
| 391 | { | - |
| 392 | QMetaObject::activate(this, &staticMetaObject, 8, nullptr); | - |
| 393 | } executed 102 times by 1 test: end of blockExecuted by:
| 102 |
| 394 | - | |
| 395 | // SIGNAL 9 | - |
| 396 | void QQuickTableView::modelChanged() | - |
| 397 | { | - |
| 398 | QMetaObject::activate(this, &staticMetaObject, 9, nullptr); | - |
| 399 | } never executed: end of block | 0 |
| 400 | - | |
| 401 | // SIGNAL 10 | - |
| 402 | void QQuickTableView::delegateChanged() | - |
| 403 | { | - |
| 404 | QMetaObject::activate(this, &staticMetaObject, 10, nullptr); | - |
| 405 | } executed 102 times by 1 test: end of blockExecuted by:
| 102 |
| 406 | struct qt_meta_stringdata_QQuickTableViewAttached_t { | - |
| 407 | QByteArrayData data[13]; | - |
| 408 | char stringdata0[161]; | - |
| 409 | }; | - |
| 410 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
| 411 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
| 412 | qptrdiff(offsetof(qt_meta_stringdata_QQuickTableViewAttached_t, stringdata0) + ofs \ | - |
| 413 | - idx * sizeof(QByteArrayData)) \ | - |
| 414 | ) | - |
| 415 | static const qt_meta_stringdata_QQuickTableViewAttached_t qt_meta_stringdata_QQuickTableViewAttached = { | - |
| 416 | { | - |
| 417 | QT_MOC_LITERAL(0, 0, 23), // "QQuickTableViewAttached" | - |
| 418 | QT_MOC_LITERAL(1, 24, 16), // "tableViewChanged" | - |
| 419 | QT_MOC_LITERAL(2, 41, 0), // "" | - |
| 420 | QT_MOC_LITERAL(3, 42, 16), // "cellWidthChanged" | - |
| 421 | QT_MOC_LITERAL(4, 59, 17), // "cellHeightChanged" | - |
| 422 | QT_MOC_LITERAL(5, 77, 10), // "rowChanged" | - |
| 423 | QT_MOC_LITERAL(6, 88, 13), // "columnChanged" | - |
| 424 | QT_MOC_LITERAL(7, 102, 9), // "tableView" | - |
| 425 | QT_MOC_LITERAL(8, 112, 16), // "QQuickTableView*" | - |
| 426 | QT_MOC_LITERAL(9, 129, 9), // "cellWidth" | - |
| 427 | QT_MOC_LITERAL(10, 139, 10), // "cellHeight" | - |
| 428 | QT_MOC_LITERAL(11, 150, 3), // "row" | - |
| 429 | QT_MOC_LITERAL(12, 154, 6) // "column" | - |
| 430 | - | |
| 431 | }, | - |
| 432 | "QQuickTableViewAttached\0tableViewChanged\0" | - |
| 433 | "\0cellWidthChanged\0cellHeightChanged\0" | - |
| 434 | "rowChanged\0columnChanged\0tableView\0" | - |
| 435 | "QQuickTableView*\0cellWidth\0cellHeight\0" | - |
| 436 | "row\0column" | - |
| 437 | }; | - |
| 438 | #undef QT_MOC_LITERAL | - |
| 439 | - | |
| 440 | static const uint qt_meta_data_QQuickTableViewAttached[] = { | - |
| 441 | - | |
| 442 | // content: | - |
| 443 | 7, // revision | - |
| 444 | 0, // classname | - |
| 445 | 0, 0, // classinfo | - |
| 446 | 5, 14, // methods | - |
| 447 | 5, 44, // properties | - |
| 448 | 0, 0, // enums/sets | - |
| 449 | 0, 0, // constructors | - |
| 450 | 0, // flags | - |
| 451 | 5, // signalCount | - |
| 452 | - | |
| 453 | // signals: name, argc, parameters, tag, flags | - |
| 454 | 1, 0, 39, 2, 0x06 /* Public */, | - |
| 455 | 3, 0, 40, 2, 0x06 /* Public */, | - |
| 456 | 4, 0, 41, 2, 0x06 /* Public */, | - |
| 457 | 5, 0, 42, 2, 0x06 /* Public */, | - |
| 458 | 6, 0, 43, 2, 0x06 /* Public */, | - |
| 459 | - | |
| 460 | // signals: parameters | - |
| 461 | QMetaType::Void, | - |
| 462 | QMetaType::Void, | - |
| 463 | QMetaType::Void, | - |
| 464 | QMetaType::Void, | - |
| 465 | QMetaType::Void, | - |
| 466 | - | |
| 467 | // properties: name, type, flags | - |
| 468 | 7, 0x80000000 | 8, 0x00495009, | - |
| 469 | 9, QMetaType::QReal, 0x00495103, | - |
| 470 | 10, QMetaType::QReal, 0x00495103, | - |
| 471 | 11, QMetaType::Int, 0x00495001, | - |
| 472 | 12, QMetaType::Int, 0x00495001, | - |
| 473 | - | |
| 474 | // properties: notify_signal_id | - |
| 475 | 0, | - |
| 476 | 1, | - |
| 477 | 2, | - |
| 478 | 3, | - |
| 479 | 4, | - |
| 480 | - | |
| 481 | 0 // eod | - |
| 482 | }; | - |
| 483 | - | |
| 484 | void QQuickTableViewAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 485 | { | - |
| 486 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 487 | QQuickTableViewAttached *_t = static_cast<QQuickTableViewAttached *>(_o); | - |
| 488 | Q_UNUSED(_t) | - |
| 489 | switch (_id) { | - |
| 490 | case 0: _t->tableViewChanged(); break; | - |
| 491 | case 1: _t->cellWidthChanged(); break; | - |
| 492 | case 2: _t->cellHeightChanged(); break; | - |
| 493 | case 3: _t->rowChanged(); break; | - |
| 494 | case 4: _t->columnChanged(); break; | - |
| 495 | default: ; | - |
| 496 | } | - |
| 497 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 498 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 499 | { | - |
| 500 | using _t = void (QQuickTableViewAttached::*)(); | - |
| 501 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableViewAttached::tableViewChanged)) { | - |
| 502 | *result = 0; | - |
| 503 | return; | - |
| 504 | } | - |
| 505 | } | - |
| 506 | { | - |
| 507 | using _t = void (QQuickTableViewAttached::*)(); | - |
| 508 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableViewAttached::cellWidthChanged)) { | - |
| 509 | *result = 1; | - |
| 510 | return; | - |
| 511 | } | - |
| 512 | } | - |
| 513 | { | - |
| 514 | using _t = void (QQuickTableViewAttached::*)(); | - |
| 515 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableViewAttached::cellHeightChanged)) { | - |
| 516 | *result = 2; | - |
| 517 | return; | - |
| 518 | } | - |
| 519 | } | - |
| 520 | { | - |
| 521 | using _t = void (QQuickTableViewAttached::*)(); | - |
| 522 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableViewAttached::rowChanged)) { | - |
| 523 | *result = 3; | - |
| 524 | return; | - |
| 525 | } | - |
| 526 | } | - |
| 527 | { | - |
| 528 | using _t = void (QQuickTableViewAttached::*)(); | - |
| 529 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTableViewAttached::columnChanged)) { | - |
| 530 | *result = 4; | - |
| 531 | return; | - |
| 532 | } | - |
| 533 | } | - |
| 534 | } else if (_c == QMetaObject::RegisterPropertyMetaType) { | - |
| 535 | switch (_id) { | - |
| 536 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 537 | case 0: | - |
| 538 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickTableView* >(); break; | - |
| 539 | } | - |
| 540 | } | - |
| 541 | - | |
| 542 | #ifndef QT_NO_PROPERTIES | - |
| 543 | else if (_c == QMetaObject::ReadProperty) { | - |
| 544 | QQuickTableViewAttached *_t = static_cast<QQuickTableViewAttached *>(_o); | - |
| 545 | Q_UNUSED(_t) | - |
| 546 | void *_v = _a[0]; | - |
| 547 | switch (_id) { | - |
| 548 | case 0: *reinterpret_cast< QQuickTableView**>(_v) = _t->tableView(); break; | - |
| 549 | case 1: *reinterpret_cast< qreal*>(_v) = _t->cellWidth(); break; | - |
| 550 | case 2: *reinterpret_cast< qreal*>(_v) = _t->cellHeight(); break; | - |
| 551 | case 3: *reinterpret_cast< int*>(_v) = _t->row(); break; | - |
| 552 | case 4: *reinterpret_cast< int*>(_v) = _t->column(); break; | - |
| 553 | default: break; | - |
| 554 | } | - |
| 555 | } else if (_c == QMetaObject::WriteProperty) { | - |
| 556 | QQuickTableViewAttached *_t = static_cast<QQuickTableViewAttached *>(_o); | - |
| 557 | Q_UNUSED(_t) | - |
| 558 | void *_v = _a[0]; | - |
| 559 | switch (_id) { | - |
| 560 | case 1: _t->setCellWidth(*reinterpret_cast< qreal*>(_v)); break; | - |
| 561 | case 2: _t->setCellHeight(*reinterpret_cast< qreal*>(_v)); break; | - |
| 562 | default: break; | - |
| 563 | } | - |
| 564 | } else if (_c == QMetaObject::ResetProperty) { | - |
| 565 | } | - |
| 566 | #endif // QT_NO_PROPERTIES | - |
| 567 | } | - |
| 568 | - | |
| 569 | QT_INIT_METAOBJECT const QMetaObject QQuickTableViewAttached::staticMetaObject = { | - |
| 570 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickTableViewAttached.data, | - |
| 571 | qt_meta_data_QQuickTableViewAttached, qt_static_metacall, nullptr, nullptr} | - |
| 572 | }; | - |
| 573 | - | |
| 574 | - | |
| 575 | const QMetaObject *QQuickTableViewAttached::metaObject() const | - |
| 576 | { | - |
| 577 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 578 | } | - |
| 579 | - | |
| 580 | void *QQuickTableViewAttached::qt_metacast(const char *_clname) | - |
| 581 | { | - |
| 582 | if (!_clname) return nullptr; | - |
| 583 | if (!strcmp(_clname, qt_meta_stringdata_QQuickTableViewAttached.stringdata0)) | - |
| 584 | return static_cast<void*>(this); | - |
| 585 | return QObject::qt_metacast(_clname); | - |
| 586 | } | - |
| 587 | - | |
| 588 | int QQuickTableViewAttached::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 589 | { | - |
| 590 | _id = QObject::qt_metacall(_c, _id, _a); | - |
| 591 | if (_id < 0) | - |
| 592 | return _id; | - |
| 593 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 594 | if (_id < 5) | - |
| 595 | qt_static_metacall(this, _c, _id, _a); | - |
| 596 | _id -= 5; | - |
| 597 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 598 | if (_id < 5) | - |
| 599 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 600 | _id -= 5; | - |
| 601 | } | - |
| 602 | #ifndef QT_NO_PROPERTIES | - |
| 603 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
| 604 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
| 605 | qt_static_metacall(this, _c, _id, _a); | - |
| 606 | _id -= 5; | - |
| 607 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
| 608 | _id -= 5; | - |
| 609 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
| 610 | _id -= 5; | - |
| 611 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
| 612 | _id -= 5; | - |
| 613 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
| 614 | _id -= 5; | - |
| 615 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
| 616 | _id -= 5; | - |
| 617 | } | - |
| 618 | #endif // QT_NO_PROPERTIES | - |
| 619 | return _id; | - |
| 620 | } | - |
| 621 | - | |
| 622 | // SIGNAL 0 | - |
| 623 | void QQuickTableViewAttached::tableViewChanged() | - |
| 624 | { | - |
| 625 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 626 | } never executed: end of block | 0 |
| 627 | - | |
| 628 | // SIGNAL 1 | - |
| 629 | void QQuickTableViewAttached::cellWidthChanged() | - |
| 630 | { | - |
| 631 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 632 | } never executed: end of block | 0 |
| 633 | - | |
| 634 | // SIGNAL 2 | - |
| 635 | void QQuickTableViewAttached::cellHeightChanged() | - |
| 636 | { | - |
| 637 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
| 638 | } never executed: end of block | 0 |
| 639 | - | |
| 640 | // SIGNAL 3 | - |
| 641 | void QQuickTableViewAttached::rowChanged() | - |
| 642 | { | - |
| 643 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
| 644 | } never executed: end of block | 0 |
| 645 | - | |
| 646 | // SIGNAL 4 | - |
| 647 | void QQuickTableViewAttached::columnChanged() | - |
| 648 | { | - |
| 649 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
| 650 | } never executed: end of block | 0 |
| 651 | QT_WARNING_POP | - |
| 652 | QT_END_MOC_NAMESPACE | - |
| Source code | Switch to Preprocessed file |