| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qsgcontext_p.cpp |
| Source code | Switch to Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | /**************************************************************************** | - |
| 2 | ** Meta object code from reading C++ file 'qsgcontext_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 "../scenegraph/qsgcontext_p.h" | - |
| 10 | #include <QtCore/qbytearray.h> | - |
| 11 | #include <QtCore/qmetatype.h> | - |
| 12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
| 13 | #error "The header file 'qsgcontext_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_QSGContext_t { | - |
| 24 | QByteArrayData data[1]; | - |
| 25 | char stringdata0[11]; | - |
| 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_QSGContext_t, stringdata0) + ofs \ | - |
| 30 | - idx * sizeof(QByteArrayData)) \ | - |
| 31 | ) | - |
| 32 | static const qt_meta_stringdata_QSGContext_t qt_meta_stringdata_QSGContext = { | - |
| 33 | { | - |
| 34 | QT_MOC_LITERAL(0, 0, 10) // "QSGContext" | - |
| 35 | - | |
| 36 | }, | - |
| 37 | "QSGContext" | - |
| 38 | }; | - |
| 39 | #undef QT_MOC_LITERAL | - |
| 40 | - | |
| 41 | static const uint qt_meta_data_QSGContext[] = { | - |
| 42 | - | |
| 43 | // content: | - |
| 44 | 7, // revision | - |
| 45 | 0, // classname | - |
| 46 | 0, 0, // classinfo | - |
| 47 | 0, 0, // methods | - |
| 48 | 0, 0, // properties | - |
| 49 | 0, 0, // enums/sets | - |
| 50 | 0, 0, // constructors | - |
| 51 | 0, // flags | - |
| 52 | 0, // signalCount | - |
| 53 | - | |
| 54 | 0 // eod | - |
| 55 | }; | - |
| 56 | - | |
| 57 | void QSGContext::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 58 | { | - |
| 59 | Q_UNUSED(_o); | - |
| 60 | Q_UNUSED(_id); | - |
| 61 | Q_UNUSED(_c); | - |
| 62 | Q_UNUSED(_a); | - |
| 63 | } | - |
| 64 | - | |
| 65 | QT_INIT_METAOBJECT const QMetaObject QSGContext::staticMetaObject = { | - |
| 66 | { &QObject::staticMetaObject, qt_meta_stringdata_QSGContext.data, | - |
| 67 | qt_meta_data_QSGContext, qt_static_metacall, nullptr, nullptr} | - |
| 68 | }; | - |
| 69 | - | |
| 70 | - | |
| 71 | const QMetaObject *QSGContext::metaObject() const | - |
| 72 | { | - |
| 73 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 74 | } | - |
| 75 | - | |
| 76 | void *QSGContext::qt_metacast(const char *_clname) | - |
| 77 | { | - |
| 78 | if (!_clname) return nullptr; | - |
| 79 | if (!strcmp(_clname, qt_meta_stringdata_QSGContext.stringdata0)) | - |
| 80 | return static_cast<void*>(this); | - |
| 81 | return QObject::qt_metacast(_clname); | - |
| 82 | } | - |
| 83 | - | |
| 84 | int QSGContext::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 85 | { | - |
| 86 | _id = QObject::qt_metacall(_c, _id, _a); | - |
| 87 | return _id; | - |
| 88 | } | - |
| 89 | struct qt_meta_stringdata_QSGRenderContext_t { | - |
| 90 | QByteArrayData data[6]; | - |
| 91 | char stringdata0[68]; | - |
| 92 | }; | - |
| 93 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
| 94 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
| 95 | qptrdiff(offsetof(qt_meta_stringdata_QSGRenderContext_t, stringdata0) + ofs \ | - |
| 96 | - idx * sizeof(QByteArrayData)) \ | - |
| 97 | ) | - |
| 98 | static const qt_meta_stringdata_QSGRenderContext_t qt_meta_stringdata_QSGRenderContext = { | - |
| 99 | { | - |
| 100 | QT_MOC_LITERAL(0, 0, 16), // "QSGRenderContext" | - |
| 101 | QT_MOC_LITERAL(1, 17, 11), // "initialized" | - |
| 102 | QT_MOC_LITERAL(2, 29, 0), // "" | - |
| 103 | QT_MOC_LITERAL(3, 30, 11), // "invalidated" | - |
| 104 | QT_MOC_LITERAL(4, 42, 23), // "textureFactoryDestroyed" | - |
| 105 | QT_MOC_LITERAL(5, 66, 1) // "o" | - |
| 106 | - | |
| 107 | }, | - |
| 108 | "QSGRenderContext\0initialized\0\0invalidated\0" | - |
| 109 | "textureFactoryDestroyed\0o" | - |
| 110 | }; | - |
| 111 | #undef QT_MOC_LITERAL | - |
| 112 | - | |
| 113 | static const uint qt_meta_data_QSGRenderContext[] = { | - |
| 114 | - | |
| 115 | // content: | - |
| 116 | 7, // revision | - |
| 117 | 0, // classname | - |
| 118 | 0, 0, // classinfo | - |
| 119 | 3, 14, // methods | - |
| 120 | 0, 0, // properties | - |
| 121 | 0, 0, // enums/sets | - |
| 122 | 0, 0, // constructors | - |
| 123 | 0, // flags | - |
| 124 | 2, // signalCount | - |
| 125 | - | |
| 126 | // signals: name, argc, parameters, tag, flags | - |
| 127 | 1, 0, 29, 2, 0x06 /* Public */, | - |
| 128 | 3, 0, 30, 2, 0x06 /* Public */, | - |
| 129 | - | |
| 130 | // slots: name, argc, parameters, tag, flags | - |
| 131 | 4, 1, 31, 2, 0x0a /* Public */, | - |
| 132 | - | |
| 133 | // signals: parameters | - |
| 134 | QMetaType::Void, | - |
| 135 | QMetaType::Void, | - |
| 136 | - | |
| 137 | // slots: parameters | - |
| 138 | QMetaType::Void, QMetaType::QObjectStar, 5, | - |
| 139 | - | |
| 140 | 0 // eod | - |
| 141 | }; | - |
| 142 | - | |
| 143 | void QSGRenderContext::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 144 | { | - |
| 145 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 146 | QSGRenderContext *_t = static_cast<QSGRenderContext *>(_o); | - |
| 147 | Q_UNUSED(_t) | - |
| 148 | switch (_id) { | - |
| 149 | case 0: _t->initialized(); break; | - |
| 150 | case 1: _t->invalidated(); break; | - |
| 151 | case 2: _t->textureFactoryDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break; | - |
| 152 | default: ; | - |
| 153 | } | - |
| 154 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 155 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 156 | { | - |
| 157 | using _t = void (QSGRenderContext::*)(); | - |
| 158 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSGRenderContext::initialized)) { | - |
| 159 | *result = 0; | - |
| 160 | return; | - |
| 161 | } | - |
| 162 | } | - |
| 163 | { | - |
| 164 | using _t = void (QSGRenderContext::*)(); | - |
| 165 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QSGRenderContext::invalidated)) { | - |
| 166 | *result = 1; | - |
| 167 | return; | - |
| 168 | } | - |
| 169 | } | - |
| 170 | } | - |
| 171 | } | - |
| 172 | - | |
| 173 | QT_INIT_METAOBJECT const QMetaObject QSGRenderContext::staticMetaObject = { | - |
| 174 | { &QObject::staticMetaObject, qt_meta_stringdata_QSGRenderContext.data, | - |
| 175 | qt_meta_data_QSGRenderContext, qt_static_metacall, nullptr, nullptr} | - |
| 176 | }; | - |
| 177 | - | |
| 178 | - | |
| 179 | const QMetaObject *QSGRenderContext::metaObject() const | - |
| 180 | { | - |
| 181 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 182 | } | - |
| 183 | - | |
| 184 | void *QSGRenderContext::qt_metacast(const char *_clname) | - |
| 185 | { | - |
| 186 | if (!_clname) return nullptr; | - |
| 187 | if (!strcmp(_clname, qt_meta_stringdata_QSGRenderContext.stringdata0)) | - |
| 188 | return static_cast<void*>(this); | - |
| 189 | return QObject::qt_metacast(_clname); | - |
| 190 | } | - |
| 191 | - | |
| 192 | int QSGRenderContext::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 193 | { | - |
| 194 | _id = QObject::qt_metacall(_c, _id, _a); | - |
| 195 | if (_id < 0) | - |
| 196 | return _id; | - |
| 197 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 198 | if (_id < 3) | - |
| 199 | qt_static_metacall(this, _c, _id, _a); | - |
| 200 | _id -= 3; | - |
| 201 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 202 | if (_id < 3) | - |
| 203 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 204 | _id -= 3; | - |
| 205 | } | - |
| 206 | return _id; | - |
| 207 | } | - |
| 208 | - | |
| 209 | // SIGNAL 0 | - |
| 210 | void QSGRenderContext::initialized() | - |
| 211 | { | - |
| 212 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 213 | } executed 3126 times by 77 tests: end of blockExecuted by:
| 3126 |
| 214 | - | |
| 215 | // SIGNAL 1 | - |
| 216 | void QSGRenderContext::invalidated() | - |
| 217 | { | - |
| 218 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 219 | } executed 3136 times by 77 tests: end of blockExecuted by:
| 3136 |
| 220 | QT_WARNING_POP | - |
| 221 | QT_END_MOC_NAMESPACE | - |
| Source code | Switch to Preprocessed file |