diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2017-04-26 17:51:08 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2017-04-27 11:58:02 +0000 |
commit | 92cd0879c5e3031bb977e89ba1ef2efe99fd8456 (patch) | |
tree | f61f9916556e51e975266627335750a08d02f568 /src/quicktemplates2/qquickoverlay_p_p.h | |
parent | 5cdfc0d4dfc4be29c0e8271526058e24e9b6cc27 (diff) |
QQuickOverlay: add return value to handlePress/Move/Release()
Inform the caller whether the event was handled.
Change-Id: I9433164ec810f55e760960dd70e4539c5722e775
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickoverlay_p_p.h')
-rw-r--r-- | src/quicktemplates2/qquickoverlay_p_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quicktemplates2/qquickoverlay_p_p.h b/src/quicktemplates2/qquickoverlay_p_p.h index b0145fc9..82065c79 100644 --- a/src/quicktemplates2/qquickoverlay_p_p.h +++ b/src/quicktemplates2/qquickoverlay_p_p.h @@ -70,9 +70,9 @@ public: return overlay->d_func(); } - void handlePress(QEvent *event); - void handleMove(QEvent *event); - void handleRelease(QEvent *event); + bool handlePress(QEvent *event); + bool handleMove(QEvent *event); + bool handleRelease(QEvent *event); void addPopup(QQuickPopup *popup); void removePopup(QQuickPopup *popup); |