| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/qquickangledirection_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||
|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||
| 2 | - | |||||||
| 3 | class QQuickAngleDirection : 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 | - | |||||||
| 18 | public: | - | ||||||
| 19 | explicit QQuickAngleDirection(QObject *parent = 0); | - | ||||||
| 20 | QPointF sample(const QPointF &from) override; | - | ||||||
| 21 | qreal angle() const | - | ||||||
| 22 | { | - | ||||||
| 23 | return never executed: m_angle;return m_angle;never executed: return m_angle; | 0 | ||||||
| 24 | } | - | ||||||
| 25 | - | |||||||
| 26 | qreal magnitude() const | - | ||||||
| 27 | { | - | ||||||
| 28 | return never executed: m_magnitude;return m_magnitude;never executed: return m_magnitude; | 0 | ||||||
| 29 | } | - | ||||||
| 30 | - | |||||||
| 31 | qreal angleVariation() const | - | ||||||
| 32 | { | - | ||||||
| 33 | return never executed: m_angleVariation;return m_angleVariation;never executed: return m_angleVariation; | 0 | ||||||
| 34 | } | - | ||||||
| 35 | - | |||||||
| 36 | qreal magnitudeVariation() const | - | ||||||
| 37 | { | - | ||||||
| 38 | return never executed: m_magnitudeVariation;return m_magnitudeVariation;never executed: return m_magnitudeVariation; | 0 | ||||||
| 39 | } | - | ||||||
| 40 | - | |||||||
| 41 | public : | - | ||||||
| 42 | - | |||||||
| 43 | void angleChanged(qreal arg); | - | ||||||
| 44 | - | |||||||
| 45 | void magnitudeChanged(qreal arg); | - | ||||||
| 46 | - | |||||||
| 47 | void angleVariationChanged(qreal arg); | - | ||||||
| 48 | - | |||||||
| 49 | void magnitudeVariationChanged(qreal arg); | - | ||||||
| 50 | - | |||||||
| 51 | public : | - | ||||||
| 52 | void setAngle(qreal arg) | - | ||||||
| 53 | { | - | ||||||
| 54 | if (m_angle != arg
| 2-16 | ||||||
| 55 | m_angle = arg; | - | ||||||
| 56 | angleChanged(arg); | - | ||||||
| 57 | } executed 16 times by 3 tests: end of blockExecuted by:
| 16 | ||||||
| 58 | } executed 18 times by 3 tests: end of blockExecuted by:
| 18 | ||||||
| 59 | - | |||||||
| 60 | void setMagnitude(qreal arg) | - | ||||||
| 61 | { | - | ||||||
| 62 | if (m_magnitude != arg
| 0-66 | ||||||
| 63 | m_magnitude = arg; | - | ||||||
| 64 | magnitudeChanged(arg); | - | ||||||
| 65 | } executed 66 times by 3 tests: end of blockExecuted by:
| 66 | ||||||
| 66 | } executed 66 times by 3 tests: end of blockExecuted by:
| 66 | ||||||
| 67 | - | |||||||
| 68 | void setAngleVariation(qreal arg) | - | ||||||
| 69 | { | - | ||||||
| 70 | if (m_angleVariation != arg
| 0-78 | ||||||
| 71 | m_angleVariation = arg; | - | ||||||
| 72 | angleVariationChanged(arg); | - | ||||||
| 73 | } executed 78 times by 2 tests: end of blockExecuted by:
| 78 | ||||||
| 74 | } executed 78 times by 2 tests: end of blockExecuted by:
| 78 | ||||||
| 75 | - | |||||||
| 76 | void setMagnitudeVariation(qreal arg) | - | ||||||
| 77 | { | - | ||||||
| 78 | if (m_magnitudeVariation != arg
| 0-48 | ||||||
| 79 | m_magnitudeVariation = arg; | - | ||||||
| 80 | magnitudeVariationChanged(arg); | - | ||||||
| 81 | } executed 48 times by 2 tests: end of blockExecuted by:
| 48 | ||||||
| 82 | } executed 48 times by 2 tests: end of blockExecuted by:
| 48 | ||||||
| 83 | - | |||||||
| 84 | private: | - | ||||||
| 85 | qreal m_angle; | - | ||||||
| 86 | qreal m_magnitude; | - | ||||||
| 87 | qreal m_angleVariation; | - | ||||||
| 88 | qreal m_magnitudeVariation; | - | ||||||
| 89 | }; | - | ||||||
| 90 | - | |||||||
| 91 | - | |||||||
| Switch to Source code | Preprocessed file |