Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/qquickgroupgoal_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||
---|---|---|---|---|---|---|---|---|
1 | - | |||||||
2 | - | |||||||
3 | class QQuickStochasticEngine; | - | ||||||
4 | - | |||||||
5 | class QQuickGroupGoalAffector : public QQuickParticleAffector | - | ||||||
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 | public: | - | ||||||
19 | explicit QQuickGroupGoalAffector(QQuickItem *parent = 0); | - | ||||||
20 | - | |||||||
21 | QString goalState() const | - | ||||||
22 | { | - | ||||||
23 | return never executed: m_goalState;return m_goalState; never executed: return m_goalState; | 0 | ||||||
24 | } | - | ||||||
25 | - | |||||||
26 | bool jump() const | - | ||||||
27 | { | - | ||||||
28 | return never executed: m_jump;return m_jump; never executed: return m_jump; | 0 | ||||||
29 | } | - | ||||||
30 | - | |||||||
31 | protected: | - | ||||||
32 | bool affectParticle(QQuickParticleData *d, qreal dt) override; | - | ||||||
33 | - | |||||||
34 | public : | - | ||||||
35 | - | |||||||
36 | void goalStateChanged(const QString &arg); | - | ||||||
37 | - | |||||||
38 | void jumpChanged(bool arg); | - | ||||||
39 | - | |||||||
40 | public : | - | ||||||
41 | - | |||||||
42 | void setGoalState(const QString &arg); | - | ||||||
43 | - | |||||||
44 | void setJump(bool arg) | - | ||||||
45 | { | - | ||||||
46 | if (m_jump != arg
| 0-8 | ||||||
47 | m_jump = arg; | - | ||||||
48 | jumpChanged(arg); | - | ||||||
49 | } executed 8 times by 2 tests: end of block Executed by:
| 8 | ||||||
50 | } executed 8 times by 2 tests: end of block Executed by:
| 8 | ||||||
51 | - | |||||||
52 | private: | - | ||||||
53 | QString m_goalState; | - | ||||||
54 | bool m_jump; | - | ||||||
55 | }; | - | ||||||
56 | - | |||||||
57 | - | |||||||
Switch to Source code | Preprocessed file |