| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickspringanimation_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - | |
| 6 | class QQuickSpringAnimationPrivate; | - |
| 7 | class __attribute__((visibility("default"))) QQuickSpringAnimation : public QQuickNumberAnimation | - |
| 8 | { | - |
| 9 | public: | - |
| 10 | #pragma GCC diagnostic push | - |
| 11 | - | |
| 12 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 13 | 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: | - |
| 14 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 15 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 16 | #pragma GCC diagnostic pop | - |
| 17 | struct QPrivateSignal {}; | - |
| 18 | inline QQuickSpringAnimationPrivate* d_func() { return executed 236 times by 4 tests: reinterpret_cast<QQuickSpringAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickSpringAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 236 times by 4 tests: } inline const QQuickSpringAnimationPrivate* d_func() const { returnreturn reinterpret_cast<QQuickSpringAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 36 times by 1 test: reinterpret_cast<const QQuickSpringAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickSpringAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 36 times by 1 test: } friend class QQuickSpringAnimationPrivate;return reinterpret_cast<const QQuickSpringAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
| 36-236 |
| 19 | - | |
| 20 | - | |
| 21 | - | |
| 22 | - | |
| 23 | - | |
| 24 | - | |
| 25 | - | |
| 26 | - | |
| 27 | - | |
| 28 | public: | - |
| 29 | QQuickSpringAnimation(QObject *parent=nullptr); | - |
| 30 | ~QQuickSpringAnimation(); | - |
| 31 | - | |
| 32 | qreal velocity() const; | - |
| 33 | void setVelocity(qreal velocity); | - |
| 34 | - | |
| 35 | qreal spring() const; | - |
| 36 | void setSpring(qreal spring); | - |
| 37 | - | |
| 38 | qreal damping() const; | - |
| 39 | void setDamping(qreal damping); | - |
| 40 | - | |
| 41 | qreal epsilon() const; | - |
| 42 | void setEpsilon(qreal epsilon); | - |
| 43 | - | |
| 44 | qreal mass() const; | - |
| 45 | void setMass(qreal modulus); | - |
| 46 | - | |
| 47 | qreal modulus() const; | - |
| 48 | void setModulus(qreal modulus); | - |
| 49 | - | |
| 50 | QAbstractAnimationJob* transition(QQuickStateActions &actions, | - |
| 51 | QQmlProperties &modified, | - |
| 52 | TransitionDirection direction, | - |
| 53 | QObject *defaultTarget = nullptr) override; | - |
| 54 | - | |
| 55 | public : | - |
| 56 | void modulusChanged(); | - |
| 57 | void massChanged(); | - |
| 58 | void syncChanged(); | - |
| 59 | }; | - |
| 60 | - | |
| 61 | - | |
| 62 | - | |
| 63 | template <> struct QMetaTypeId< QQuickSpringAnimation * > { 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< QQuickSpringAnimation * >("QQuickSpringAnimation *", reinterpret_cast< QQuickSpringAnimation * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickSpringAnimation> > { 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<QQuickSpringAnimation> >("QQmlListProperty<QQuickSpringAnimation>", reinterpret_cast< QQmlListProperty<QQuickSpringAnimation> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
| Switch to Source code | Preprocessed file |