equal
deleted
inserted
replaced
55 |
55 |
56 #include <QGestureRecognizer> |
56 #include <QGestureRecognizer> |
57 |
57 |
58 QT_BEGIN_NAMESPACE |
58 QT_BEGIN_NAMESPACE |
59 |
59 |
|
60 #if !defined(QT_NO_NATIVE_GESTURES) |
|
61 |
60 class QWinNativePanGestureRecognizer : public QGestureRecognizer |
62 class QWinNativePanGestureRecognizer : public QGestureRecognizer |
61 { |
63 { |
62 public: |
64 public: |
63 QWinNativePanGestureRecognizer(); |
65 QWinNativePanGestureRecognizer(); |
64 |
66 |
65 QGesture* createGesture(QObject *target) const; |
67 QGesture *create(QObject *target); |
66 |
68 QGestureRecognizer::Result recognize(QGesture *state, QObject *watched, QEvent *event); |
67 QGestureRecognizer::Result filterEvent(QGesture *state, QObject *watched, QEvent *event); |
|
68 void reset(QGesture *state); |
69 void reset(QGesture *state); |
69 }; |
70 }; |
|
71 |
|
72 #endif // QT_NO_NATIVE_GESTURES |
70 |
73 |
71 QT_END_NAMESPACE |
74 QT_END_NAMESPACE |
72 |
75 |
73 #endif // QWINNATIVEPANGESTURERECOGNIZER_WIN_P_H |
76 #endif // QWINNATIVEPANGESTURERECOGNIZER_WIN_P_H |