| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/qquickpointdirection_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count | ||||||
|---|---|---|---|---|---|---|---|---|
| 1 | - | |||||||
| 2 | - | |||||||
| 3 | class 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 | - | |||||||
| 18 | public: | - | ||||||
| 19 | explicit QQuickPointDirection(QObject *parent = 0); | - | ||||||
| 20 | QPointF sample(const QPointF &from) override; | - | ||||||
| 21 | qreal x() const | - | ||||||
| 22 | { | - | ||||||
| 23 | return never executed: m_x;return m_x;never executed: return m_x; | 0 | ||||||
| 24 | } | - | ||||||
| 25 | - | |||||||
| 26 | qreal y() const | - | ||||||
| 27 | { | - | ||||||
| 28 | return never executed: m_y;return m_y;never executed: return m_y; | 0 | ||||||
| 29 | } | - | ||||||
| 30 | - | |||||||
| 31 | qreal xVariation() const | - | ||||||
| 32 | { | - | ||||||
| 33 | return never executed: m_xVariation;return m_xVariation;never executed: return m_xVariation; | 0 | ||||||
| 34 | } | - | ||||||
| 35 | - | |||||||
| 36 | qreal yVariation() const | - | ||||||
| 37 | { | - | ||||||
| 38 | return never executed: m_yVariation;return m_yVariation;never executed: return m_yVariation; | 0 | ||||||
| 39 | } | - | ||||||
| 40 | - | |||||||
| 41 | public : | - | ||||||
| 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 | - | |||||||
| 51 | public : | - | ||||||
| 52 | void setX(qreal arg) | - | ||||||
| 53 | { | - | ||||||
| 54 | if (m_x != arg
| 2-66 | ||||||
| 55 | m_x = arg; | - | ||||||
| 56 | xChanged(arg); | - | ||||||
| 57 | } executed 66 times by 8 tests: end of blockExecuted by:
| 66 | ||||||
| 58 | } executed 68 times by 8 tests: end of blockExecuted by:
| 68 | ||||||
| 59 | - | |||||||
| 60 | void setY(qreal arg) | - | ||||||
| 61 | { | - | ||||||
| 62 | if (m_y != arg
| 0-104 | ||||||
| 63 | m_y = arg; | - | ||||||
| 64 | yChanged(arg); | - | ||||||
| 65 | } executed 104 times by 7 tests: end of blockExecuted by:
| 104 | ||||||
| 66 | } executed 104 times by 7 tests: end of blockExecuted by:
| 104 | ||||||
| 67 | - | |||||||
| 68 | void setXVariation(qreal arg) | - | ||||||
| 69 | { | - | ||||||
| 70 | if (m_xVariation != arg
| 0-80 | ||||||
| 71 | m_xVariation = arg; | - | ||||||
| 72 | xVariationChanged(arg); | - | ||||||
| 73 | } executed 80 times by 2 tests: end of blockExecuted by:
| 80 | ||||||
| 74 | } executed 80 times by 2 tests: end of blockExecuted by:
| 80 | ||||||
| 75 | - | |||||||
| 76 | void setYVariation(qreal arg) | - | ||||||
| 77 | { | - | ||||||
| 78 | if (m_yVariation != arg
| 0-78 | ||||||
| 79 | m_yVariation = arg; | - | ||||||
| 80 | yVariationChanged(arg); | - | ||||||
| 81 | } executed 78 times by 2 tests: end of blockExecuted by:
| 78 | ||||||
| 82 | } executed 78 times by 2 tests: end of blockExecuted by:
| 78 | ||||||
| 83 | - | |||||||
| 84 | private: | - | ||||||
| 85 | - | |||||||
| 86 | qreal m_x; | - | ||||||
| 87 | qreal m_y; | - | ||||||
| 88 | qreal m_xVariation; | - | ||||||
| 89 | qreal m_yVariation; | - | ||||||
| 90 | }; | - | ||||||
| 91 | - | |||||||
| 92 | - | |||||||
| Switch to Source code | Preprocessed file |