Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/util/qquickanimationcontroller_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | class QQuickAnimationControllerPrivate; | - |
5 | class __attribute__((visibility("default"))) QQuickAnimationController : public QObject, public QQmlParserStatus | - |
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 | - | |
17 | - | |
18 | inline QQuickAnimationControllerPrivate* d_func() { return executed 278 times by 1 test: reinterpret_cast<QQuickAnimationControllerPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<QQuickAnimationControllerPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
executed 278 times by 1 test: } inline const QQuickAnimationControllerPrivate* d_func() const { returnreturn reinterpret_cast<QQuickAnimationControllerPrivate *>(qGetPtrHelper(d_ptr)); Executed by:
never executed: reinterpret_cast<const QQuickAnimationControllerPrivate *>(qGetPtrHelper(d_ptr));return reinterpret_cast<const QQuickAnimationControllerPrivate *>(qGetPtrHelper(d_ptr)); never executed: } friend class QQuickAnimationControllerPrivate;return reinterpret_cast<const QQuickAnimationControllerPrivate *>(qGetPtrHelper(d_ptr)); | 0-278 |
19 | - | |
20 | - | |
21 | - | |
22 | - | |
23 | - | |
24 | public: | - |
25 | QQuickAnimationController(QObject *parent=nullptr); | - |
26 | ~QQuickAnimationController(); | - |
27 | - | |
28 | qreal progress() const; | - |
29 | void setProgress(qreal progress); | - |
30 | - | |
31 | QQuickAbstractAnimation *animation() const; | - |
32 | void setAnimation(QQuickAbstractAnimation *animation); | - |
33 | - | |
34 | void classBegin() override; | - |
35 | void componentComplete() override {} | - |
36 | public : | - |
37 | void progressChanged(); | - |
38 | void animationChanged(); | - |
39 | public : | - |
40 | void reload(); | - |
41 | void completeToBeginning(); | - |
42 | void completeToEnd(); | - |
43 | private : | - |
44 | void componentFinalized(); | - |
45 | void updateProgress(); | - |
46 | }; | - |
47 | - | |
48 | - | |
49 | - | |
50 | template <> struct QMetaTypeId< QQuickAnimationController * > { 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< QQuickAnimationController * >("QQuickAnimationController *", reinterpret_cast< QQuickAnimationController * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickAnimationController> > { 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<QQuickAnimationController> >("QQmlListProperty<QQuickAnimationController>", reinterpret_cast< QQmlListProperty<QQuickAnimationController> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
Switch to Source code | Preprocessed file |