OpenCoverage

moc_qquickparticlepainter_p.cpp

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

Generated by Squish Coco 4.2.0