OpenCoverage

moc_qqmldebugclient_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/.moc/moc_qqmldebugclient_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_QQmlDebugClient_t {-
9 QByteArrayData data[5];-
10 char stringdata0[42];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQmlDebugClient_t qt_meta_stringdata_QQmlDebugClient = {-
18 {-
19{ { { -1 } }, 15, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQmlDebugClient_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 12, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQmlDebugClient_t-
29, -
30stringdata0-
31) -
32+ 16 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQmlDebugClient_t-
36, -
37stringdata0-
38) -
39+ 29 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 5, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQmlDebugClient_t-
43, -
44stringdata0-
45) -
46+ 30 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 5, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQmlDebugClient_t-
50, -
51stringdata0-
52) -
53+ 36 - 4 * sizeof(QByteArrayData)) }-
54-
55 },-
56 "QQmlDebugClient\0stateChanged\0\0State\0"-
57 "state"-
58};-
59-
60-
61static const uint qt_meta_data_QQmlDebugClient[] = {-
62-
63-
64 7,-
65 0,-
66 0, 0,-
67 1, 14,-
68 0, 0,-
69 0, 0,-
70 0, 0,-
71 0,-
72 1,-
73-
74-
75 1, 1, 19, 2, 0x06 ,-
76-
77-
78 QMetaType::Void, 0x80000000 | 3, 4,-
79-
80 0-
81};-
82-
83void QQmlDebugClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
84{-
85 if (_c == QMetaObject::InvokeMetaMethod) {-
86 QQmlDebugClient *_t = static_cast<QQmlDebugClient *>(_o);-
87 (void)_t;-
88 switch (_id) {-
89 case 0: _t->stateChanged((*reinterpret_cast< State(*)>(_a[1]))); break;-
90 default: ;-
91 }-
92 } else if (_c == QMetaObject::IndexOfMethod) {-
93 int *result = reinterpret_cast<int *>(_a[0]);-
94 {-
95 using _t = void (QQmlDebugClient::*)(State );-
96 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDebugClient::stateChanged)) {-
97 *result = 0;-
98 return;-
99 }-
100 }-
101 }-
102}-
103-
104 const QMetaObject QQmlDebugClient::staticMetaObject = {-
105 { &QObject::staticMetaObject, qt_meta_stringdata_QQmlDebugClient.data,-
106 qt_meta_data_QQmlDebugClient, qt_static_metacall, nullptr, nullptr}-
107};-
108-
109-
110const QMetaObject *QQmlDebugClient::metaObject() const-
111{-
112 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
113}-
114-
115void *QQmlDebugClient::qt_metacast(const char *_clname)-
116{-
117 if (!_clname) return nullptr;-
118 if (!strcmp(_clname, qt_meta_stringdata_QQmlDebugClient.stringdata0))-
119 return static_cast<void*>(this);-
120 return QObject::qt_metacast(_clname);-
121}-
122-
123int QQmlDebugClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
124{-
125 _id = QObject::qt_metacall(_c, _id, _a);-
126 if (_id < 0)-
127 return _id;-
128 if (_c == QMetaObject::InvokeMetaMethod) {-
129 if (_id < 1)-
130 qt_static_metacall(this, _c, _id, _a);-
131 _id -= 1;-
132 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
133 if (_id < 1)-
134 *reinterpret_cast<int*>(_a[0]) = -1;-
135 _id -= 1;-
136 }-
137 return _id;-
138}-
139-
140-
141void QQmlDebugClient::stateChanged(State _t1)-
142{-
143 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
144 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
145}
executed 3170 times by 10 tests: end of block
Executed by:
  • tst_qdebugmessageservice
  • tst_qqmldebugclient
  • tst_qqmldebuggingenabler
  • tst_qqmldebugjs
  • tst_qqmldebuglocal
  • tst_qqmlenginecontrol
  • tst_qqmlenginedebuginspectorintegration
  • tst_qqmlenginedebugservice
  • tst_qqmlinspector
  • tst_qqmlprofilerservice
3170
146-
147#pragma GCC diagnostic pop-
148-
149-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0