OpenCoverage

qquickpointdirection_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/qquickpointdirection_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3class QQuickPointDirection : public QQuickDirection-
4{-
5 public:-
6#pragma GCC diagnostic push-
7 -
8#pragma GCC diagnostic ignored "-Wsuggest-override"-
9 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:-
10#pragma GCC diagnostic ignored "-Wattributes"-
11 __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **);-
12#pragma GCC diagnostic pop-
13 struct QPrivateSignal {};-
14 -
15 -
16 -
17 -
18public:-
19 explicit QQuickPointDirection(QObject *parent = 0);-
20 QPointF sample(const QPointF &from) override;-
21 qreal x() const-
22 {-
23 return
never executed: return m_x;
m_x;
never executed: return m_x;
0
24 }-
25-
26 qreal y() const-
27 {-
28 return
never executed: return m_y;
m_y;
never executed: return m_y;
0
29 }-
30-
31 qreal xVariation() const-
32 {-
33 return
never executed: return m_xVariation;
m_xVariation;
never executed: return m_xVariation;
0
34 }-
35-
36 qreal yVariation() const-
37 {-
38 return
never executed: return m_yVariation;
m_yVariation;
never executed: return m_yVariation;
0
39 }-
40-
41public :-
42-
43 void xChanged(qreal arg);-
44-
45 void yChanged(qreal arg);-
46-
47 void xVariationChanged(qreal arg);-
48-
49 void yVariationChanged(qreal arg);-
50-
51public :-
52 void setX(qreal arg)-
53 {-
54 if (m_x != arg
m_x != argDescription
TRUEevaluated 66 times by 8 tests
Evaluated by:
  • tst_examples
  • tst_qquickage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickfriction
  • tst_qquickimageparticle
  • tst_qquickpointdirection
  • tst_qquicktrailemitter
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qquickcustomaffector
) {
2-66
55 m_x = arg;-
56 xChanged(arg);-
57 }
executed 66 times by 8 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickfriction
  • tst_qquickimageparticle
  • tst_qquickpointdirection
  • tst_qquicktrailemitter
66
58 }
executed 68 times by 8 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickfriction
  • tst_qquickimageparticle
  • tst_qquickpointdirection
  • tst_qquicktrailemitter
68
59-
60 void setY(qreal arg)-
61 {-
62 if (m_y != arg
m_y != argDescription
TRUEevaluated 104 times by 7 tests
Evaluated by:
  • tst_examples
  • tst_qquickage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickimageparticle
  • tst_qquickpointdirection
  • tst_qquicktrailemitter
FALSEnever evaluated
) {
0-104
63 m_y = arg;-
64 yChanged(arg);-
65 }
executed 104 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickimageparticle
  • tst_qquickpointdirection
  • tst_qquicktrailemitter
104
66 }
executed 104 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickimageparticle
  • tst_qquickpointdirection
  • tst_qquicktrailemitter
104
67-
68 void setXVariation(qreal arg)-
69 {-
70 if (m_xVariation != arg
m_xVariation != argDescription
TRUEevaluated 80 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickpointdirection
FALSEnever evaluated
) {
0-80
71 m_xVariation = arg;-
72 xVariationChanged(arg);-
73 }
executed 80 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickpointdirection
80
74 }
executed 80 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickpointdirection
80
75-
76 void setYVariation(qreal arg)-
77 {-
78 if (m_yVariation != arg
m_yVariation != argDescription
TRUEevaluated 78 times by 2 tests
Evaluated by:
  • tst_examples
  • tst_qquickpointdirection
FALSEnever evaluated
) {
0-78
79 m_yVariation = arg;-
80 yVariationChanged(arg);-
81 }
executed 78 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickpointdirection
78
82 }
executed 78 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickpointdirection
78
83-
84private:-
85-
86 qreal m_x;-
87 qreal m_y;-
88 qreal m_xVariation;-
89 qreal m_yVariation;-
90};-
91-
92-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0