equal
deleted
inserted
replaced
57 }; |
57 }; |
58 |
58 |
59 class ThreeFingerSlideGestureRecognizer : public QGestureRecognizer |
59 class ThreeFingerSlideGestureRecognizer : public QGestureRecognizer |
60 { |
60 { |
61 private: |
61 private: |
62 QGesture* createGesture(QObject *target); |
62 QGesture *create(QObject *target); |
63 QGestureRecognizer::Result filterEvent(QGesture *state, QObject *watched, QEvent *event); |
63 QGestureRecognizer::Result recognize(QGesture *state, QObject *watched, QEvent *event); |
64 void reset(QGesture *state); |
64 void reset(QGesture *state); |
65 }; |
65 }; |
66 |
66 |
67 class RotateGestureRecognizer : public QGestureRecognizer |
67 class RotateGestureRecognizer : public QGestureRecognizer |
68 { |
68 { |
69 public: |
69 public: |
70 RotateGestureRecognizer(); |
70 RotateGestureRecognizer(); |
71 |
71 |
72 private: |
72 private: |
73 QGesture* createGesture(QObject *target); |
73 QGesture *create(QObject *target); |
74 QGestureRecognizer::Result filterEvent(QGesture *state, QObject *watched, QEvent *event); |
74 QGestureRecognizer::Result recognize(QGesture *state, QObject *watched, QEvent *event); |
75 void reset(QGesture *state); |
75 void reset(QGesture *state); |
76 }; |
76 }; |
77 |
77 |
78 #endif // GESTURE_H |
78 #endif // GESTURE_H |