OpenCoverage

qquicksmoothedanimation_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquicksmoothedanimation_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6class QQmlProperty;-
7class QQuickSmoothedAnimationPrivate;-
8class __attribute__((visibility("default"))) QQuickSmoothedAnimation : public QQuickNumberAnimation-
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 QQuickSmoothedAnimationPrivate* d_func() { return
executed 133 times by 3 tests: return reinterpret_cast<QQuickSmoothedAnimationPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquicksmoothedanimation
reinterpret_cast<QQuickSmoothedAnimationPrivate *>(qGetPtrHelper(d_ptr));
executed 133 times by 3 tests: return reinterpret_cast<QQuickSmoothedAnimationPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qquickbehaviors
  • tst_qquicklistview
  • tst_qquicksmoothedanimation
} inline const QQuickSmoothedAnimationPrivate* d_func() const { return
executed 24 times by 1 test: return reinterpret_cast<const QQuickSmoothedAnimationPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qquicksmoothedanimation
reinterpret_cast<const QQuickSmoothedAnimationPrivate *>(qGetPtrHelper(d_ptr));
executed 24 times by 1 test: return reinterpret_cast<const QQuickSmoothedAnimationPrivate *>(qGetPtrHelper(d_ptr));
Executed by:
  • tst_qquicksmoothedanimation
} friend class QQuickSmoothedAnimationPrivate;
24-133
20-
21 -
22 -
23 -
24-
25public:-
26 enum ReversingMode { Eased, Immediate, Sync };-
27 friend constexpr const QMetaObject *qt_getEnumMetaObject(ReversingMode) noexcept { return &staticMetaObject; } friend constexpr const char *qt_getEnumName(ReversingMode) noexcept { return "ReversingMode"; }-
28-
29 QQuickSmoothedAnimation(QObject *parent = nullptr);-
30 ~QQuickSmoothedAnimation();-
31-
32 ReversingMode reversingMode() const;-
33 void setReversingMode(ReversingMode);-
34-
35 int duration() const override;-
36 void setDuration(int) override;-
37-
38 qreal velocity() const;-
39 void setVelocity(qreal);-
40-
41 int maximumEasingTime() const;-
42 void setMaximumEasingTime(int);-
43-
44 QAbstractAnimationJob* transition(QQuickStateActions &actions,-
45 QQmlProperties &modified,-
46 TransitionDirection direction,-
47 QObject *defaultTarget = nullptr) override;-
48public :-
49 void velocityChanged();-
50 void reversingModeChanged();-
51 void maximumEasingTimeChanged();-
52};-
53-
54-
55-
56 template <> struct QMetaTypeId< QQuickSmoothedAnimation * > { 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< QQuickSmoothedAnimation * >("QQuickSmoothedAnimation *", reinterpret_cast< QQuickSmoothedAnimation * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickSmoothedAnimation> > { 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<QQuickSmoothedAnimation> >("QQmlListProperty<QQuickSmoothedAnimation>", reinterpret_cast< QQmlListProperty<QQuickSmoothedAnimation> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } };-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0