OpenCoverage

moc_qqmldebugconnection_p.cpp

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

Generated by Squish Coco 4.2.0