OpenCoverage

moc_qquickparticlegroup_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/.moc/moc_qquickparticlegroup_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickparticlegroup_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 "../qquickparticlegroup_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickparticlegroup_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_QQuickParticleGroup_t {-
24 QByteArrayData data[14];-
25 char stringdata0[191];-
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_QQuickParticleGroup_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickParticleGroup_t qt_meta_stringdata_QQuickParticleGroup = {-
33 {-
34QT_MOC_LITERAL(0, 0, 19), // "QQuickParticleGroup"-
35QT_MOC_LITERAL(1, 20, 15), // "DefaultProperty"-
36QT_MOC_LITERAL(2, 36, 16), // "particleChildren"-
37QT_MOC_LITERAL(3, 53, 19), // "maximumAliveChanged"-
38QT_MOC_LITERAL(4, 73, 0), // ""-
39QT_MOC_LITERAL(5, 74, 3), // "arg"-
40QT_MOC_LITERAL(6, 78, 13), // "systemChanged"-
41QT_MOC_LITERAL(7, 92, 21), // "QQuickParticleSystem*"-
42QT_MOC_LITERAL(8, 114, 15), // "setMaximumAlive"-
43QT_MOC_LITERAL(9, 130, 9), // "setSystem"-
44QT_MOC_LITERAL(10, 140, 13), // "delayRedirect"-
45QT_MOC_LITERAL(11, 154, 3), // "obj"-
46QT_MOC_LITERAL(12, 158, 6), // "system"-
47QT_MOC_LITERAL(13, 165, 25) // "QQmlListProperty<QObject>"-
48-
49 },-
50 "QQuickParticleGroup\0DefaultProperty\0"-
51 "particleChildren\0maximumAliveChanged\0"-
52 "\0arg\0systemChanged\0QQuickParticleSystem*\0"-
53 "setMaximumAlive\0setSystem\0delayRedirect\0"-
54 "obj\0system\0QQmlListProperty<QObject>"-
55};-
56#undef QT_MOC_LITERAL-
57-
58static const uint qt_meta_data_QQuickParticleGroup[] = {-
59-
60 // content:-
61 7, // revision-
62 0, // classname-
63 1, 14, // classinfo-
64 5, 16, // methods-
65 2, 56, // properties-
66 0, 0, // enums/sets-
67 0, 0, // constructors-
68 0, // flags-
69 2, // signalCount-
70-
71 // classinfo: key, value-
72 1, 2,-
73-
74 // signals: name, argc, parameters, tag, flags-
75 3, 1, 41, 4, 0x06 /* Public */,-
76 6, 1, 44, 4, 0x06 /* Public */,-
77-
78 // slots: name, argc, parameters, tag, flags-
79 8, 1, 47, 4, 0x0a /* Public */,-
80 9, 1, 50, 4, 0x0a /* Public */,-
81 10, 1, 53, 4, 0x0a /* Public */,-
82-
83 // signals: parameters-
84 QMetaType::Void, QMetaType::Int, 5,-
85 QMetaType::Void, 0x80000000 | 7, 5,-
86-
87 // slots: parameters-
88 QMetaType::Void, QMetaType::Int, 5,-
89 QMetaType::Void, 0x80000000 | 7, 5,-
90 QMetaType::Void, QMetaType::QObjectStar, 11,-
91-
92 // properties: name, type, flags-
93 12, 0x80000000 | 7, 0x0049510b,-
94 2, 0x80000000 | 13, 0x00094009,-
95-
96 // properties: notify_signal_id-
97 1,-
98 0,-
99-
100 0 // eod-
101};-
102-
103void QQuickParticleGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
104{-
105 if (_c == QMetaObject::InvokeMetaMethod) {-
106 QQuickParticleGroup *_t = static_cast<QQuickParticleGroup *>(_o);-
107 Q_UNUSED(_t)-
108 switch (_id) {-
109 case 0: _t->maximumAliveChanged((*reinterpret_cast< int(*)>(_a[1]))); break;-
110 case 1: _t->systemChanged((*reinterpret_cast< QQuickParticleSystem*(*)>(_a[1]))); break;-
111 case 2: _t->setMaximumAlive((*reinterpret_cast< int(*)>(_a[1]))); break;-
112 case 3: _t->setSystem((*reinterpret_cast< QQuickParticleSystem*(*)>(_a[1]))); break;-
113 case 4: _t->delayRedirect((*reinterpret_cast< QObject*(*)>(_a[1]))); break;-
114 default: ;-
115 }-
116 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
117 switch (_id) {-
118 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
119 case 1:-
120 switch (*reinterpret_cast<int*>(_a[1])) {-
121 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
122 case 0:-
123 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickParticleSystem* >(); break;-
124 }-
125 break;-
126 case 3:-
127 switch (*reinterpret_cast<int*>(_a[1])) {-
128 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
129 case 0:-
130 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickParticleSystem* >(); break;-
131 }-
132 break;-
133 }-
134 } else if (_c == QMetaObject::IndexOfMethod) {-
135 int *result = reinterpret_cast<int *>(_a[0]);-
136 {-
137 using _t = void (QQuickParticleGroup::*)(int );-
138 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickParticleGroup::maximumAliveChanged)) {-
139 *result = 0;-
140 return;-
141 }-
142 }-
143 {-
144 using _t = void (QQuickParticleGroup::*)(QQuickParticleSystem * );-
145 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickParticleGroup::systemChanged)) {-
146 *result = 1;-
147 return;-
148 }-
149 }-
150 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
151 switch (_id) {-
152 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
153 case 1:-
154 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QObject> >(); break;-
155 case 0:-
156 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickParticleSystem* >(); break;-
157 }-
158 }-
159-
160#ifndef QT_NO_PROPERTIES-
161 else if (_c == QMetaObject::ReadProperty) {-
162 QQuickParticleGroup *_t = static_cast<QQuickParticleGroup *>(_o);-
163 Q_UNUSED(_t)-
164 void *_v = _a[0];-
165 switch (_id) {-
166 case 0: *reinterpret_cast< QQuickParticleSystem**>(_v) = _t->system(); break;-
167 case 1: *reinterpret_cast< QQmlListProperty<QObject>*>(_v) = _t->particleChildren(); break;-
168 default: break;-
169 }-
170 } else if (_c == QMetaObject::WriteProperty) {-
171 QQuickParticleGroup *_t = static_cast<QQuickParticleGroup *>(_o);-
172 Q_UNUSED(_t)-
173 void *_v = _a[0];-
174 switch (_id) {-
175 case 0: _t->setSystem(*reinterpret_cast< QQuickParticleSystem**>(_v)); break;-
176 default: break;-
177 }-
178 } else if (_c == QMetaObject::ResetProperty) {-
179 }-
180#endif // QT_NO_PROPERTIES-
181}-
182-
183QT_INIT_METAOBJECT const QMetaObject QQuickParticleGroup::staticMetaObject = {-
184 { &QQuickStochasticState::staticMetaObject, qt_meta_stringdata_QQuickParticleGroup.data,-
185 qt_meta_data_QQuickParticleGroup, qt_static_metacall, nullptr, nullptr}-
186};-
187-
188-
189const QMetaObject *QQuickParticleGroup::metaObject() const-
190{-
191 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
192}-
193-
194void *QQuickParticleGroup::qt_metacast(const char *_clname)-
195{-
196 if (!_clname) return nullptr;-
197 if (!strcmp(_clname, qt_meta_stringdata_QQuickParticleGroup.stringdata0))-
198 return static_cast<void*>(this);-
199 if (!strcmp(_clname, "QQmlParserStatus"))-
200 return static_cast< QQmlParserStatus*>(this);-
201 if (!strcmp(_clname, "org.qt-project.Qt.QQmlParserStatus"))-
202 return static_cast< QQmlParserStatus*>(this);-
203 return QQuickStochasticState::qt_metacast(_clname);-
204}-
205-
206int QQuickParticleGroup::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
207{-
208 _id = QQuickStochasticState::qt_metacall(_c, _id, _a);-
209 if (_id < 0)-
210 return _id;-
211 if (_c == QMetaObject::InvokeMetaMethod) {-
212 if (_id < 5)-
213 qt_static_metacall(this, _c, _id, _a);-
214 _id -= 5;-
215 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
216 if (_id < 5)-
217 qt_static_metacall(this, _c, _id, _a);-
218 _id -= 5;-
219 }-
220#ifndef QT_NO_PROPERTIES-
221 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
222 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
223 qt_static_metacall(this, _c, _id, _a);-
224 _id -= 2;-
225 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
226 _id -= 2;-
227 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
228 _id -= 2;-
229 } else if (_c == QMetaObject::QueryPropertyStored) {-
230 _id -= 2;-
231 } else if (_c == QMetaObject::QueryPropertyEditable) {-
232 _id -= 2;-
233 } else if (_c == QMetaObject::QueryPropertyUser) {-
234 _id -= 2;-
235 }-
236#endif // QT_NO_PROPERTIES-
237 return _id;-
238}-
239-
240// SIGNAL 0-
241void QQuickParticleGroup::maximumAliveChanged(int _t1)-
242{-
243 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
244 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
245}
never executed: end of block
0
246-
247// SIGNAL 1-
248void QQuickParticleGroup::systemChanged(QQuickParticleSystem * _t1)-
249{-
250 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
251 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
252}
executed 14 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickparticlegroup
14
253QT_WARNING_POP-
254QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0