OpenCoverage

moc_qqmlenginecontrolclient_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/.moc/moc_qqmlenginecontrolclient_p.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3#pragma GCC diagnostic push-
4-
5-
6#pragma GCC diagnostic ignored "-Wdeprecated-declarations"-
7-
8struct qt_meta_stringdata_QQmlEngineControlClient_t {-
9 QByteArrayData data[8];-
10 char stringdata0[109];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQmlEngineControlClient_t qt_meta_stringdata_QQmlEngineControlClient = {-
18 {-
19{ { { -1 } }, 23, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQmlEngineControlClient_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 20, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQmlEngineControlClient_t-
29, -
30stringdata0-
31) -
32+ 24 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQmlEngineControlClient_t-
36, -
37stringdata0-
38) -
39+ 45 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 8, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQmlEngineControlClient_t-
43, -
44stringdata0-
45) -
46+ 46 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 4, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQmlEngineControlClient_t-
50, -
51stringdata0-
52) -
53+ 55 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 11, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQmlEngineControlClient_t-
57, -
58stringdata0-
59) -
60+ 60 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 22, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQmlEngineControlClient_t-
64, -
65stringdata0-
66) -
67+ 72 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 13, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQmlEngineControlClient_t-
71, -
72stringdata0-
73) -
74+ 95 - 7 * sizeof(QByteArrayData)) }-
75-
76 },-
77 "QQmlEngineControlClient\0engineAboutToBeAdded\0"-
78 "\0engineId\0name\0engineAdded\0"-
79 "engineAboutToBeRemoved\0engineRemoved"-
80};-
81-
82-
83static const uint qt_meta_data_QQmlEngineControlClient[] = {-
84-
85-
86 7,-
87 0,-
88 0, 0,-
89 4, 14,-
90 0, 0,-
91 0, 0,-
92 0, 0,-
93 0,-
94 4,-
95-
96-
97 1, 2, 34, 2, 0x06 ,-
98 5, 2, 39, 2, 0x06 ,-
99 6, 2, 44, 2, 0x06 ,-
100 7, 2, 49, 2, 0x06 ,-
101-
102-
103 QMetaType::Void, QMetaType::Int, QMetaType::QString, 3, 4,-
104 QMetaType::Void, QMetaType::Int, QMetaType::QString, 3, 4,-
105 QMetaType::Void, QMetaType::Int, QMetaType::QString, 3, 4,-
106 QMetaType::Void, QMetaType::Int, QMetaType::QString, 3, 4,-
107-
108 0-
109};-
110-
111void QQmlEngineControlClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
112{-
113 if (_c == QMetaObject::InvokeMetaMethod) {-
114 QQmlEngineControlClient *_t = static_cast<QQmlEngineControlClient *>(_o);-
115 (void)_t;-
116 switch (_id) {-
117 case 0: _t->engineAboutToBeAdded((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;-
118 case 1: _t->engineAdded((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;-
119 case 2: _t->engineAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;-
120 case 3: _t->engineRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;-
121 default: ;-
122 }-
123 } else if (_c == QMetaObject::IndexOfMethod) {-
124 int *result = reinterpret_cast<int *>(_a[0]);-
125 {-
126 using _t = void (QQmlEngineControlClient::*)(int , const QString & );-
127 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlEngineControlClient::engineAboutToBeAdded)) {-
128 *result = 0;-
129 return;-
130 }-
131 }-
132 {-
133 using _t = void (QQmlEngineControlClient::*)(int , const QString & );-
134 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlEngineControlClient::engineAdded)) {-
135 *result = 1;-
136 return;-
137 }-
138 }-
139 {-
140 using _t = void (QQmlEngineControlClient::*)(int , const QString & );-
141 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlEngineControlClient::engineAboutToBeRemoved)) {-
142 *result = 2;-
143 return;-
144 }-
145 }-
146 {-
147 using _t = void (QQmlEngineControlClient::*)(int , const QString & );-
148 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlEngineControlClient::engineRemoved)) {-
149 *result = 3;-
150 return;-
151 }-
152 }-
153 }-
154}-
155-
156 const QMetaObject QQmlEngineControlClient::staticMetaObject = {-
157 { &QQmlDebugClient::staticMetaObject, qt_meta_stringdata_QQmlEngineControlClient.data,-
158 qt_meta_data_QQmlEngineControlClient, qt_static_metacall, nullptr, nullptr}-
159};-
160-
161-
162const QMetaObject *QQmlEngineControlClient::metaObject() const-
163{-
164 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
165}-
166-
167void *QQmlEngineControlClient::qt_metacast(const char *_clname)-
168{-
169 if (!_clname) return nullptr;-
170 if (!strcmp(_clname, qt_meta_stringdata_QQmlEngineControlClient.stringdata0))-
171 return static_cast<void*>(this);-
172 return QQmlDebugClient::qt_metacast(_clname);-
173}-
174-
175int QQmlEngineControlClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
176{-
177 _id = QQmlDebugClient::qt_metacall(_c, _id, _a);-
178 if (_id < 0)-
179 return _id;-
180 if (_c == QMetaObject::InvokeMetaMethod) {-
181 if (_id < 4)-
182 qt_static_metacall(this, _c, _id, _a);-
183 _id -= 4;-
184 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
185 if (_id < 4)-
186 *reinterpret_cast<int*>(_a[0]) = -1;-
187 _id -= 4;-
188 }-
189 return _id;-
190}-
191-
192-
193void QQmlEngineControlClient::engineAboutToBeAdded(int _t1, const QString & _t2)-
194{-
195 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };-
196 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
197}
executed 36 times by 2 tests: end of block
Executed by:
  • tst_qqmlenginecontrol
  • tst_qqmlprofilerservice
36
198-
199-
200void QQmlEngineControlClient::engineAdded(int _t1, const QString & _t2)-
201{-
202 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };-
203 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
204}
executed 36 times by 2 tests: end of block
Executed by:
  • tst_qqmlenginecontrol
  • tst_qqmlprofilerservice
36
205-
206-
207void QQmlEngineControlClient::engineAboutToBeRemoved(int _t1, const QString & _t2)-
208{-
209 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };-
210 QMetaObject::activate(this, &staticMetaObject, 2, _a);-
211}
executed 10 times by 2 tests: end of block
Executed by:
  • tst_qqmlenginecontrol
  • tst_qqmlprofilerservice
10
212-
213-
214void QQmlEngineControlClient::engineRemoved(int _t1, const QString & _t2)-
215{-
216 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };-
217 QMetaObject::activate(this, &staticMetaObject, 3, _a);-
218}
executed 10 times by 2 tests: end of block
Executed by:
  • tst_qqmlenginecontrol
  • tst_qqmlprofilerservice
10
219-
220#pragma GCC diagnostic pop-
221-
222-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0