OpenCoverage

moc_qqmldebugconnection_p.cpp

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

Generated by Squish Coco 4.2.0