| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquickitemanimation_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | class QQuickParentAnimationPrivate; | - |
| 5 | class __attribute__((visibility("default"))) QQuickParentAnimation : public QQuickAnimationGroup | - |
| 6 | { | - |
| 7 | public: | - |
| 8 | #pragma GCC diagnostic push | - |
| 9 | - | |
| 10 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 11 | 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: | - |
| 12 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 13 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 14 | #pragma GCC diagnostic pop | - |
| 15 | struct QPrivateSignal {}; | - |
| 16 | inline QQuickParentAnimationPrivate* d_func() { return executed 6 times by 1 test: reinterpret_cast<QQuickParentAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickParentAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 6 times by 1 test: } inline const QQuickParentAnimationPrivate* d_func() const { returnreturn reinterpret_cast<QQuickParentAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
never executed: reinterpret_cast<const QQuickParentAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickParentAnimationPrivate *>(qGetPtrHelper(d_ptr));never executed: } friend class QQuickParentAnimationPrivate;return reinterpret_cast<const QQuickParentAnimationPrivate *>(qGetPtrHelper(d_ptr)); | 0-6 |
| 17 | - | |
| 18 | - | |
| 19 | - | |
| 20 | - | |
| 21 | - | |
| 22 | public: | - |
| 23 | QQuickParentAnimation(QObject *parent=nullptr); | - |
| 24 | virtual ~QQuickParentAnimation(); | - |
| 25 | - | |
| 26 | QQuickItem *target() const; | - |
| 27 | void setTargetObject(QQuickItem *); | - |
| 28 | - | |
| 29 | QQuickItem *newParent() const; | - |
| 30 | void setNewParent(QQuickItem *); | - |
| 31 | - | |
| 32 | QQuickItem *via() const; | - |
| 33 | void setVia(QQuickItem *); | - |
| 34 | - | |
| 35 | public : | - |
| 36 | void targetChanged(); | - |
| 37 | void newParentChanged(); | - |
| 38 | void viaChanged(); | - |
| 39 | - | |
| 40 | protected: | - |
| 41 | QAbstractAnimationJob* transition(QQuickStateActions &actions, | - |
| 42 | QQmlProperties &modified, | - |
| 43 | TransitionDirection direction, | - |
| 44 | QObject *defaultTarget = nullptr) override; | - |
| 45 | }; | - |
| 46 | - | |
| 47 | class QQuickAnchorAnimationPrivate; | - |
| 48 | class __attribute__((visibility("default"))) QQuickAnchorAnimation : public QQuickAbstractAnimation | - |
| 49 | { | - |
| 50 | public: | - |
| 51 | #pragma GCC diagnostic push | - |
| 52 | - | |
| 53 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 54 | 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: | - |
| 55 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 56 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 57 | #pragma GCC diagnostic pop | - |
| 58 | struct QPrivateSignal {}; | - |
| 59 | inline QQuickAnchorAnimationPrivate* d_func() { return executed 18 times by 2 tests: reinterpret_cast<QQuickAnchorAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickAnchorAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 18 times by 2 tests: } inline const QQuickAnchorAnimationPrivate* d_func() const { returnreturn reinterpret_cast<QQuickAnchorAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
never executed: reinterpret_cast<const QQuickAnchorAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickAnchorAnimationPrivate *>(qGetPtrHelper(d_ptr));never executed: } friend class QQuickAnchorAnimationPrivate;return reinterpret_cast<const QQuickAnchorAnimationPrivate *>(qGetPtrHelper(d_ptr)); | 0-18 |
| 60 | - | |
| 61 | - | |
| 62 | - | |
| 63 | - | |
| 64 | public: | - |
| 65 | QQuickAnchorAnimation(QObject *parent=nullptr); | - |
| 66 | virtual ~QQuickAnchorAnimation(); | - |
| 67 | - | |
| 68 | QQmlListProperty<QQuickItem> targets(); | - |
| 69 | - | |
| 70 | int duration() const; | - |
| 71 | void setDuration(int); | - |
| 72 | - | |
| 73 | QEasingCurve easing() const; | - |
| 74 | void setEasing(const QEasingCurve &); | - |
| 75 | - | |
| 76 | public : | - |
| 77 | void durationChanged(int); | - |
| 78 | void easingChanged(const QEasingCurve&); | - |
| 79 | - | |
| 80 | protected: | - |
| 81 | QAbstractAnimationJob* transition(QQuickStateActions &actions, | - |
| 82 | QQmlProperties &modified, | - |
| 83 | TransitionDirection direction, | - |
| 84 | QObject *defaultTarget = nullptr) override; | - |
| 85 | }; | - |
| 86 | - | |
| 87 | - | |
| 88 | - | |
| 89 | class QQuickItem; | - |
| 90 | class QQuickPath; | - |
| 91 | class QQuickPathAnimationPrivate; | - |
| 92 | class __attribute__((visibility("default"))) QQuickPathAnimation : public QQuickAbstractAnimation | - |
| 93 | { | - |
| 94 | public: | - |
| 95 | #pragma GCC diagnostic push | - |
| 96 | - | |
| 97 | #pragma GCC diagnostic ignored "-Wsuggest-override" | - |
| 98 | 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: | - |
| 99 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 100 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 101 | #pragma GCC diagnostic pop | - |
| 102 | struct QPrivateSignal {}; | - |
| 103 | inline QQuickPathAnimationPrivate* d_func() { return executed 100 times by 2 tests: reinterpret_cast<QQuickPathAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickPathAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 100 times by 2 tests: } inline const QQuickPathAnimationPrivate* d_func() const { returnreturn reinterpret_cast<QQuickPathAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 18 times by 2 tests: reinterpret_cast<const QQuickPathAnimationPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickPathAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
executed 18 times by 2 tests: } friend class QQuickPathAnimationPrivate;return reinterpret_cast<const QQuickPathAnimationPrivate *>(qGetPtrHelper(d_ptr));Executed by:
| 18-100 |
| 104 | - | |
| 105 | - | |
| 106 | - | |
| 107 | - | |
| 108 | - | |
| 109 | - | |
| 110 | - | |
| 111 | - | |
| 112 | - | |
| 113 | - | |
| 114 | - | |
| 115 | public: | - |
| 116 | QQuickPathAnimation(QObject *parent=nullptr); | - |
| 117 | virtual ~QQuickPathAnimation(); | - |
| 118 | - | |
| 119 | enum Orientation { | - |
| 120 | Fixed, | - |
| 121 | RightFirst, | - |
| 122 | LeftFirst, | - |
| 123 | BottomFirst, | - |
| 124 | TopFirst | - |
| 125 | }; | - |
| 126 | friend constexpr const QMetaObject *qt_getEnumMetaObject(Orientation) noexcept { return &staticMetaObject; } friend constexpr const char *qt_getEnumName(Orientation) noexcept { return "Orientation"; } | - |
| 127 | - | |
| 128 | int duration() const; | - |
| 129 | void setDuration(int); | - |
| 130 | - | |
| 131 | QEasingCurve easing() const; | - |
| 132 | void setEasing(const QEasingCurve &); | - |
| 133 | - | |
| 134 | QQuickPath *path() const; | - |
| 135 | void setPath(QQuickPath *); | - |
| 136 | - | |
| 137 | QQuickItem *target() const; | - |
| 138 | void setTargetObject(QQuickItem *); | - |
| 139 | - | |
| 140 | Orientation orientation() const; | - |
| 141 | void setOrientation(Orientation orientation); | - |
| 142 | - | |
| 143 | QPointF anchorPoint() const; | - |
| 144 | void setAnchorPoint(const QPointF &point); | - |
| 145 | - | |
| 146 | int orientationEntryDuration() const; | - |
| 147 | void setOrientationEntryDuration(int); | - |
| 148 | - | |
| 149 | int orientationExitDuration() const; | - |
| 150 | void setOrientationExitDuration(int); | - |
| 151 | - | |
| 152 | qreal endRotation() const; | - |
| 153 | void setEndRotation(qreal); | - |
| 154 | - | |
| 155 | protected: | - |
| 156 | QAbstractAnimationJob* transition(QQuickStateActions &actions, | - |
| 157 | QQmlProperties &modified, | - |
| 158 | TransitionDirection direction, | - |
| 159 | QObject *defaultTarget = nullptr) override; | - |
| 160 | public : | - |
| 161 | void durationChanged(int); | - |
| 162 | void easingChanged(const QEasingCurve &); | - |
| 163 | void pathChanged(); | - |
| 164 | void targetChanged(); | - |
| 165 | void orientationChanged(Orientation); | - |
| 166 | void anchorPointChanged(const QPointF &); | - |
| 167 | void orientationEntryDurationChanged(qreal); | - |
| 168 | void orientationExitDurationChanged(qreal); | - |
| 169 | void endRotationChanged(qreal); | - |
| 170 | }; | - |
| 171 | - | |
| 172 | - | |
| 173 | - | |
| 174 | - | |
| 175 | - | |
| 176 | template <> struct QMetaTypeId< QQuickParentAnimation * > { 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< QQuickParentAnimation * >("QQuickParentAnimation *", reinterpret_cast< QQuickParentAnimation * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickParentAnimation> > { 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<QQuickParentAnimation> >("QQmlListProperty<QQuickParentAnimation>", reinterpret_cast< QQmlListProperty<QQuickParentAnimation> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
| 177 | template <> struct QMetaTypeId< QQuickAnchorAnimation * > { 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< QQuickAnchorAnimation * >("QQuickAnchorAnimation *", reinterpret_cast< QQuickAnchorAnimation * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickAnchorAnimation> > { 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<QQuickAnchorAnimation> >("QQmlListProperty<QQuickAnchorAnimation>", reinterpret_cast< QQmlListProperty<QQuickAnchorAnimation> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
| 178 | - | |
| 179 | template <> struct QMetaTypeId< QQuickPathAnimation * > { 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< QQuickPathAnimation * >("QQuickPathAnimation *", reinterpret_cast< QQuickPathAnimation * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickPathAnimation> > { 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<QQuickPathAnimation> >("QQmlListProperty<QQuickPathAnimation>", reinterpret_cast< QQmlListProperty<QQuickPathAnimation> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
| Switch to Source code | Preprocessed file |