| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickshortcut_p.cpp | 
| Source code | Switch to Preprocessed file | 
| Line | Source | Count | 
|---|---|---|
| 1 | /**************************************************************************** | - | 
| 2 | ** Meta object code from reading C++ file 'qquickshortcut_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 "../util/qquickshortcut_p.h" | - | 
| 10 | #include <QtCore/qbytearray.h> | - | 
| 11 | #include <QtCore/qmetatype.h> | - | 
| 12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - | 
| 13 | #error "The header file 'qquickshortcut_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_QQuickShortcut_t { | - | 
| 24 | QByteArrayData data[17]; | - | 
| 25 | char stringdata0[218]; | - | 
| 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_QQuickShortcut_t, stringdata0) + ofs \ | - | 
| 30 | - idx * sizeof(QByteArrayData)) \ | - | 
| 31 | ) | - | 
| 32 | static const qt_meta_stringdata_QQuickShortcut_t qt_meta_stringdata_QQuickShortcut = { | - | 
| 33 | { | - | 
| 34 | QT_MOC_LITERAL(0, 0, 14), // "QQuickShortcut" | - | 
| 35 | QT_MOC_LITERAL(1, 15, 15), // "sequenceChanged" | - | 
| 36 | QT_MOC_LITERAL(2, 31, 0), // "" | - | 
| 37 | QT_MOC_LITERAL(3, 32, 16), // "sequencesChanged" | - | 
| 38 | QT_MOC_LITERAL(4, 49, 14), // "enabledChanged" | - | 
| 39 | QT_MOC_LITERAL(5, 64, 17), // "autoRepeatChanged" | - | 
| 40 | QT_MOC_LITERAL(6, 82, 14), // "contextChanged" | - | 
| 41 | QT_MOC_LITERAL(7, 97, 9), // "activated" | - | 
| 42 | QT_MOC_LITERAL(8, 107, 20), // "activatedAmbiguously" | - | 
| 43 | QT_MOC_LITERAL(9, 128, 8), // "sequence" | - | 
| 44 | QT_MOC_LITERAL(10, 137, 9), // "sequences" | - | 
| 45 | QT_MOC_LITERAL(11, 147, 10), // "nativeText" | - | 
| 46 | QT_MOC_LITERAL(12, 158, 12), // "portableText" | - | 
| 47 | QT_MOC_LITERAL(13, 171, 7), // "enabled" | - | 
| 48 | QT_MOC_LITERAL(14, 179, 10), // "autoRepeat" | - | 
| 49 | QT_MOC_LITERAL(15, 190, 7), // "context" | - | 
| 50 | QT_MOC_LITERAL(16, 198, 19) // "Qt::ShortcutContext" | - | 
| 51 | - | |
| 52 | }, | - | 
| 53 | "QQuickShortcut\0sequenceChanged\0\0" | - | 
| 54 | "sequencesChanged\0enabledChanged\0" | - | 
| 55 | "autoRepeatChanged\0contextChanged\0" | - | 
| 56 | "activated\0activatedAmbiguously\0sequence\0" | - | 
| 57 | "sequences\0nativeText\0portableText\0" | - | 
| 58 | "enabled\0autoRepeat\0context\0" | - | 
| 59 | "Qt::ShortcutContext" | - | 
| 60 | }; | - | 
| 61 | #undef QT_MOC_LITERAL | - | 
| 62 | - | |
| 63 | static const uint qt_meta_data_QQuickShortcut[] = { | - | 
| 64 | - | |
| 65 | // content: | - | 
| 66 | 7, // revision | - | 
| 67 | 0, // classname | - | 
| 68 | 0, 0, // classinfo | - | 
| 69 | 7, 14, // methods | - | 
| 70 | 7, 63, // properties | - | 
| 71 | 0, 0, // enums/sets | - | 
| 72 | 0, 0, // constructors | - | 
| 73 | 0, // flags | - | 
| 74 | 7, // signalCount | - | 
| 75 | - | |
| 76 | // signals: name, argc, parameters, tag, flags | - | 
| 77 | 1, 0, 56, 2, 0x06 /* Public */, | - | 
| 78 | 3, 0, 57, 2, 0x86 /* Public | MethodRevisioned */, | - | 
| 79 | 4, 0, 58, 2, 0x06 /* Public */, | - | 
| 80 | 5, 0, 59, 2, 0x06 /* Public */, | - | 
| 81 | 6, 0, 60, 2, 0x06 /* Public */, | - | 
| 82 | 7, 0, 61, 2, 0x06 /* Public */, | - | 
| 83 | 8, 0, 62, 2, 0x06 /* Public */, | - | 
| 84 | - | |
| 85 | // signals: revision | - | 
| 86 | 0, | - | 
| 87 | 9, | - | 
| 88 | 0, | - | 
| 89 | 0, | - | 
| 90 | 0, | - | 
| 91 | 0, | - | 
| 92 | 0, | - | 
| 93 | - | |
| 94 | // signals: parameters | - | 
| 95 | QMetaType::Void, | - | 
| 96 | QMetaType::Void, | - | 
| 97 | QMetaType::Void, | - | 
| 98 | QMetaType::Void, | - | 
| 99 | QMetaType::Void, | - | 
| 100 | QMetaType::Void, | - | 
| 101 | QMetaType::Void, | - | 
| 102 | - | |
| 103 | // properties: name, type, flags | - | 
| 104 | 9, QMetaType::QVariant, 0x00495903, | - | 
| 105 | 10, QMetaType::QVariantList, 0x00c95903, | - | 
| 106 | 11, QMetaType::QString, 0x00c95801, | - | 
| 107 | 12, QMetaType::QString, 0x00c95801, | - | 
| 108 | 13, QMetaType::Bool, 0x00495903, | - | 
| 109 | 14, QMetaType::Bool, 0x00495903, | - | 
| 110 | 15, 0x80000000 | 16, 0x0049590b, | - | 
| 111 | - | |
| 112 | // properties: notify_signal_id | - | 
| 113 | 0, | - | 
| 114 | 1, | - | 
| 115 | 0, | - | 
| 116 | 0, | - | 
| 117 | 2, | - | 
| 118 | 3, | - | 
| 119 | 4, | - | 
| 120 | - | |
| 121 | // properties: revision | - | 
| 122 | 0, | - | 
| 123 | 9, | - | 
| 124 | 1, | - | 
| 125 | 1, | - | 
| 126 | 0, | - | 
| 127 | 0, | - | 
| 128 | 0, | - | 
| 129 | - | |
| 130 | 0 // eod | - | 
| 131 | }; | - | 
| 132 | - | |
| 133 | void QQuickShortcut::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - | 
| 134 | { | - | 
| 135 | if (_c == QMetaObject::InvokeMetaMethod) { | - | 
| 136 | QQuickShortcut *_t = static_cast<QQuickShortcut *>(_o); | - | 
| 137 | Q_UNUSED(_t) | - | 
| 138 | switch (_id) { | - | 
| 139 | case 0: _t->sequenceChanged(); break; | - | 
| 140 | case 1: _t->sequencesChanged(); break; | - | 
| 141 | case 2: _t->enabledChanged(); break; | - | 
| 142 | case 3: _t->autoRepeatChanged(); break; | - | 
| 143 | case 4: _t->contextChanged(); break; | - | 
| 144 | case 5: _t->activated(); break; | - | 
| 145 | case 6: _t->activatedAmbiguously(); break; | - | 
| 146 | default: ; | - | 
| 147 | } | - | 
| 148 | } else if (_c == QMetaObject::IndexOfMethod) { | - | 
| 149 | int *result = reinterpret_cast<int *>(_a[0]); | - | 
| 150 | { | - | 
| 151 | using _t = void (QQuickShortcut::*)(); | - | 
| 152 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShortcut::sequenceChanged)) { | - | 
| 153 | *result = 0; | - | 
| 154 | return; | - | 
| 155 | } | - | 
| 156 | } | - | 
| 157 | { | - | 
| 158 | using _t = void (QQuickShortcut::*)(); | - | 
| 159 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShortcut::sequencesChanged)) { | - | 
| 160 | *result = 1; | - | 
| 161 | return; | - | 
| 162 | } | - | 
| 163 | } | - | 
| 164 | { | - | 
| 165 | using _t = void (QQuickShortcut::*)(); | - | 
| 166 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShortcut::enabledChanged)) { | - | 
| 167 | *result = 2; | - | 
| 168 | return; | - | 
| 169 | } | - | 
| 170 | } | - | 
| 171 | { | - | 
| 172 | using _t = void (QQuickShortcut::*)(); | - | 
| 173 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShortcut::autoRepeatChanged)) { | - | 
| 174 | *result = 3; | - | 
| 175 | return; | - | 
| 176 | } | - | 
| 177 | } | - | 
| 178 | { | - | 
| 179 | using _t = void (QQuickShortcut::*)(); | - | 
| 180 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShortcut::contextChanged)) { | - | 
| 181 | *result = 4; | - | 
| 182 | return; | - | 
| 183 | } | - | 
| 184 | } | - | 
| 185 | { | - | 
| 186 | using _t = void (QQuickShortcut::*)(); | - | 
| 187 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShortcut::activated)) { | - | 
| 188 | *result = 5; | - | 
| 189 | return; | - | 
| 190 | } | - | 
| 191 | } | - | 
| 192 | { | - | 
| 193 | using _t = void (QQuickShortcut::*)(); | - | 
| 194 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShortcut::activatedAmbiguously)) { | - | 
| 195 | *result = 6; | - | 
| 196 | return; | - | 
| 197 | } | - | 
| 198 | } | - | 
| 199 | } | - | 
| 200 | #ifndef QT_NO_PROPERTIES | - | 
| 201 | else if (_c == QMetaObject::ReadProperty) { | - | 
| 202 | QQuickShortcut *_t = static_cast<QQuickShortcut *>(_o); | - | 
| 203 | Q_UNUSED(_t) | - | 
| 204 | void *_v = _a[0]; | - | 
| 205 | switch (_id) { | - | 
| 206 | case 0: *reinterpret_cast< QVariant*>(_v) = _t->sequence(); break; | - | 
| 207 | case 1: *reinterpret_cast< QVariantList*>(_v) = _t->sequences(); break; | - | 
| 208 | case 2: *reinterpret_cast< QString*>(_v) = _t->nativeText(); break; | - | 
| 209 | case 3: *reinterpret_cast< QString*>(_v) = _t->portableText(); break; | - | 
| 210 | case 4: *reinterpret_cast< bool*>(_v) = _t->isEnabled(); break; | - | 
| 211 | case 5: *reinterpret_cast< bool*>(_v) = _t->autoRepeat(); break; | - | 
| 212 | case 6: *reinterpret_cast< Qt::ShortcutContext*>(_v) = _t->context(); break; | - | 
| 213 | default: break; | - | 
| 214 | } | - | 
| 215 | } else if (_c == QMetaObject::WriteProperty) { | - | 
| 216 | QQuickShortcut *_t = static_cast<QQuickShortcut *>(_o); | - | 
| 217 | Q_UNUSED(_t) | - | 
| 218 | void *_v = _a[0]; | - | 
| 219 | switch (_id) { | - | 
| 220 | case 0: _t->setSequence(*reinterpret_cast< QVariant*>(_v)); break; | - | 
| 221 | case 1: _t->setSequences(*reinterpret_cast< QVariantList*>(_v)); break; | - | 
| 222 | case 4: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break; | - | 
| 223 | case 5: _t->setAutoRepeat(*reinterpret_cast< bool*>(_v)); break; | - | 
| 224 | case 6: _t->setContext(*reinterpret_cast< Qt::ShortcutContext*>(_v)); break; | - | 
| 225 | default: break; | - | 
| 226 | } | - | 
| 227 | } else if (_c == QMetaObject::ResetProperty) { | - | 
| 228 | } | - | 
| 229 | #endif // QT_NO_PROPERTIES | - | 
| 230 | Q_UNUSED(_a); | - | 
| 231 | } | - | 
| 232 | - | |
| 233 | QT_INIT_METAOBJECT const QMetaObject QQuickShortcut::staticMetaObject = { | - | 
| 234 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickShortcut.data, | - | 
| 235 | qt_meta_data_QQuickShortcut, qt_static_metacall, nullptr, nullptr} | - | 
| 236 | }; | - | 
| 237 | - | |
| 238 | - | |
| 239 | const QMetaObject *QQuickShortcut::metaObject() const | - | 
| 240 | { | - | 
| 241 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - | 
| 242 | } | - | 
| 243 | - | |
| 244 | void *QQuickShortcut::qt_metacast(const char *_clname) | - | 
| 245 | { | - | 
| 246 | if (!_clname) return nullptr; | - | 
| 247 | if (!strcmp(_clname, qt_meta_stringdata_QQuickShortcut.stringdata0)) | - | 
| 248 | return static_cast<void*>(this); | - | 
| 249 | if (!strcmp(_clname, "QQmlParserStatus")) | - | 
| 250 | return static_cast< QQmlParserStatus*>(this); | - | 
| 251 | if (!strcmp(_clname, "org.qt-project.Qt.QQmlParserStatus")) | - | 
| 252 | return static_cast< QQmlParserStatus*>(this); | - | 
| 253 | return QObject::qt_metacast(_clname); | - | 
| 254 | } | - | 
| 255 | - | |
| 256 | int QQuickShortcut::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - | 
| 257 | { | - | 
| 258 | _id = QObject::qt_metacall(_c, _id, _a); | - | 
| 259 | if (_id < 0) | - | 
| 260 | return _id; | - | 
| 261 | if (_c == QMetaObject::InvokeMetaMethod) { | - | 
| 262 | if (_id < 7) | - | 
| 263 | qt_static_metacall(this, _c, _id, _a); | - | 
| 264 | _id -= 7; | - | 
| 265 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - | 
| 266 | if (_id < 7) | - | 
| 267 | *reinterpret_cast<int*>(_a[0]) = -1; | - | 
| 268 | _id -= 7; | - | 
| 269 | } | - | 
| 270 | #ifndef QT_NO_PROPERTIES | - | 
| 271 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - | 
| 272 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - | 
| 273 | qt_static_metacall(this, _c, _id, _a); | - | 
| 274 | _id -= 7; | - | 
| 275 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - | 
| 276 | _id -= 7; | - | 
| 277 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - | 
| 278 | _id -= 7; | - | 
| 279 | } else if (_c == QMetaObject::QueryPropertyStored) { | - | 
| 280 | _id -= 7; | - | 
| 281 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - | 
| 282 | _id -= 7; | - | 
| 283 | } else if (_c == QMetaObject::QueryPropertyUser) { | - | 
| 284 | _id -= 7; | - | 
| 285 | } | - | 
| 286 | #endif // QT_NO_PROPERTIES | - | 
| 287 | return _id; | - | 
| 288 | } | - | 
| 289 | - | |
| 290 | // SIGNAL 0 | - | 
| 291 | void QQuickShortcut::sequenceChanged() | - | 
| 292 | { | - | 
| 293 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - | 
| 294 | } executed 1190 times by 2 tests:  end of blockExecuted by: 
 | 1190 | 
