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