aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-04-03 11:47:56 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2017-04-03 11:58:28 +0000
commite049719c9c18959572676dfaeccc4ad68e031958 (patch)
tree8bb0e432e6264b4d35f094b3e3ea2e62f90ec8ee
parent1c4b2b146548bcf26cdd4fe1e1a0c2871fcfddc6 (diff)
Doc: add missing Popup::aboutToShow() and aboutToHide() signals
The signals have been there since the first release. The docs were just missing. Change-Id: I5f5340859136b8924832da4ddb2a18d4a812cca3 Task-numer: QTBUG-59400 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r--src/quicktemplates2/qquickpopup.cpp20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/quicktemplates2/qquickpopup.cpp b/src/quicktemplates2/qquickpopup.cpp
index 9cdb194e..f4751261 100644
--- a/src/quicktemplates2/qquickpopup.cpp
+++ b/src/quicktemplates2/qquickpopup.cpp
@@ -176,7 +176,7 @@ QT_BEGIN_NAMESPACE
This signal is emitted when the popup is opened.
- \sa closed
+ \sa aboutToShow()
*/
/*!
@@ -184,7 +184,23 @@ QT_BEGIN_NAMESPACE
This signal is emitted when the popup is closed.
- \sa opened
+ \sa aboutToHide()
+*/
+
+/*!
+ \qmlsignal void QtQuick.Controls::Popup::aboutToShow()
+
+ This signal is emitted when the popup is about to show.
+
+ \sa opened()
+*/
+
+/*!
+ \qmlsignal void QtQuick.Controls::Popup::aboutToHide()
+
+ This signal is emitted when the popup is about to hide.
+
+ \sa closed()
*/
QQuickPopupPrivate::QQuickPopupPrivate()