| 295 | - | |
| 296 | // SIGNAL 1 | - | 
| 297 | void QQuickShortcut::sequencesChanged() | - | 
| 298 | { | - | 
| 299 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - | 
| 300 | } executed 6 times by 1 test:  end of blockExecuted by: 
 | 6 | 
| 301 | - | |
| 302 | // SIGNAL 2 | - | 
| 303 | void QQuickShortcut::enabledChanged() | - | 
| 304 | { | - | 
| 305 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - | 
| 306 | } executed 450 times by 1 test:  end of blockExecuted by: 
 | 450 | 
| 307 | - | |
| 308 | // SIGNAL 3 | - | 
| 309 | void QQuickShortcut::autoRepeatChanged() | - | 
| 310 | { | - | 
| 311 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - | 
| 312 | } never executed:  end of block | 0 | 
| 313 | - | |
| 314 | // SIGNAL 4 | - | 
| 315 | void QQuickShortcut::contextChanged() | - | 
| 316 | { | - | 
| 317 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - | 
| 318 | } executed 196 times by 1 test:  end of blockExecuted by: 
 | 196 | 
| 319 | - | |
| 320 | // SIGNAL 5 | - | 
| 321 | void QQuickShortcut::activated() | - | 
| 322 | { | - | 
| 323 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | - | 
| 324 | } executed 52 times by 2 tests:  end of blockExecuted by: 
 | 52 | 
| 325 | - | |
| 326 | // SIGNAL 6 | - | 
| 327 | void QQuickShortcut::activatedAmbiguously() | - | 
| 328 | { | - | 
| 329 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | - | 
| 330 | } executed 18 times by 1 test:  end of blockExecuted by: 
 | 18 | 
| 331 | QT_WARNING_POP | - | 
| 332 | QT_END_MOC_NAMESPACE | - | 
| Source code | Switch to Preprocessed file |