summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>2015-08-28 10:36:57 +0200
committerLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>2015-08-28 10:30:42 +0000
commit80dd99fceda4c5e8f3ebfc329865f5ae10f906ad (patch)
treea2cde6716475e91771555824da0e77d73600d7eb
parent70e8ccc3e14c3e44e216a32d723ac704fb017515 (diff)
Doc: edit WebEngineNewViewRequest docs
Change-Id: I6597ce1b1bbb8a59f7852ee79c199c5774fc65b8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
-rw-r--r--src/webengine/api/qquickwebenginenewviewrequest.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/webengine/api/qquickwebenginenewviewrequest.cpp b/src/webengine/api/qquickwebenginenewviewrequest.cpp
index 36c5e44e1..68ea73208 100644
--- a/src/webengine/api/qquickwebenginenewviewrequest.cpp
+++ b/src/webengine/api/qquickwebenginenewviewrequest.cpp
@@ -45,9 +45,9 @@
\inqmlmodule QtWebEngine 1.1
\since QtWebEngine 1.1
- \brief A utility class for the WebEngineView::newViewRequested signal.
+ \brief A utility type for the WebEngineView::newViewRequested signal.
- This class contains information about the request of a page to open a new window.
+ Contains information about a request to load a page in a separate web engine view.
\sa WebEngineView::newViewRequested
*/
@@ -61,7 +61,7 @@ QQuickWebEngineNewViewRequest::~QQuickWebEngineNewViewRequest()
/*!
\qmlproperty WebEngineView::NewViewDestination WebEngineNewViewRequest::destination
- \brief The type of view that is requested by the page.
+ The type of the view that is requested by the page.
*/
QQuickWebEngineView::NewViewDestination QQuickWebEngineNewViewRequest::destination() const
{
@@ -70,9 +70,9 @@ QQuickWebEngineView::NewViewDestination QQuickWebEngineNewViewRequest::destinati
/*!
\qmlproperty bool WebEngineNewViewRequest::isUserInitiated
- \brief Whether this window request was directly triggered as the result of a keyboard or mouse event.
+ Whether this window request was directly triggered as the result of a keyboard or mouse event.
- Use this property to block possibly unwanted "popups".
+ Use this property to block possibly unwanted \e popups.
*/
bool QQuickWebEngineNewViewRequest::isUserInitiated() const
{
@@ -82,9 +82,8 @@ bool QQuickWebEngineNewViewRequest::isUserInitiated() const
/*!
\qmlmethod WebEngineNewViewRequest::openIn(WebEngineView view)
- Call this method to fulfill the request and determine which WebEngineView
- should be used to contain the new page. Any state, history or loaded page
- within \a view will be lost as result of this.
+ Opens the requested page in the new web engine view \a view. State and history of the
+ view and the page possibly loaded in it will be lost.
\sa WebEngineView::newViewRequested
*/