Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickanimation_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | - | |
5 | - | |
6 | class QQuickAbstractAnimationPrivate; | - |
7 | class QQuickAnimationGroup; | - |
8 | class __attribute__((visibility("default"))) QQuickAbstractAnimation : public QObject, public QQmlPropertyValueSource, public QQmlParserStatus | - |
9 | { | - |
10 | public: | - |
11 | #pragma GCC diagnostic push | - |
12 | - | |
13 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
14 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
15 | #pragma GCC diagnostic ignored "-Wattributes" | - |
16 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
17 | #pragma GCC diagnostic pop | - |
18 | struct QPrivateSignal {}; | - |
19 | inline QQuickAbstractAnimationPrivate* d_func() { return executed 241387 times by 20 tests: reinterpret_cast<QQuickAbstractAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickAbstractAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 241387 times by 20 tests: } inline const QQuickAbstractAnimationPrivate* d_func() const { returnreturn reinterpret_cast<QQuickAbstractAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 1084 times by 13 tests: reinterpret_cast<const QQuickAbstractAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickAbstractAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 1084 times by 13 tests: } friend class QQuickAbstractAnimationPrivate;return reinterpret_cast<const QQuickAbstractAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 1084-241387 |
20 | - | |
21 | - | |
22 | - | |
23 | - | |
24 | - | |
25 | - | |
26 | - | |
27 | - | |
28 | - | |
29 | public: | - |
30 | enum ThreadingModel { | - |
31 | GuiThread, | - |
32 | RenderThread, | - |
33 | AnyThread | - |
34 | }; | - |
35 | - | |
36 | QQuickAbstractAnimation(QObject *parent=nullptr); | - |
37 | ~QQuickAbstractAnimation() override; | - |
38 | - | |
39 | enum Loops { Infinite = -2 }; | - |
40 | friend constexpr const QMetaObject *qt_getEnumMetaObject(Loops) noexcept { return &staticMetaObject; } friend constexpr const char *qt_getEnumName(Loops) noexcept { return "Loops"; } | - |
41 | - | |
42 | bool isRunning() const; | - |
43 | void setRunning(bool); | - |
44 | bool isPaused() const; | - |
45 | void setPaused(bool); | - |
46 | bool alwaysRunToEnd() const; | - |
47 | void setAlwaysRunToEnd(bool); | - |
48 | - | |
49 | int loops() const; | - |
50 | void setLoops(int); | - |
51 | int duration() const; | - |
52 | - | |
53 | int currentTime(); | - |
54 | void setCurrentTime(int); | - |
55 | - | |
56 | QQuickAnimationGroup *group() const; | - |
57 | void setGroup(QQuickAnimationGroup *); | - |
58 | - | |
59 | void setDefaultTarget(const QQmlProperty &); | - |
60 | void setDisableUserControl(); | - |
61 | void setEnableUserControl(); | - |
62 | bool userControlDisabled() const; | - |
63 | void classBegin() override; | - |
64 | void componentComplete() override; | - |
65 | - | |
66 | virtual ThreadingModel threadingModel() const; | - |
67 | - | |
68 | public : | - |
69 | void started(); | - |
70 | void stopped(); | - |
71 | void runningChanged(bool); | - |
72 | void pausedChanged(bool); | - |
73 | void alwaysRunToEndChanged(bool); | - |
74 | void loopCountChanged(int); | - |
75 | void finished(); | - |
76 | - | |
77 | public : | - |
78 | void restart(); | - |
79 | void start(); | - |
80 | void pause(); | - |
81 | void resume(); | - |
82 | void stop(); | - |
83 | void complete(); | - |
84 | - | |
85 | protected: | - |
86 | QQuickAbstractAnimation(QQuickAbstractAnimationPrivate &dd, QObject *parent); | - |
87 | QAbstractAnimationJob* initInstance(QAbstractAnimationJob *animation); | - |
88 | - | |
89 | public: | - |
90 | enum TransitionDirection { Forward, Backward }; | - |
91 | virtual QAbstractAnimationJob* transition(QQuickStateActions &actions, | - |
92 | QQmlProperties &modified, | - |
93 | TransitionDirection direction, | - |
94 | QObject *defaultTarget = nullptr); | - |
95 | QAbstractAnimationJob* qtAnimation(); | - |
96 | - | |
97 | private : | - |
98 | void componentFinalized(); | - |
99 | private: | - |
100 | void setTarget(const QQmlProperty &) override; | - |
101 | void notifyRunningChanged(bool running); | - |
102 | friend class QQuickBehavior; | - |
103 | friend class QQuickBehaviorPrivate; | - |
104 | friend class QQuickAnimationGroup; | - |
105 | }; | - |
106 | - | |
107 | class QQuickPauseAnimationPrivate; | - |
108 | class __attribute__((visibility("default"))) QQuickPauseAnimation : public QQuickAbstractAnimation | - |
109 | { | - |
110 | public: | - |
111 | #pragma GCC diagnostic push | - |
112 | - | |
113 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
114 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
115 | #pragma GCC diagnostic ignored "-Wattributes" | - |
116 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
117 | #pragma GCC diagnostic pop | - |
118 | struct QPrivateSignal {}; | - |
119 | inline QQuickPauseAnimationPrivate* d_func() { return executed 8992 times by 10 tests: reinterpret_cast<QQuickPauseAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickPauseAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 8992 times by 10 tests: } inline const QQuickPauseAnimationPrivate* d_func() const { returnreturn reinterpret_cast<QQuickPauseAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 2 times by 1 test: reinterpret_cast<const QQuickPauseAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickPauseAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 2 times by 1 test: } friend class QQuickPauseAnimationPrivate;return reinterpret_cast<const QQuickPauseAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 2-8992 |
120 | - | |
121 | - | |
122 | - | |
123 | public: | - |
124 | QQuickPauseAnimation(QObject *parent=nullptr); | - |
125 | ~QQuickPauseAnimation() override; | - |
126 | - | |
127 | int duration() const; | - |
128 | void setDuration(int); | - |
129 | - | |
130 | public : | - |
131 | void durationChanged(int); | - |
132 | - | |
133 | protected: | - |
134 | QAbstractAnimationJob* transition(QQuickStateActions &actions, | - |
135 | QQmlProperties &modified, | - |
136 | TransitionDirection direction, | - |
137 | QObject *defaultTarget = nullptr) override; | - |
138 | }; | - |
139 | - | |
140 | class QQuickScriptActionPrivate; | - |
141 | class QQuickScriptAction : public QQuickAbstractAnimation | - |
142 | { | - |
143 | public: | - |
144 | #pragma GCC diagnostic push | - |
145 | - | |
146 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
147 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
148 | #pragma GCC diagnostic ignored "-Wattributes" | - |
149 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
150 | #pragma GCC diagnostic pop | - |
151 | struct QPrivateSignal {}; | - |
152 | inline QQuickScriptActionPrivate* d_func() { return executed 25680 times by 8 tests: reinterpret_cast<QQuickScriptActionPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickScriptActionPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 25680 times by 8 tests: } inline const QQuickScriptActionPrivate* d_func() const { returnreturn reinterpret_cast<QQuickScriptActionPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
never executed: reinterpret_cast<const QQuickScriptActionPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickScriptActionPrivate *>(qGetPtrHelper(d_ptr)); never executed: } friend class QQuickScriptActionPrivate;return reinterpret_cast<const QQuickScriptActionPrivate *>(qGetPtrHelper(d_ptr)); | 0-25680 |
153 | - | |
154 | - | |
155 | - | |
156 | - | |
157 | public: | - |
158 | QQuickScriptAction(QObject *parent=nullptr); | - |
159 | ~QQuickScriptAction() override; | - |
160 | - | |
161 | QQmlScriptString script() const; | - |
162 | void setScript(const QQmlScriptString &); | - |
163 | - | |
164 | QString stateChangeScriptName() const; | - |
165 | void setStateChangeScriptName(const QString &); | - |
166 | - | |
167 | protected: | - |
168 | QAbstractAnimationJob* transition(QQuickStateActions &actions, | - |
169 | QQmlProperties &modified, | - |
170 | TransitionDirection direction, | - |
171 | QObject *defaultTarget = nullptr) override; | - |
172 | }; | - |
173 | - | |
174 | class QQuickPropertyActionPrivate; | - |
175 | class QQuickPropertyAction : public QQuickAbstractAnimation | - |
176 | { | - |
177 | public: | - |
178 | #pragma GCC diagnostic push | - |
179 | - | |
180 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
181 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
182 | #pragma GCC diagnostic ignored "-Wattributes" | - |
183 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
184 | #pragma GCC diagnostic pop | - |
185 | struct QPrivateSignal {}; | - |
186 | inline QQuickPropertyActionPrivate* d_func() { return executed 6794 times by 11 tests: reinterpret_cast<QQuickPropertyActionPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickPropertyActionPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 6794 times by 11 tests: } inline const QQuickPropertyActionPrivate* d_func() const { returnreturn reinterpret_cast<QQuickPropertyActionPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
never executed: reinterpret_cast<const QQuickPropertyActionPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickPropertyActionPrivate *>(qGetPtrHelper(d_ptr)); never executed: } friend class QQuickPropertyActionPrivate;return reinterpret_cast<const QQuickPropertyActionPrivate *>(qGetPtrHelper(d_ptr)); | 0-6794 |
187 | - | |
188 | - | |
189 | - | |
190 | - | |
191 | - | |
192 | - | |
193 | - | |
194 | - | |
195 | public: | - |
196 | QQuickPropertyAction(QObject *parent=nullptr); | - |
197 | ~QQuickPropertyAction() override; | - |
198 | - | |
199 | QObject *target() const; | - |
200 | void setTargetObject(QObject *); | - |
201 | - | |
202 | QString property() const; | - |
203 | void setProperty(const QString &); | - |
204 | - | |
205 | QString properties() const; | - |
206 | void setProperties(const QString &); | - |
207 | - | |
208 | QQmlListProperty<QObject> targets(); | - |
209 | QQmlListProperty<QObject> exclude(); | - |
210 | - | |
211 | QVariant value() const; | - |
212 | void setValue(const QVariant &); | - |
213 | - | |
214 | public : | - |
215 | void valueChanged(const QVariant &); | - |
216 | void propertiesChanged(const QString &); | - |
217 | void targetChanged(); | - |
218 | void propertyChanged(); | - |
219 | - | |
220 | protected: | - |
221 | QAbstractAnimationJob* transition(QQuickStateActions &actions, | - |
222 | QQmlProperties &modified, | - |
223 | TransitionDirection direction, | - |
224 | QObject *defaultTarget = nullptr) override; | - |
225 | }; | - |
226 | - | |
227 | class QQuickPropertyAnimationPrivate; | - |
228 | class __attribute__((visibility("default"))) QQuickPropertyAnimation : public QQuickAbstractAnimation | - |
229 | { | - |
230 | public: | - |
231 | #pragma GCC diagnostic push | - |
232 | - | |
233 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
234 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
235 | #pragma GCC diagnostic ignored "-Wattributes" | - |
236 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
237 | #pragma GCC diagnostic pop | - |
238 | struct QPrivateSignal {}; | - |
239 | inline QQuickPropertyAnimationPrivate* d_func() { return executed 102058 times by 16 tests: reinterpret_cast<QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 102058 times by 16 tests: } inline const QQuickPropertyAnimationPrivate* d_func() const { returnreturn reinterpret_cast<QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 564 times by 7 tests: reinterpret_cast<const QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 564 times by 7 tests: } friend class QQuickPropertyAnimationPrivate;return reinterpret_cast<const QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 564-102058 |
240 | - | |
241 | - | |
242 | - | |
243 | - | |
244 | - | |
245 | - | |
246 | - | |
247 | - | |
248 | - | |
249 | - | |
250 | - | |
251 | public: | - |
252 | QQuickPropertyAnimation(QObject *parent=nullptr); | - |
253 | ~QQuickPropertyAnimation() override; | - |
254 | - | |
255 | virtual int duration() const; | - |
256 | virtual void setDuration(int); | - |
257 | - | |
258 | QVariant from() const; | - |
259 | void setFrom(const QVariant &); | - |
260 | - | |
261 | QVariant to() const; | - |
262 | void setTo(const QVariant &); | - |
263 | - | |
264 | QEasingCurve easing() const; | - |
265 | void setEasing(const QEasingCurve &); | - |
266 | - | |
267 | QObject *target() const; | - |
268 | void setTargetObject(QObject *); | - |
269 | - | |
270 | QString property() const; | - |
271 | void setProperty(const QString &); | - |
272 | - | |
273 | QString properties() const; | - |
274 | void setProperties(const QString &); | - |
275 | - | |
276 | QQmlListProperty<QObject> targets(); | - |
277 | QQmlListProperty<QObject> exclude(); | - |
278 | - | |
279 | protected: | - |
280 | QQuickStateActions createTransitionActions(QQuickStateActions &actions, | - |
281 | QQmlProperties &modified, | - |
282 | QObject *defaultTarget = nullptr); | - |
283 | - | |
284 | QQuickPropertyAnimation(QQuickPropertyAnimationPrivate &dd, QObject *parent); | - |
285 | QAbstractAnimationJob* transition(QQuickStateActions &actions, | - |
286 | QQmlProperties &modified, | - |
287 | TransitionDirection direction, | - |
288 | QObject *defaultTarget = nullptr) override; | - |
289 | public : | - |
290 | void durationChanged(int); | - |
291 | void fromChanged(); | - |
292 | void toChanged(); | - |
293 | void easingChanged(const QEasingCurve &); | - |
294 | void propertiesChanged(const QString &); | - |
295 | void targetChanged(); | - |
296 | void propertyChanged(); | - |
297 | }; | - |
298 | - | |
299 | class __attribute__((visibility("default"))) QQuickColorAnimation : public QQuickPropertyAnimation | - |
300 | { | - |
301 | public: | - |
302 | #pragma GCC diagnostic push | - |
303 | - | |
304 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
305 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
306 | #pragma GCC diagnostic ignored "-Wattributes" | - |
307 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
308 | #pragma GCC diagnostic pop | - |
309 | struct QPrivateSignal {}; | - |
310 | inline QQuickPropertyAnimationPrivate* d_func() { return executed 184 times by 4 tests: reinterpret_cast<QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 184 times by 4 tests: } inline const QQuickPropertyAnimationPrivate* d_func() const { returnreturn reinterpret_cast<QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 4 times by 1 test: reinterpret_cast<const QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 4 times by 1 test: } friend class QQuickPropertyAnimationPrivate;return reinterpret_cast<const QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 4-184 |
311 | - | |
312 | - | |
313 | - | |
314 | public: | - |
315 | QQuickColorAnimation(QObject *parent=nullptr); | - |
316 | ~QQuickColorAnimation() override; | - |
317 | - | |
318 | QColor from() const; | - |
319 | void setFrom(const QColor &); | - |
320 | - | |
321 | QColor to() const; | - |
322 | void setTo(const QColor &); | - |
323 | }; | - |
324 | - | |
325 | class __attribute__((visibility("default"))) QQuickNumberAnimation : public QQuickPropertyAnimation | - |
326 | { | - |
327 | public: | - |
328 | #pragma GCC diagnostic push | - |
329 | - | |
330 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
331 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
332 | #pragma GCC diagnostic ignored "-Wattributes" | - |
333 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
334 | #pragma GCC diagnostic pop | - |
335 | struct QPrivateSignal {}; | - |
336 | inline QQuickPropertyAnimationPrivate* d_func() { return executed 8120 times by 15 tests: reinterpret_cast<QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 8120 times by 15 tests: } inline const QQuickPropertyAnimationPrivate* d_func() const { returnreturn reinterpret_cast<QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 27 times by 3 tests: reinterpret_cast<const QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 27 times by 3 tests: } friend class QQuickPropertyAnimationPrivate;return reinterpret_cast<const QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 27-8120 |
337 | - | |
338 | - | |
339 | - | |
340 | - | |
341 | public: | - |
342 | QQuickNumberAnimation(QObject *parent=nullptr); | - |
343 | ~QQuickNumberAnimation() override; | - |
344 | - | |
345 | qreal from() const; | - |
346 | void setFrom(qreal); | - |
347 | - | |
348 | qreal to() const; | - |
349 | void setTo(qreal); | - |
350 | - | |
351 | protected: | - |
352 | QQuickNumberAnimation(QQuickPropertyAnimationPrivate &dd, QObject *parent); | - |
353 | - | |
354 | private: | - |
355 | void init(); | - |
356 | }; | - |
357 | - | |
358 | class __attribute__((visibility("default"))) QQuickVector3dAnimation : public QQuickPropertyAnimation | - |
359 | { | - |
360 | public: | - |
361 | #pragma GCC diagnostic push | - |
362 | - | |
363 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
364 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
365 | #pragma GCC diagnostic ignored "-Wattributes" | - |
366 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
367 | #pragma GCC diagnostic pop | - |
368 | struct QPrivateSignal {}; | - |
369 | inline QQuickPropertyAnimationPrivate* d_func() { return never executed: reinterpret_cast<QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); never executed: } inline const QQuickPropertyAnimationPrivate* d_func() const { returnreturn reinterpret_cast<QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); never executed: reinterpret_cast<const QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); never executed: } friend class QQuickPropertyAnimationPrivate;return reinterpret_cast<const QQuickPropertyAnimationPrivate *>(qGetPtrHelper(d_ptr)); | 0 |
370 | - | |
371 | - | |
372 | - | |
373 | - | |
374 | public: | - |
375 | QQuickVector3dAnimation(QObject *parent=nullptr); | - |
376 | ~QQuickVector3dAnimation() override; | - |
377 | - | |
378 | QVector3D from() const; | - |
379 | void setFrom(QVector3D); | - |
380 | - | |
381 | QVector3D to() const; | - |
382 | void setTo(QVector3D); | - |
383 | }; | - |
384 | - | |
385 | class QQuickRotationAnimationPrivate; | - |
386 | class __attribute__((visibility("default"))) QQuickRotationAnimation : public QQuickPropertyAnimation | - |
387 | { | - |
388 | public: | - |
389 | #pragma GCC diagnostic push | - |
390 | - | |
391 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
392 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
393 | #pragma GCC diagnostic ignored "-Wattributes" | - |
394 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
395 | #pragma GCC diagnostic pop | - |
396 | struct QPrivateSignal {}; | - |
397 | inline QQuickRotationAnimationPrivate* d_func() { return executed 24 times by 2 tests: reinterpret_cast<QQuickRotationAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickRotationAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 24 times by 2 tests: } inline const QQuickRotationAnimationPrivate* d_func() const { returnreturn reinterpret_cast<QQuickRotationAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 4 times by 1 test: reinterpret_cast<const QQuickRotationAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickRotationAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 4 times by 1 test: } friend class QQuickRotationAnimationPrivate;return reinterpret_cast<const QQuickRotationAnimationPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 4-24 |
398 | - | |
399 | - | |
400 | - | |
401 | - | |
402 | - | |
403 | public: | - |
404 | QQuickRotationAnimation(QObject *parent=nullptr); | - |
405 | ~QQuickRotationAnimation() override; | - |
406 | - | |
407 | qreal from() const; | - |
408 | void setFrom(qreal); | - |
409 | - | |
410 | qreal to() const; | - |
411 | void setTo(qreal); | - |
412 | - | |
413 | enum RotationDirection { Numerical, Shortest, Clockwise, Counterclockwise }; | - |
414 | friend constexpr const QMetaObject *qt_getEnumMetaObject(RotationDirection) noexcept { return &staticMetaObject; } friend constexpr const char *qt_getEnumName(RotationDirection) noexcept { return "RotationDirection"; } | - |
415 | RotationDirection direction() const; | - |
416 | void setDirection(RotationDirection direction); | - |
417 | - | |
418 | public : | - |
419 | void directionChanged(); | - |
420 | }; | - |
421 | - | |
422 | class QQuickAnimationGroupPrivate; | - |
423 | class __attribute__((visibility("default"))) QQuickAnimationGroup : public QQuickAbstractAnimation | - |
424 | { | - |
425 | public: | - |
426 | #pragma GCC diagnostic push | - |
427 | - | |
428 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
429 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
430 | #pragma GCC diagnostic ignored "-Wattributes" | - |
431 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
432 | #pragma GCC diagnostic pop | - |
433 | struct QPrivateSignal {}; | - |
434 | inline QQuickAnimationGroupPrivate* d_func() { return executed 51082 times by 14 tests: reinterpret_cast<QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 51082 times by 14 tests: } inline const QQuickAnimationGroupPrivate* d_func() const { returnreturn reinterpret_cast<QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
never executed: reinterpret_cast<const QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr)); never executed: } friend class QQuickAnimationGroupPrivate;return reinterpret_cast<const QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr)); | 0-51082 |
435 | - | |
436 | - | |
437 | - | |
438 | - | |
439 | public: | - |
440 | QQuickAnimationGroup(QObject *parent); | - |
441 | ~QQuickAnimationGroup() override; | - |
442 | - | |
443 | QQmlListProperty<QQuickAbstractAnimation> animations(); | - |
444 | friend class QQuickAbstractAnimation; | - |
445 | - | |
446 | protected: | - |
447 | QQuickAnimationGroup(QQuickAnimationGroupPrivate &dd, QObject *parent); | - |
448 | }; | - |
449 | - | |
450 | class QQuickSequentialAnimation : public QQuickAnimationGroup | - |
451 | { | - |
452 | public: | - |
453 | #pragma GCC diagnostic push | - |
454 | - | |
455 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
456 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
457 | #pragma GCC diagnostic ignored "-Wattributes" | - |
458 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
459 | #pragma GCC diagnostic pop | - |
460 | struct QPrivateSignal {}; | - |
461 | inline QQuickAnimationGroupPrivate* d_func() { return executed 12666 times by 13 tests: reinterpret_cast<QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 12666 times by 13 tests: } inline const QQuickAnimationGroupPrivate* d_func() const { returnreturn reinterpret_cast<QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 25334 times by 13 tests: reinterpret_cast<const QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 25334 times by 13 tests: } friend class QQuickAnimationGroupPrivate;return reinterpret_cast<const QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 12666-25334 |
462 | - | |
463 | public: | - |
464 | QQuickSequentialAnimation(QObject *parent=nullptr); | - |
465 | ~QQuickSequentialAnimation() override; | - |
466 | - | |
467 | protected: | - |
468 | ThreadingModel threadingModel() const override; | - |
469 | QAbstractAnimationJob* transition(QQuickStateActions &actions, | - |
470 | QQmlProperties &modified, | - |
471 | TransitionDirection direction, | - |
472 | QObject *defaultTarget = nullptr) override; | - |
473 | }; | - |
474 | - | |
475 | class __attribute__((visibility("default"))) QQuickParallelAnimation : public QQuickAnimationGroup | - |
476 | { | - |
477 | public: | - |
478 | #pragma GCC diagnostic push | - |
479 | - | |
480 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
481 | static const QMetaObject staticMetaObject; virtual const QMetaObject *metaObject() const; virtual void *qt_metacast(const char *); virtual int qt_metacall(QMetaObject::Call, int, void **); static inline QString tr(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } __attribute__ ((__deprecated__)) static inline QString trUtf8(const char *s, const char *c = nullptr, int n = -1) { return staticMetaObject.tr(s, c, n); } private: | - |
482 | #pragma GCC diagnostic ignored "-Wattributes" | - |
483 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
484 | #pragma GCC diagnostic pop | - |
485 | struct QPrivateSignal {}; | - |
486 | inline QQuickAnimationGroupPrivate* d_func() { return executed 10194 times by 6 tests: reinterpret_cast<QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 10194 times by 6 tests: } inline const QQuickAnimationGroupPrivate* d_func() const { returnreturn reinterpret_cast<QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 21366 times by 6 tests: reinterpret_cast<const QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 21366 times by 6 tests: } friend class QQuickAnimationGroupPrivate;return reinterpret_cast<const QQuickAnimationGroupPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
| 10194-21366 |
487 | - | |
488 | public: | - |
489 | QQuickParallelAnimation(QObject *parent=nullptr); | - |
490 | ~QQuickParallelAnimation() override; | - |
491 | - | |
492 | protected: | - |
493 | ThreadingModel threadingModel() const override; | - |
494 | QAbstractAnimationJob* transition(QQuickStateActions &actions, | - |
495 | QQmlProperties &modified, | - |
496 | TransitionDirection direction, | - |
497 | QObject *defaultTarget = nullptr) override; | - |
498 | }; | - |
499 | - | |
500 | - | |
501 | - | |
502 | - | |
503 | template <> struct QMetaTypeId< QQuickAbstractAnimation * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickAbstractAnimation * >("QQuickAbstractAnimation *", reinterpret_cast< QQuickAbstractAnimation * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickAbstractAnimation> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickAbstractAnimation> >("QQmlListProperty<QQuickAbstractAnimation>", reinterpret_cast< QQmlListProperty<QQuickAbstractAnimation> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
504 | template <> struct QMetaTypeId< QQuickPauseAnimation * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickPauseAnimation * >("QQuickPauseAnimation *", reinterpret_cast< QQuickPauseAnimation * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickPauseAnimation> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickPauseAnimation> >("QQmlListProperty<QQuickPauseAnimation>", reinterpret_cast< QQmlListProperty<QQuickPauseAnimation> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
505 | template <> struct QMetaTypeId< QQuickScriptAction * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickScriptAction * >("QQuickScriptAction *", reinterpret_cast< QQuickScriptAction * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickScriptAction> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickScriptAction> >("QQmlListProperty<QQuickScriptAction>", reinterpret_cast< QQmlListProperty<QQuickScriptAction> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
506 | template <> struct QMetaTypeId< QQuickPropertyAction * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickPropertyAction * >("QQuickPropertyAction *", reinterpret_cast< QQuickPropertyAction * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickPropertyAction> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickPropertyAction> >("QQmlListProperty<QQuickPropertyAction>", reinterpret_cast< QQmlListProperty<QQuickPropertyAction> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
507 | template <> struct QMetaTypeId< QQuickPropertyAnimation * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickPropertyAnimation * >("QQuickPropertyAnimation *", reinterpret_cast< QQuickPropertyAnimation * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickPropertyAnimation> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickPropertyAnimation> >("QQmlListProperty<QQuickPropertyAnimation>", reinterpret_cast< QQmlListProperty<QQuickPropertyAnimation> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
508 | template <> struct QMetaTypeId< QQuickColorAnimation * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickColorAnimation * >("QQuickColorAnimation *", reinterpret_cast< QQuickColorAnimation * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickColorAnimation> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickColorAnimation> >("QQmlListProperty<QQuickColorAnimation>", reinterpret_cast< QQmlListProperty<QQuickColorAnimation> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
509 | template <> struct QMetaTypeId< QQuickNumberAnimation * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickNumberAnimation * >("QQuickNumberAnimation *", reinterpret_cast< QQuickNumberAnimation * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickNumberAnimation> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickNumberAnimation> >("QQmlListProperty<QQuickNumberAnimation>", reinterpret_cast< QQmlListProperty<QQuickNumberAnimation> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
510 | template <> struct QMetaTypeId< QQuickSequentialAnimation * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickSequentialAnimation * >("QQuickSequentialAnimation *", reinterpret_cast< QQuickSequentialAnimation * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickSequentialAnimation> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickSequentialAnimation> >("QQmlListProperty<QQuickSequentialAnimation>", reinterpret_cast< QQmlListProperty<QQuickSequentialAnimation> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
511 | template <> struct QMetaTypeId< QQuickParallelAnimation * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickParallelAnimation * >("QQuickParallelAnimation *", reinterpret_cast< QQuickParallelAnimation * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickParallelAnimation> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickParallelAnimation> >("QQmlListProperty<QQuickParallelAnimation>", reinterpret_cast< QQmlListProperty<QQuickParallelAnimation> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
512 | template <> struct QMetaTypeId< QQuickVector3dAnimation * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickVector3dAnimation * >("QQuickVector3dAnimation *", reinterpret_cast< QQuickVector3dAnimation * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickVector3dAnimation> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickVector3dAnimation> >("QQmlListProperty<QQuickVector3dAnimation>", reinterpret_cast< QQmlListProperty<QQuickVector3dAnimation> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
513 | template <> struct QMetaTypeId< QQuickRotationAnimation * > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQuickRotationAnimation * >("QQuickRotationAnimation *", reinterpret_cast< QQuickRotationAnimation * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickRotationAnimation> > { enum { Defined = 1 }; static int qt_metatype_id() { static QBasicAtomicInt metatype_id = { 0 }; if (const int id = metatype_id.loadAcquire()) return id; const int newId = qRegisterMetaType< QQmlListProperty<QQuickRotationAnimation> >("QQmlListProperty<QQuickRotationAnimation>", reinterpret_cast< QQmlListProperty<QQuickRotationAnimation> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
Switch to Source code | Preprocessed file |