equal
deleted
inserted
replaced
35 |
35 |
36 Q_PROPERTY(SwipeDirection sceneHorizontalDirection READ sceneHorizontalDirection STORED false) |
36 Q_PROPERTY(SwipeDirection sceneHorizontalDirection READ sceneHorizontalDirection STORED false) |
37 Q_PROPERTY(SwipeDirection sceneVerticalDirection READ sceneVerticalDirection STORED false) |
37 Q_PROPERTY(SwipeDirection sceneVerticalDirection READ sceneVerticalDirection STORED false) |
38 Q_PROPERTY(qreal sceneSwipeAngle READ sceneSwipeAngle WRITE setSceneSwipeAngle) |
38 Q_PROPERTY(qreal sceneSwipeAngle READ sceneSwipeAngle WRITE setSceneSwipeAngle) |
39 |
39 |
40 // Deprecated |
|
41 Q_PROPERTY(qreal speed READ speed WRITE setSpeed) |
|
42 Q_PROPERTY(int touchPointCount READ touchPointCount WRITE setTouchPointCount) |
|
43 |
|
44 public: |
40 public: |
45 explicit HbSwipeGesture(QObject *parent = 0); |
41 explicit HbSwipeGesture(QObject *parent = 0); |
46 virtual ~HbSwipeGesture(); |
42 virtual ~HbSwipeGesture(); |
47 |
43 |
48 SwipeDirection sceneHorizontalDirection() const; |
44 SwipeDirection sceneHorizontalDirection() const; |
58 private: |
54 private: |
59 Q_DECLARE_PRIVATE_D(d_ptr, HbSwipeGesture) |
55 Q_DECLARE_PRIVATE_D(d_ptr, HbSwipeGesture) |
60 Q_DISABLE_COPY(HbSwipeGesture) |
56 Q_DISABLE_COPY(HbSwipeGesture) |
61 |
57 |
62 friend class HbSwipeGestureLogic; |
58 friend class HbSwipeGestureLogic; |
63 |
59 friend class HbSwipeGestureRecognizer; |
64 public: // Deprecated |
|
65 qreal speed() const; |
|
66 void setSpeed(qreal speed); |
|
67 int touchPointCount() const; |
|
68 void setTouchPointCount(int touchPointCount); |
|
69 }; |
60 }; |
70 |
61 |
71 #endif // HBSWIPEGESTURE_H |
62 #endif // HBSWIPEGESTURE_H |