| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickscalegrid_p_p.cpp |
| Source code | Switch to Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | /**************************************************************************** | - |
| 2 | ** Meta object code from reading C++ file 'qquickscalegrid_p_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/qquickscalegrid_p_p.h" | - |
| 10 | #include <QtCore/qbytearray.h> | - |
| 11 | #include <QtCore/qmetatype.h> | - |
| 12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
| 13 | #error "The header file 'qquickscalegrid_p_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_QQuickScaleGrid_t { | - |
| 24 | QByteArrayData data[11]; | - |
| 25 | char stringdata0[127]; | - |
| 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_QQuickScaleGrid_t, stringdata0) + ofs \ | - |
| 30 | - idx * sizeof(QByteArrayData)) \ | - |
| 31 | ) | - |
| 32 | static const qt_meta_stringdata_QQuickScaleGrid_t qt_meta_stringdata_QQuickScaleGrid = { | - |
| 33 | { | - |
| 34 | QT_MOC_LITERAL(0, 0, 15), // "QQuickScaleGrid" | - |
| 35 | QT_MOC_LITERAL(1, 16, 13), // "borderChanged" | - |
| 36 | QT_MOC_LITERAL(2, 30, 0), // "" | - |
| 37 | QT_MOC_LITERAL(3, 31, 17), // "leftBorderChanged" | - |
| 38 | QT_MOC_LITERAL(4, 49, 16), // "topBorderChanged" | - |
| 39 | QT_MOC_LITERAL(5, 66, 18), // "rightBorderChanged" | - |
| 40 | QT_MOC_LITERAL(6, 85, 19), // "bottomBorderChanged" | - |
| 41 | QT_MOC_LITERAL(7, 105, 4), // "left" | - |
| 42 | QT_MOC_LITERAL(8, 110, 3), // "top" | - |
| 43 | QT_MOC_LITERAL(9, 114, 5), // "right" | - |
| 44 | QT_MOC_LITERAL(10, 120, 6) // "bottom" | - |
| 45 | - | |
| 46 | }, | - |
| 47 | "QQuickScaleGrid\0borderChanged\0\0" | - |
| 48 | "leftBorderChanged\0topBorderChanged\0" | - |
| 49 | "rightBorderChanged\0bottomBorderChanged\0" | - |
| 50 | "left\0top\0right\0bottom" | - |
| 51 | }; | - |
| 52 | #undef QT_MOC_LITERAL | - |
| 53 | - | |
| 54 | static const uint qt_meta_data_QQuickScaleGrid[] = { | - |
| 55 | - | |
| 56 | // content: | - |
| 57 | 7, // revision | - |
| 58 | 0, // classname | - |
| 59 | 0, 0, // classinfo | - |
| 60 | 5, 14, // methods | - |
| 61 | 4, 44, // properties | - |
| 62 | 0, 0, // enums/sets | - |
| 63 | 0, 0, // constructors | - |
| 64 | 0, // flags | - |
| 65 | 5, // signalCount | - |
| 66 | - | |
| 67 | // signals: name, argc, parameters, tag, flags | - |
| 68 | 1, 0, 39, 2, 0x06 /* Public */, | - |
| 69 | 3, 0, 40, 2, 0x06 /* Public */, | - |
| 70 | 4, 0, 41, 2, 0x06 /* Public */, | - |
| 71 | 5, 0, 42, 2, 0x06 /* Public */, | - |
| 72 | 6, 0, 43, 2, 0x06 /* Public */, | - |
| 73 | - | |
| 74 | // signals: parameters | - |
| 75 | QMetaType::Void, | - |
| 76 | QMetaType::Void, | - |
| 77 | QMetaType::Void, | - |
| 78 | QMetaType::Void, | - |
| 79 | QMetaType::Void, | - |
| 80 | - | |
| 81 | // properties: name, type, flags | - |
| 82 | 7, QMetaType::Int, 0x00495103, | - |
| 83 | 8, QMetaType::Int, 0x00495103, | - |
| 84 | 9, QMetaType::Int, 0x00495103, | - |
| 85 | 10, QMetaType::Int, 0x00495103, | - |
| 86 | - | |
| 87 | // properties: notify_signal_id | - |
| 88 | 1, | - |
| 89 | 2, | - |
| 90 | 3, | - |
| 91 | 4, | - |
| 92 | - | |
| 93 | 0 // eod | - |
| 94 | }; | - |
| 95 | - | |
| 96 | void QQuickScaleGrid::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 97 | { | - |
| 98 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 99 | QQuickScaleGrid *_t = static_cast<QQuickScaleGrid *>(_o); | - |
| 100 | Q_UNUSED(_t) | - |
| 101 | switch (_id) { | - |
| 102 | case 0: _t->borderChanged(); break; | - |
| 103 | case 1: _t->leftBorderChanged(); break; | - |
| 104 | case 2: _t->topBorderChanged(); break; | - |
| 105 | case 3: _t->rightBorderChanged(); break; | - |
| 106 | case 4: _t->bottomBorderChanged(); break; | - |
| 107 | default: ; | - |
| 108 | } | - |
| 109 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 110 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 111 | { | - |
| 112 | using _t = void (QQuickScaleGrid::*)(); | - |
| 113 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScaleGrid::borderChanged)) { | - |
| 114 | *result = 0; | - |
| 115 | return; | - |
| 116 | } | - |
| 117 | } | - |
| 118 | { | - |
| 119 | using _t = void (QQuickScaleGrid::*)(); | - |
| 120 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScaleGrid::leftBorderChanged)) { | - |
| 121 | *result = 1; | - |
| 122 | return; | - |
| 123 | } | - |
| 124 | } | - |
| 125 | { | - |
| 126 | using _t = void (QQuickScaleGrid::*)(); | - |
| 127 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScaleGrid::topBorderChanged)) { | - |
| 128 | *result = 2; | - |
| 129 | return; | - |
| 130 | } | - |
| 131 | } | - |
| 132 | { | - |
| 133 | using _t = void (QQuickScaleGrid::*)(); | - |
| 134 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScaleGrid::rightBorderChanged)) { | - |
| 135 | *result = 3; | - |
| 136 | return; | - |
| 137 | } | - |
| 138 | } | - |
| 139 | { | - |
| 140 | using _t = void (QQuickScaleGrid::*)(); | - |
| 141 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScaleGrid::bottomBorderChanged)) { | - |
| 142 | *result = 4; | - |
| 143 | return; | - |
| 144 | } | - |
| 145 | } | - |
| 146 | } | - |
| 147 | #ifndef QT_NO_PROPERTIES | - |
| 148 | else if (_c == QMetaObject::ReadProperty) { | - |
| 149 | QQuickScaleGrid *_t = static_cast<QQuickScaleGrid *>(_o); | - |
| 150 | Q_UNUSED(_t) | - |
| 151 | void *_v = _a[0]; | - |
| 152 | switch (_id) { | - |
| 153 | case 0: *reinterpret_cast< int*>(_v) = _t->left(); break; | - |
| 154 | case 1: *reinterpret_cast< int*>(_v) = _t->top(); break; | - |
| 155 | case 2: *reinterpret_cast< int*>(_v) = _t->right(); break; | - |
| 156 | case 3: *reinterpret_cast< int*>(_v) = _t->bottom(); break; | - |
| 157 | default: break; | - |
| 158 | } | - |
| 159 | } else if (_c == QMetaObject::WriteProperty) { | - |
| 160 | QQuickScaleGrid *_t = static_cast<QQuickScaleGrid *>(_o); | - |
| 161 | Q_UNUSED(_t) | - |
| 162 | void *_v = _a[0]; | - |
| 163 | switch (_id) { | - |
| 164 | case 0: _t->setLeft(*reinterpret_cast< int*>(_v)); break; | - |
| 165 | case 1: _t->setTop(*reinterpret_cast< int*>(_v)); break; | - |
| 166 | case 2: _t->setRight(*reinterpret_cast< int*>(_v)); break; | - |
| 167 | case 3: _t->setBottom(*reinterpret_cast< int*>(_v)); break; | - |
| 168 | default: break; | - |
| 169 | } | - |
| 170 | } else if (_c == QMetaObject::ResetProperty) { | - |
| 171 | } | - |
| 172 | #endif // QT_NO_PROPERTIES | - |
| 173 | Q_UNUSED(_a); | - |
| 174 | } | - |
| 175 | - | |
| 176 | QT_INIT_METAOBJECT const QMetaObject QQuickScaleGrid::staticMetaObject = { | - |
| 177 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickScaleGrid.data, | - |
| 178 | qt_meta_data_QQuickScaleGrid, qt_static_metacall, nullptr, nullptr} | - |
| 179 | }; | - |
| 180 | - | |
| 181 | - | |
| 182 | const QMetaObject *QQuickScaleGrid::metaObject() const | - |
| 183 | { | - |
| 184 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 185 | } | - |
| 186 | - | |
| 187 | void *QQuickScaleGrid::qt_metacast(const char *_clname) | - |
| 188 | { | - |
| 189 | if (!_clname) return nullptr; | - |
| 190 | if (!strcmp(_clname, qt_meta_stringdata_QQuickScaleGrid.stringdata0)) | - |
| 191 | return static_cast<void*>(this); | - |
| 192 | return QObject::qt_metacast(_clname); | - |
| 193 | } | - |
| 194 | - | |
| 195 | int QQuickScaleGrid::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 196 | { | - |
| 197 | _id = QObject::qt_metacall(_c, _id, _a); | - |
| 198 | if (_id < 0) | - |
| 199 | return _id; | - |
| 200 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 201 | if (_id < 5) | - |
| 202 | qt_static_metacall(this, _c, _id, _a); | - |
| 203 | _id -= 5; | - |
| 204 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 205 | if (_id < 5) | - |
| 206 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 207 | _id -= 5; | - |
| 208 | } | - |
| 209 | #ifndef QT_NO_PROPERTIES | - |
| 210 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
| 211 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
| 212 | qt_static_metacall(this, _c, _id, _a); | - |
| 213 | _id -= 4; | - |
| 214 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
| 215 | _id -= 4; | - |
| 216 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
| 217 | _id -= 4; | - |
| 218 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
| 219 | _id -= 4; | - |
| 220 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
| 221 | _id -= 4; | - |
| 222 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
| 223 | _id -= 4; | - |
| 224 | } | - |
| 225 | #endif // QT_NO_PROPERTIES | - |
| 226 | return _id; | - |
| 227 | } | - |
| 228 | - | |
| 229 | // SIGNAL 0 | - |
| 230 | void QQuickScaleGrid::borderChanged() | - |
| 231 | { | - |
| 232 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 233 | } executed 384 times by 2 tests: end of blockExecuted by:
| 384 |
| 234 | - | |
| 235 | // SIGNAL 1 | - |
| 236 | void QQuickScaleGrid::leftBorderChanged() | - |
| 237 | { | - |
| 238 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 239 | } executed 98 times by 2 tests: end of blockExecuted by:
| 98 |
| 240 | - | |
| 241 | // SIGNAL 2 | - |
| 242 | void QQuickScaleGrid::topBorderChanged() | - |
| 243 | { | - |
| 244 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
| 245 | } executed 94 times by 2 tests: end of blockExecuted by:
| 94 |
| 246 | - | |
| 247 | // SIGNAL 3 | - |
| 248 | void QQuickScaleGrid::rightBorderChanged() | - |
| 249 | { | - |
| 250 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
| 251 | } executed 98 times by 2 tests: end of blockExecuted by:
| 98 |
| 252 | - | |
| 253 | // SIGNAL 4 | - |
| 254 | void QQuickScaleGrid::bottomBorderChanged() | - |
| 255 | { | - |
| 256 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
| 257 | } executed 94 times by 2 tests: end of blockExecuted by:
| 94 |
| 258 | QT_WARNING_POP | - |
| 259 | QT_END_MOC_NAMESPACE | - |
| Source code | Switch to Preprocessed file |