summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>2015-11-24 17:03:56 +0100
committerLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>2015-12-01 15:56:35 +0000
commit54cfaae89b784ac6397826d09d7f71f1cefe077a (patch)
tree9f633b9a0fbe114fdd93d687c4fd4747e1cc4a11 /src
parentc2adbe5ebd5b09710813f4b5a1e73c1c66a7a682 (diff)
Doc: QWebEnginePage::scrollPosition and contentsSize as properties
QDoc automatically generates documentation for the access functions and notifier signals. Change-Id: Ic9b9ef54acfdac1b3e8ce6c65e89657b2fe3d5ff Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src')
-rw-r--r--src/webenginewidgets/api/qwebenginepage.cpp24
1 files changed, 14 insertions, 10 deletions
diff --git a/src/webenginewidgets/api/qwebenginepage.cpp b/src/webenginewidgets/api/qwebenginepage.cpp
index e85021832..de0af4747 100644
--- a/src/webenginewidgets/api/qwebenginepage.cpp
+++ b/src/webenginewidgets/api/qwebenginepage.cpp
@@ -447,6 +447,20 @@ QWebEnginePage::QWebEnginePage(QObject* parent)
*/
/*!
+ \property QWebEnginePage::scrollPosition
+ \since 5.7
+
+ \brief The scroll position of the page contents.
+*/
+
+/*!
+ \property QWebEnginePage::contentsSize
+ \since 5.7
+
+ The size of the page contents.
+*/
+
+/*!
Constructs an empty web engine page in the web engine profile \a profile with the parent
\a parent.
@@ -1356,22 +1370,12 @@ bool QWebEnginePage::acceptNavigationRequest(const QUrl &url, NavigationType typ
return true;
}
-/*!
- \since 5.7
-
- Returns the scroll position of the page contents.
-*/
QPointF QWebEnginePage::scrollPosition() const
{
Q_D(const QWebEnginePage);
return d->adapter->lastScrollOffset();
}
-/*!
- \since 5.7
-
- Returns the size of the page contents.
-*/
QSizeF QWebEnginePage::contentsSize() const
{
Q_D(const QWebEnginePage);