OpenCoverage

moc_qqmlenginecontrolclient_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/.moc/moc_qqmlenginecontrolclient_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qqmlenginecontrolclient_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 "../qqmlenginecontrolclient_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qqmlenginecontrolclient_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_QQmlEngineControlClient_t {-
24 QByteArrayData data[8];-
25 char stringdata0[109];-
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_QQmlEngineControlClient_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQmlEngineControlClient_t qt_meta_stringdata_QQmlEngineControlClient = {-
33 {-
34QT_MOC_LITERAL(0, 0, 23), // "QQmlEngineControlClient"-
35QT_MOC_LITERAL(1, 24, 20), // "engineAboutToBeAdded"-
36QT_MOC_LITERAL(2, 45, 0), // ""-
37QT_MOC_LITERAL(3, 46, 8), // "engineId"-
38QT_MOC_LITERAL(4, 55, 4), // "name"-
39QT_MOC_LITERAL(5, 60, 11), // "engineAdded"-
40QT_MOC_LITERAL(6, 72, 22), // "engineAboutToBeRemoved"-
41QT_MOC_LITERAL(7, 95, 13) // "engineRemoved"-
42-
43 },-
44 "QQmlEngineControlClient\0engineAboutToBeAdded\0"-
45 "\0engineId\0name\0engineAdded\0"-
46 "engineAboutToBeRemoved\0engineRemoved"-
47};-
48#undef QT_MOC_LITERAL-
49-
50static const uint qt_meta_data_QQmlEngineControlClient[] = {-
51-
52 // content:-
53 7, // revision-
54 0, // classname-
55 0, 0, // classinfo-
56 4, 14, // methods-
57 0, 0, // properties-
58 0, 0, // enums/sets-
59 0, 0, // constructors-
60 0, // flags-
61 4, // signalCount-
62-
63 // signals: name, argc, parameters, tag, flags-
64 1, 2, 34, 2, 0x06 /* Public */,-
65 5, 2, 39, 2, 0x06 /* Public */,-
66 6, 2, 44, 2, 0x06 /* Public */,-
67 7, 2, 49, 2, 0x06 /* Public */,-
68-
69 // signals: parameters-
70 QMetaType::Void, QMetaType::Int, QMetaType::QString, 3, 4,-
71 QMetaType::Void, QMetaType::Int, QMetaType::QString, 3, 4,-
72 QMetaType::Void, QMetaType::Int, QMetaType::QString, 3, 4,-
73 QMetaType::Void, QMetaType::Int, QMetaType::QString, 3, 4,-
74-
75 0 // eod-
76};-
77-
78void QQmlEngineControlClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
79{-
80 if (_c == QMetaObject::InvokeMetaMethod) {-
81 QQmlEngineControlClient *_t = static_cast<QQmlEngineControlClient *>(_o);-
82 Q_UNUSED(_t)-
83 switch (_id) {-
84 case 0: _t->engineAboutToBeAdded((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;-
85 case 1: _t->engineAdded((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;-
86 case 2: _t->engineAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;-
87 case 3: _t->engineRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;-
88 default: ;-
89 }-
90 } else if (_c == QMetaObject::IndexOfMethod) {-
91 int *result = reinterpret_cast<int *>(_a[0]);-
92 {-
93 using _t = void (QQmlEngineControlClient::*)(int , const QString & );-
94 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlEngineControlClient::engineAboutToBeAdded)) {-
95 *result = 0;-
96 return;-
97 }-
98 }-
99 {-
100 using _t = void (QQmlEngineControlClient::*)(int , const QString & );-
101 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlEngineControlClient::engineAdded)) {-
102 *result = 1;-
103 return;-
104 }-
105 }-
106 {-
107 using _t = void (QQmlEngineControlClient::*)(int , const QString & );-
108 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlEngineControlClient::engineAboutToBeRemoved)) {-
109 *result = 2;-
110 return;-
111 }-
112 }-
113 {-
114 using _t = void (QQmlEngineControlClient::*)(int , const QString & );-
115 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlEngineControlClient::engineRemoved)) {-
116 *result = 3;-
117 return;-
118 }-
119 }-
120 }-
121}-
122-
123QT_INIT_METAOBJECT const QMetaObject QQmlEngineControlClient::staticMetaObject = {-
124 { &QQmlDebugClient::staticMetaObject, qt_meta_stringdata_QQmlEngineControlClient.data,-
125 qt_meta_data_QQmlEngineControlClient, qt_static_metacall, nullptr, nullptr}-
126};-
127-
128-
129const QMetaObject *QQmlEngineControlClient::metaObject() const-
130{-
131 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
132}-
133-
134void *QQmlEngineControlClient::qt_metacast(const char *_clname)-
135{-
136 if (!_clname) return nullptr;-
137 if (!strcmp(_clname, qt_meta_stringdata_QQmlEngineControlClient.stringdata0))-
138 return static_cast<void*>(this);-
139 return QQmlDebugClient::qt_metacast(_clname);-
140}-
141-
142int QQmlEngineControlClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
143{-
144 _id = QQmlDebugClient::qt_metacall(_c, _id, _a);-
145 if (_id < 0)-
146 return _id;-
147 if (_c == QMetaObject::InvokeMetaMethod) {-
148 if (_id < 4)-
149 qt_static_metacall(this, _c, _id, _a);-
150 _id -= 4;-
151 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
152 if (_id < 4)-
153 *reinterpret_cast<int*>(_a[0]) = -1;-
154 _id -= 4;-
155 }-
156 return _id;-
157}-
158-
159// SIGNAL 0-
160void QQmlEngineControlClient::engineAboutToBeAdded(int _t1, const QString & _t2)-
161{-
162 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };-
163 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
164}
executed 36 times by 2 tests: end of block
Executed by:
  • tst_qqmlenginecontrol
  • tst_qqmlprofilerservice
36
165-
166// SIGNAL 1-
167void QQmlEngineControlClient::engineAdded(int _t1, const QString & _t2)-
168{-
169 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };-
170 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
171}
executed 36 times by 2 tests: end of block
Executed by:
  • tst_qqmlenginecontrol
  • tst_qqmlprofilerservice
36
172-
173// SIGNAL 2-
174void QQmlEngineControlClient::engineAboutToBeRemoved(int _t1, const QString & _t2)-
175{-
176 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };-
177 QMetaObject::activate(this, &staticMetaObject, 2, _a);-
178}
executed 10 times by 2 tests: end of block
Executed by:
  • tst_qqmlenginecontrol
  • tst_qqmlprofilerservice
10
179-
180// SIGNAL 3-
181void QQmlEngineControlClient::engineRemoved(int _t1, const QString & _t2)-
182{-
183 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };-
184 QMetaObject::activate(this, &staticMetaObject, 3, _a);-
185}
executed 10 times by 2 tests: end of block
Executed by:
  • tst_qqmlenginecontrol
  • tst_qqmlprofilerservice
10
186QT_WARNING_POP-
187QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0