aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickoverlay_p_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-04-27 21:51:56 +0300
committerJ-P Nurmi <jpnurmi@qt.io>2017-04-27 21:52:01 +0300
commitea470e8d612e5aa8c12eb3393baf057b8e8149e4 (patch)
treeb5b77618de709c2cd818970b42f138d8e4b7c390 /src/quicktemplates2/qquickoverlay_p_p.h
parent806b1f7c4ed218d4df67428277f06bdbb1c71e0e (diff)
parentf9552a96a7c6f8ea58d8ea90cf3027cc0636bf64 (diff)
Merge remote-tracking branch 'origin/5.9' into dev
Diffstat (limited to 'src/quicktemplates2/qquickoverlay_p_p.h')
-rw-r--r--src/quicktemplates2/qquickoverlay_p_p.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/quicktemplates2/qquickoverlay_p_p.h b/src/quicktemplates2/qquickoverlay_p_p.h
index c9d887bd..de8539c9 100644
--- a/src/quicktemplates2/qquickoverlay_p_p.h
+++ b/src/quicktemplates2/qquickoverlay_p_p.h
@@ -70,9 +70,13 @@ public:
return overlay->d_func();
}
- void handlePress(QEvent *event);
- void handleMove(QEvent *event);
- void handleRelease(QEvent *event);
+ bool startDrag(QEvent *event);
+ bool handlePress(QQuickItem *source, QEvent *event, QQuickPopup *target);
+ bool handleMove(QQuickItem *source, QEvent *event, QQuickPopup *target);
+ bool handleRelease(QQuickItem *source, QEvent *event, QQuickPopup *target);
+
+ bool handleMouseEvent(QQuickItem *source, QMouseEvent *event, QQuickPopup *target = nullptr);
+ bool handleTouchEvent(QQuickItem *source, QTouchEvent *event, QQuickPopup *target = nullptr);
void addPopup(QQuickPopup *popup);
void removePopup(QQuickPopup *popup);