61 class QPanGestureRecognizer : public QGestureRecognizer |
61 class QPanGestureRecognizer : public QGestureRecognizer |
62 { |
62 { |
63 public: |
63 public: |
64 QPanGestureRecognizer(); |
64 QPanGestureRecognizer(); |
65 |
65 |
66 QGesture *createGesture(QObject *target); |
66 QGesture *create(QObject *target); |
|
67 QGestureRecognizer::Result recognize(QGesture *state, QObject *watched, QEvent *event); |
|
68 void reset(QGesture *state); |
|
69 }; |
67 |
70 |
68 QGestureRecognizer::Result filterEvent(QGesture *state, QObject *watched, QEvent *event); |
71 class QPinchGestureRecognizer : public QGestureRecognizer |
|
72 { |
|
73 public: |
|
74 QPinchGestureRecognizer(); |
|
75 |
|
76 QGesture *create(QObject *target); |
|
77 QGestureRecognizer::Result recognize(QGesture *state, QObject *watched, QEvent *event); |
|
78 void reset(QGesture *state); |
|
79 }; |
|
80 |
|
81 class QSwipeGestureRecognizer : public QGestureRecognizer |
|
82 { |
|
83 public: |
|
84 QSwipeGestureRecognizer(); |
|
85 |
|
86 QGesture *create(QObject *target); |
|
87 QGestureRecognizer::Result recognize(QGesture *state, QObject *watched, QEvent *event); |
|
88 void reset(QGesture *state); |
|
89 }; |
|
90 |
|
91 class QTapGestureRecognizer : public QGestureRecognizer |
|
92 { |
|
93 public: |
|
94 QTapGestureRecognizer(); |
|
95 |
|
96 QGesture *create(QObject *target); |
|
97 QGestureRecognizer::Result recognize(QGesture *state, QObject *watched, QEvent *event); |
|
98 void reset(QGesture *state); |
|
99 }; |
|
100 |
|
101 class QTapAndHoldGestureRecognizer : public QGestureRecognizer |
|
102 { |
|
103 public: |
|
104 QTapAndHoldGestureRecognizer(); |
|
105 |
|
106 QGesture *create(QObject *target); |
|
107 QGestureRecognizer::Result recognize(QGesture *state, QObject *watched, QEvent *event); |
69 void reset(QGesture *state); |
108 void reset(QGesture *state); |
70 }; |
109 }; |
71 |
110 |
72 QT_END_NAMESPACE |
111 QT_END_NAMESPACE |
73 |
112 |