QtGui/qgesturerecognizer.h Source File
Go to the documentation of this file.
42 #ifndef QGESTURERECOGNIZER_H
43 #define QGESTURERECOGNIZER_H
48 #ifndef QT_NO_GESTURES
66 MayBeGesture = 0x0002,
67 TriggerGesture = 0x0004,
68 FinishGesture = 0x0008,
69 CancelGesture = 0x0010,
71 ResultState_Mask = 0x00ff,
73 ConsumeEventHint = 0x0100,
78 ResultHint_Mask = 0xff00
80 Q_DECLARE_FLAGS(Result, ResultFlag)
83 virtual ~QGestureRecognizer();
85 virtual QGesture *create(QObject *target);
86 virtual Result recognize(QGesture *state, QObject *watched,
88 virtual
void reset(QGesture *state);
90 static
Qt::
GestureType registerRecognizer(QGestureRecognizer *recognizer);
94 Q_DECLARE_OPERATORS_FOR_FLAGS(QGestureRecognizer::Result)
100 #endif // QT_NO_GESTURES
102 #endif // QGESTURERECOGNIZER_H
GLuint GLuint GLsizei GLenum type
#define QT_BEGIN_NAMESPACE