| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquicksmoothedanimation_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - | |
| 6 | class QQmlProperty; | - |
| 7 | class QQuickSmoothedAnimationPrivate; | - |
| 8 | class __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: reinterpret_cast<QQuickSmoothedAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickSmoothedAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 133 times by 3 tests: } inline const QQuickSmoothedAnimationPrivate* d_func() const { returnreturn reinterpret_cast<QQuickSmoothedAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 24 times by 1 test: reinterpret_cast<const QQuickSmoothedAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickSmoothedAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 24 times by 1 test: } friend class QQuickSmoothedAnimationPrivate;return reinterpret_cast<const QQuickSmoothedAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
| 24-133 |
| 20 | - | |
| 21 | - | |
| 22 | - | |
| 23 | - | |
| 24 | - | |
| 25 | public: | - |
| 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; | - |
| 48 | public : | - |
| 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 code | Preprocessed file |