OpenCoverage

moc_qqmldebugmessageclient_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/.moc/moc_qqmldebugmessageclient_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_QQmlDebugMessageClient_t {-
9 QByteArrayData data[5];-
10 char stringdata0[63];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQmlDebugMessageClient_t qt_meta_stringdata_QQmlDebugMessageClient = {-
18 {-
19{ { { -1 } }, 22, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQmlDebugMessageClient_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 7, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQmlDebugMessageClient_t-
29, -
30stringdata0-
31) -
32+ 23 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQmlDebugMessageClient_t-
36, -
37stringdata0-
38) -
39+ 31 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 9, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQmlDebugMessageClient_t-
43, -
44stringdata0-
45) -
46+ 32 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 20, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQmlDebugMessageClient_t-
50, -
51stringdata0-
52) -
53+ 42 - 4 * sizeof(QByteArrayData)) }-
54-
55 },-
56 "QQmlDebugMessageClient\0message\0\0"-
57 "QtMsgType\0QQmlDebugContextInfo"-
58};-
59-
60-
61static const uint qt_meta_data_QQmlDebugMessageClient[] = {-
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, 3, 19, 2, 0x06 ,-
76-
77-
78 QMetaType::Void, 0x80000000 | 3, QMetaType::QString, 0x80000000 | 4, 2, 2, 2,-
79-
80 0-
81};-
82-
83void QQmlDebugMessageClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
84{-
85 if (_c == QMetaObject::InvokeMetaMethod) {-
86 QQmlDebugMessageClient *_t = static_cast<QQmlDebugMessageClient *>(_o);-
87 (void)_t;-
88 switch (_id) {-
89 case 0: _t->message((*reinterpret_cast< QtMsgType(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QQmlDebugContextInfo(*)>(_a[3]))); break;-
90 default: ;-
91 }-
92 } else if (_c == QMetaObject::IndexOfMethod) {-
93 int *result = reinterpret_cast<int *>(_a[0]);-
94 {-
95 using _t = void (QQmlDebugMessageClient::*)(QtMsgType , const QString & , const QQmlDebugContextInfo & );-
96 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDebugMessageClient::message)) {-
97 *result = 0;-
98 return;-
99 }-
100 }-
101 }-
102}-
103-
104 const QMetaObject QQmlDebugMessageClient::staticMetaObject = {-
105 { &QQmlDebugClient::staticMetaObject, qt_meta_stringdata_QQmlDebugMessageClient.data,-
106 qt_meta_data_QQmlDebugMessageClient, qt_static_metacall, nullptr, nullptr}-
107};-
108-
109-
110const QMetaObject *QQmlDebugMessageClient::metaObject() const-
111{-
112 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
113}-
114-
115void *QQmlDebugMessageClient::qt_metacast(const char *_clname)-
116{-
117 if (!_clname) return nullptr;-
118 if (!strcmp(_clname, qt_meta_stringdata_QQmlDebugMessageClient.stringdata0))-
119 return static_cast<void*>(this);-
120 return QQmlDebugClient::qt_metacast(_clname);-
121}-
122-
123int QQmlDebugMessageClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
124{-
125 _id = QQmlDebugClient::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 QQmlDebugMessageClient::message(QtMsgType _t1, const QString & _t2, const QQmlDebugContextInfo & _t3)-
142{-
143 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };-
144 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
145}
executed 18 times by 1 test: end of block
Executed by:
  • tst_qqmlprofilerservice
18
146-
147#pragma GCC diagnostic pop-
148-
149-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0