| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/handlers/qquickhandlerpoint_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | class QQuickMultiPointHandler; | - |
| 5 | class QQuickSinglePointHandler; | - |
| 6 | - | |
| 7 | class __attribute__((visibility("default"))) QQuickHandlerPoint { | - |
| 8 | public: static const QMetaObject staticMetaObject; void qt_check_for_QGADGET_macro(); typedef void QtGadgetHelper; private: | - |
| 9 | #pragma GCC diagnostic push | - |
| 10 | - | |
| 11 | #pragma GCC diagnostic ignored "-Wattributes" | - |
| 12 | __attribute__((visibility("hidden"))) static void qt_static_metacall(QObject *, QMetaObject::Call, int, void **); | - |
| 13 | #pragma GCC diagnostic pop | - |
| 14 | - | |
| 15 | - | |
| 16 | - | |
| 17 | - | |
| 18 | - | |
| 19 | - | |
| 20 | - | |
| 21 | - | |
| 22 | - | |
| 23 | - | |
| 24 | - | |
| 25 | - | |
| 26 | - | |
| 27 | - | |
| 28 | - | |
| 29 | public: | - |
| 30 | QQuickHandlerPoint(); | - |
| 31 | - | |
| 32 | int id() const { return executed 7160 times by 4 tests: m_id;return m_id;Executed by:
executed 7160 times by 4 tests: }return m_id;Executed by:
| 7160 |
| 33 | Qt::MouseButtons pressedButtons() const { return executed 6 times by 1 test: m_pressedButtons;return m_pressedButtons;Executed by:
executed 6 times by 1 test: }return m_pressedButtons;Executed by:
| 6 |
| 34 | Qt::KeyboardModifiers modifiers() const { return never executed: m_pressedModifiers;return m_pressedModifiers;never executed: }return m_pressedModifiers; | 0 |
| 35 | QPointF pressPosition() const { return executed 18 times by 1 test: m_pressPosition;return m_pressPosition;Executed by:
executed 18 times by 1 test: }return m_pressPosition;Executed by:
| 18 |
| 36 | QPointF scenePressPosition() const { return executed 1970 times by 3 tests: m_scenePressPosition;return m_scenePressPosition;Executed by:
executed 1970 times by 3 tests: }return m_scenePressPosition;Executed by:
| 1970 |
| 37 | QPointF sceneGrabPosition() const { return executed 57 times by 2 tests: m_sceneGrabPosition;return m_sceneGrabPosition;Executed by:
executed 57 times by 2 tests: }return m_sceneGrabPosition;Executed by:
| 57 |
| 38 | QPointF position() const { return executed 134 times by 1 test: m_position;return m_position;Executed by:
executed 134 times by 1 test: }return m_position;Executed by:
| 134 |
| 39 | QPointF scenePosition() const { return executed 105 times by 2 tests: m_scenePosition;return m_scenePosition;Executed by:
executed 105 times by 2 tests: }return m_scenePosition;Executed by:
| 105 |
| 40 | QVector2D velocity() const { return never executed: m_velocity;return m_velocity;never executed: }return m_velocity; | 0 |
| 41 | qreal rotation() const { return never executed: m_rotation;return m_rotation;never executed: }return m_rotation; | 0 |
| 42 | qreal pressure() const { return never executed: m_pressure;return m_pressure;never executed: }return m_pressure; | 0 |
| 43 | QSizeF ellipseDiameters() const { return never executed: m_ellipseDiameters;return m_ellipseDiameters;never executed: }return m_ellipseDiameters; | 0 |
| 44 | QPointingDeviceUniqueId uniqueId() const { return never executed: m_uniqueId;return m_uniqueId;never executed: }return m_uniqueId; | 0 |
| 45 | - | |
| 46 | void reset(); | - |
| 47 | void reset(const QQuickEventPoint *point); | - |
| 48 | void reset(const QVector<QQuickEventPoint *> &points); | - |
| 49 | - | |
| 50 | private: | - |
| 51 | int m_id; | - |
| 52 | QPointingDeviceUniqueId m_uniqueId; | - |
| 53 | Qt::MouseButtons m_pressedButtons; | - |
| 54 | Qt::KeyboardModifiers m_pressedModifiers; | - |
| 55 | QPointF m_position; | - |
| 56 | QPointF m_scenePosition; | - |
| 57 | QPointF m_pressPosition; | - |
| 58 | QPointF m_scenePressPosition; | - |
| 59 | QPointF m_sceneGrabPosition; | - |
| 60 | QVector2D m_velocity; | - |
| 61 | qreal m_rotation; | - |
| 62 | qreal m_pressure; | - |
| 63 | QSizeF m_ellipseDiameters; | - |
| 64 | friend class QQuickMultiPointHandler; | - |
| 65 | friend class QQuickSinglePointHandler; | - |
| 66 | }; | - |
| 67 | - | |
| 68 | - | |
| 69 | - | |
| 70 | template <> struct QMetaTypeId< QQuickHandlerPoint * > { 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< QQuickHandlerPoint * >("QQuickHandlerPoint *", reinterpret_cast< QQuickHandlerPoint * *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; template <> struct QMetaTypeId< QQmlListProperty<QQuickHandlerPoint> > { 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<QQuickHandlerPoint> >("QQmlListProperty<QQuickHandlerPoint>", reinterpret_cast< QQmlListProperty<QQuickHandlerPoint> *>(quintptr(-1))); metatype_id.storeRelease(newId); return newId; } }; | - |
| Switch to Source code | Preprocessed file |