diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-01-05 08:31:25 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-01-24 11:53:00 +0000 |
commit | 3ac5f0c795a91efa975935d889c99052b8bc2137 (patch) | |
tree | cac6376556969ca008ba1e53b063a71cb429aeca /src/quicktemplates2/qquickabstractbutton_p.h | |
parent | c9902439780ce197b1e8c75d1c8bd7f97f3f43ae (diff) |
QQuickAbstractButton: handle touch events
This makes it possible to interact with multiple buttons at the same
time.
Change-Id: Ice17efcb8b6dc5337455cd38ee88c39dfef2baae
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickabstractbutton_p.h')
-rw-r--r-- | src/quicktemplates2/qquickabstractbutton_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickabstractbutton_p.h b/src/quicktemplates2/qquickabstractbutton_p.h index 31b306af..82da94bd 100644 --- a/src/quicktemplates2/qquickabstractbutton_p.h +++ b/src/quicktemplates2/qquickabstractbutton_p.h @@ -125,6 +125,8 @@ protected: void mouseDoubleClickEvent(QMouseEvent *event) override; void mouseUngrabEvent() override; void timerEvent(QTimerEvent *event) override; + void touchEvent(QTouchEvent *event) override; + void touchUngrabEvent() override; enum ButtonChange { ButtonAutoRepeatChange, |