Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/.moc/moc_qqmldebugservice_p.cpp |
Source code | Switch to Preprocessed file |
Line | Source | Count |
---|---|---|
1 | /**************************************************************************** | - |
2 | ** Meta object code from reading C++ file 'qqmldebugservice_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 "../debugger/qqmldebugservice_p.h" | - |
10 | #include <QtCore/qbytearray.h> | - |
11 | #include <QtCore/qmetatype.h> | - |
12 | #include <QtCore/QList> | - |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
14 | #error "The header file 'qqmldebugservice_p.h' doesn't include <QObject>." | - |
15 | #elif Q_MOC_OUTPUT_REVISION != 67 | - |
16 | #error "This file was generated using the moc from 5.12.0. It" | - |
17 | #error "cannot be used with the include files from this version of Qt." | - |
18 | #error "(The moc has changed too much.)" | - |
19 | #endif | - |
20 | - | |
21 | QT_BEGIN_MOC_NAMESPACE | - |
22 | QT_WARNING_PUSH | - |
23 | QT_WARNING_DISABLE_DEPRECATED | - |
24 | struct qt_meta_stringdata_QQmlDebugService_t { | - |
25 | QByteArrayData data[10]; | - |
26 | char stringdata0[120]; | - |
27 | }; | - |
28 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
29 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
30 | qptrdiff(offsetof(qt_meta_stringdata_QQmlDebugService_t, stringdata0) + ofs \ | - |
31 | - idx * sizeof(QByteArrayData)) \ | - |
32 | ) | - |
33 | static const qt_meta_stringdata_QQmlDebugService_t qt_meta_stringdata_QQmlDebugService = { | - |
34 | { | - |
35 | QT_MOC_LITERAL(0, 0, 16), // "QQmlDebugService" | - |
36 | QT_MOC_LITERAL(1, 17, 16), // "attachedToEngine" | - |
37 | QT_MOC_LITERAL(2, 34, 0), // "" | - |
38 | QT_MOC_LITERAL(3, 35, 10), // "QJSEngine*" | - |
39 | QT_MOC_LITERAL(4, 46, 18), // "detachedFromEngine" | - |
40 | QT_MOC_LITERAL(5, 65, 15), // "messageToClient" | - |
41 | QT_MOC_LITERAL(6, 81, 4), // "name" | - |
42 | QT_MOC_LITERAL(7, 86, 7), // "message" | - |
43 | QT_MOC_LITERAL(8, 94, 16), // "messagesToClient" | - |
44 | QT_MOC_LITERAL(9, 111, 8) // "messages" | - |
45 | - | |
46 | }, | - |
47 | "QQmlDebugService\0attachedToEngine\0\0" | - |
48 | "QJSEngine*\0detachedFromEngine\0" | - |
49 | "messageToClient\0name\0message\0" | - |
50 | "messagesToClient\0messages" | - |
51 | }; | - |
52 | #undef QT_MOC_LITERAL | - |
53 | - | |
54 | static const uint qt_meta_data_QQmlDebugService[] = { | - |
55 | - | |
56 | // content: | - |
57 | 7, // revision | - |
58 | 0, // classname | - |
59 | 0, 0, // classinfo | - |
60 | 4, 14, // methods | - |
61 | 0, 0, // properties | - |
62 | 0, 0, // enums/sets | - |
63 | 0, 0, // constructors | - |
64 | 0, // flags | - |
65 | 4, // signalCount | - |
66 | - | |
67 | // signals: name, argc, parameters, tag, flags | - |
68 | 1, 1, 34, 2, 0x06 /* Public */, | - |
69 | 4, 1, 37, 2, 0x06 /* Public */, | - |
70 | 5, 2, 40, 2, 0x06 /* Public */, | - |
71 | 8, 2, 45, 2, 0x06 /* Public */, | - |
72 | - | |
73 | // signals: parameters | - |
74 | QMetaType::Void, 0x80000000 | 3, 2, | - |
75 | QMetaType::Void, 0x80000000 | 3, 2, | - |
76 | QMetaType::Void, QMetaType::QString, QMetaType::QByteArray, 6, 7, | - |
77 | QMetaType::Void, QMetaType::QString, QMetaType::QByteArrayList, 6, 9, | - |
78 | - | |
79 | 0 // eod | - |
80 | }; | - |
81 | - | |
82 | void QQmlDebugService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
83 | { | - |
84 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
85 | QQmlDebugService *_t = static_cast<QQmlDebugService *>(_o); | - |
86 | Q_UNUSED(_t) | - |
87 | switch (_id) { | - |
88 | case 0: _t->attachedToEngine((*reinterpret_cast< QJSEngine*(*)>(_a[1]))); break; | - |
89 | case 1: _t->detachedFromEngine((*reinterpret_cast< QJSEngine*(*)>(_a[1]))); break; | - |
90 | case 2: _t->messageToClient((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2]))); break; | - |
91 | case 3: _t->messagesToClient((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QByteArray>(*)>(_a[2]))); break; | - |
92 | default: ; | - |
93 | } | - |
94 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
95 | int *result = reinterpret_cast<int *>(_a[0]); | - |
96 | { | - |
97 | using _t = void (QQmlDebugService::*)(QJSEngine * ); | - |
98 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDebugService::attachedToEngine)) { | - |
99 | *result = 0; | - |
100 | return; | - |
101 | } | - |
102 | } | - |
103 | { | - |
104 | using _t = void (QQmlDebugService::*)(QJSEngine * ); | - |
105 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDebugService::detachedFromEngine)) { | - |
106 | *result = 1; | - |
107 | return; | - |
108 | } | - |
109 | } | - |
110 | { | - |
111 | using _t = void (QQmlDebugService::*)(const QString & , const QByteArray & ); | - |
112 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDebugService::messageToClient)) { | - |
113 | *result = 2; | - |
114 | return; | - |
115 | } | - |
116 | } | - |
117 | { | - |
118 | using _t = void (QQmlDebugService::*)(const QString & , const QList<QByteArray> & ); | - |
119 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDebugService::messagesToClient)) { | - |
120 | *result = 3; | - |
121 | return; | - |
122 | } | - |
123 | } | - |
124 | } | - |
125 | } | - |
126 | - | |
127 | QT_INIT_METAOBJECT const QMetaObject QQmlDebugService::staticMetaObject = { | - |
128 | { &QObject::staticMetaObject, qt_meta_stringdata_QQmlDebugService.data, | - |
129 | qt_meta_data_QQmlDebugService, qt_static_metacall, nullptr, nullptr} | - |
130 | }; | - |
131 | - | |
132 | - | |
133 | const QMetaObject *QQmlDebugService::metaObject() const | - |
134 | { | - |
135 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
136 | } | - |
137 | - | |
138 | void *QQmlDebugService::qt_metacast(const char *_clname) | - |
139 | { | - |
140 | if (!_clname) return nullptr; | - |
141 | if (!strcmp(_clname, qt_meta_stringdata_QQmlDebugService.stringdata0)) | - |
142 | return static_cast<void*>(this); | - |
143 | return QObject::qt_metacast(_clname); | - |
144 | } | - |
145 | - | |
146 | int QQmlDebugService::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
147 | { | - |
148 | _id = QObject::qt_metacall(_c, _id, _a); | - |
149 | if (_id < 0) | - |
150 | return _id; | - |
151 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
152 | if (_id < 4) | - |
153 | qt_static_metacall(this, _c, _id, _a); | - |
154 | _id -= 4; | - |
155 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
156 | if (_id < 4) | - |
157 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
158 | _id -= 4; | - |
159 | } | - |
160 | return _id; | - |
161 | } | - |
162 | - | |
163 | // SIGNAL 0 | - |
164 | void QQmlDebugService::attachedToEngine(QJSEngine * _t1) | - |
165 | { | - |
166 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
167 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | - |
168 | } executed 212 times by 7 tests: end of block Executed by:
| 212 |
169 | - | |
170 | // SIGNAL 1 | - |
171 | void QQmlDebugService::detachedFromEngine(QJSEngine * _t1) | - |
172 | { | - |
173 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
174 | QMetaObject::activate(this, &staticMetaObject, 1, _a); | - |
175 | } executed 212 times by 7 tests: end of block Executed by:
| 212 |
176 | - | |
177 | // SIGNAL 2 | - |
178 | void QQmlDebugService::messageToClient(const QString & _t1, const QByteArray & _t2) | - |
179 | { | - |
180 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; | - |
181 | QMetaObject::activate(this, &staticMetaObject, 2, _a); | - |
182 | } executed 712 times by 7 tests: end of block Executed by:
| 712 |
183 | - | |
184 | // SIGNAL 3 | - |
185 | void QQmlDebugService::messagesToClient(const QString & _t1, const QList<QByteArray> & _t2) | - |
186 | { | - |
187 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; | - |
188 | QMetaObject::activate(this, &staticMetaObject, 3, _a); | - |
189 | } executed 6 times by 1 test: end of block Executed by:
| 6 |
190 | QT_WARNING_POP | - |
191 | QT_END_MOC_NAMESPACE | - |
Source code | Switch to Preprocessed file |