OpenCoverage

moc_qquickspritesequence_p.cpp

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

Generated by Squish Coco 4.2.0