summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qgesturemanager_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qgesturemanager_p.h')
-rw-r--r--src/gui/kernel/qgesturemanager_p.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/kernel/qgesturemanager_p.h b/src/gui/kernel/qgesturemanager_p.h
index ef3cdaf..c22027f 100644
--- a/src/gui/kernel/qgesturemanager_p.h
+++ b/src/gui/kernel/qgesturemanager_p.h
@@ -69,9 +69,11 @@ class Q_GUI_EXPORT QGestureManager : public QObject
public:
QGestureManager(QObject *parent);
- // should be internal
void setGestureTargetWidget(QWidget *widget);
+ int eventDeliveryDelay() const;
+ void setEventDeliveryDelay(int ms);
+
void addRecognizer(QGestureRecognizer *recognizer);
void removeRecognizer(QGestureRecognizer *recognizer);
@@ -94,6 +96,7 @@ private:
QWidget *targetWidget;
QPoint lastPos;
+ int eventDeliveryDelayTimeout;
int delayedPressTimer;
QMouseEvent lastMousePressEvent;