aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickspinbox_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-01-24 11:26:08 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2017-01-24 15:02:57 +0000
commit5d1e3348c1e65f78e70be0c7a6dad58b57da33d9 (patch)
tree86178c0d2f29a379c87bf19284481179d62c360a /src/quicktemplates2/qquickspinbox_p.h
parent13c0330511a54ad44a5f8bcad92738d6d652119b (diff)
QQuickSpinBox: handle touch events
This makes it possible to interact with multiple spin boxes at the same time. Change-Id: I7161a05303384711c30651b495851d7e953e9e3f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickspinbox_p.h')
-rw-r--r--src/quicktemplates2/qquickspinbox_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/quicktemplates2/qquickspinbox_p.h b/src/quicktemplates2/qquickspinbox_p.h
index f49d9b01..ed12e222 100644
--- a/src/quicktemplates2/qquickspinbox_p.h
+++ b/src/quicktemplates2/qquickspinbox_p.h
@@ -127,7 +127,6 @@ Q_SIGNALS:
Q_REVISION(2) void inputMethodComposingChanged();
protected:
- bool childMouseEventFilter(QQuickItem *child, QEvent *event) override;
void hoverEnterEvent(QHoverEvent *event) override;
void hoverMoveEvent(QHoverEvent *event) override;
void hoverLeaveEvent(QHoverEvent *event) override;
@@ -138,6 +137,8 @@ protected:
void mouseReleaseEvent(QMouseEvent *event) override;
void mouseUngrabEvent() override;
void timerEvent(QTimerEvent *event) override;
+ void touchEvent(QTouchEvent *event) override;
+ void touchUngrabEvent() override;
void wheelEvent(QWheelEvent *event) override;
void componentComplete() override;