aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickoverlay_p_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-09-03 19:47:35 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-09-05 16:35:54 +0000
commit5f9f81a1d43fd840d37982aadbe49f7343c3cbaa (patch)
tree555ab461a281fda7c344a01360037517aa901d7b /src/quicktemplates2/qquickoverlay_p_p.h
parentaa4964843f2faca2d52469edc2ba899f9b11e15c (diff)
QQuickOverlay: keep track of all popups
Required by the subsequent patches. Done separately keep the other patches smaller and easier to review. Change-Id: I60212451cf53443ae7abd58b8eaad94b66984e03 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickoverlay_p_p.h b/src/quicktemplates2/qquickoverlay_p_p.h
index 0b6ba21c..a3d2cda7 100644
--- a/src/quicktemplates2/qquickoverlay_p_p.h
+++ b/src/quicktemplates2/qquickoverlay_p_p.h
@@ -70,6 +70,9 @@ public:
return overlay->d_func();
}
+ void addPopup(QQuickPopup *popup);
+ void removePopup(QQuickPopup *popup);
+
void popupAboutToShow();
void popupAboutToHide();
@@ -86,6 +89,7 @@ public:
QQmlComponent *modeless;
QVector<QQuickDrawer *> drawers;
QVector<QQuickPopup *> popups;
+ QVector<QQuickPopup *> allPopups;
QPointer<QQuickPopup> mouseGrabberPopup;
int modalPopups;
};