summaryrefslogtreecommitdiffstats
path: root/src/core/doc/src/qwebenginepage_lgpl.qdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/doc/src/qwebenginepage_lgpl.qdoc')
-rw-r--r--src/core/doc/src/qwebenginepage_lgpl.qdoc28
1 files changed, 27 insertions, 1 deletions
diff --git a/src/core/doc/src/qwebenginepage_lgpl.qdoc b/src/core/doc/src/qwebenginepage_lgpl.qdoc
index c2515cd13..630ea507e 100644
--- a/src/core/doc/src/qwebenginepage_lgpl.qdoc
+++ b/src/core/doc/src/qwebenginepage_lgpl.qdoc
@@ -245,6 +245,7 @@
/*!
\enum QWebEnginePage::PermissionPolicy
+ \deprecated [6.8] Replaced by QWebEnginePermission::State.
This enum describes the permission policies that the user may set for data or device access:
@@ -273,6 +274,7 @@
/*!
\enum QWebEnginePage::Feature
+ \deprecated [6.8] Replaced by QWebEnginePermission::Feature.
This enum describes the platform feature access categories that the user may be asked to grant
or deny access to:
@@ -735,6 +737,8 @@
\brief The zoom factor for the page content.
Valid values are within the range from \c{0.25} to \c{5.0}. The default factor is \c{1.0}.
+
+ \sa zoomFactorChanged()
*/
/*!
@@ -772,11 +776,13 @@
during page destruction. When QWebEnginePage is deleted, the callback is triggered with an invalid
value and it is not safe to use the corresponding QWebEnginePage or QWebEngineView instance inside it.
- \sa scripts(), QWebEngineScript::ScriptWorldId, {Script Injection}
+ \sa scripts(), QWebEngineScript::ScriptWorldId, QWebEngineFrame::runJavaScript, {Script Injection}
*/
/*!
\fn void QWebEnginePage::setFeaturePermission(const QUrl &securityOrigin, Feature feature, PermissionPolicy policy)
+ \deprecated [6.8] Use QWebEnginePermission's \l {QWebEnginePermission::grant} {grant}(),
+ \l {QWebEnginePermission::deny} {deny}(), and \l {QWebEnginePermission::reset} {reset}() functions instead.
Sets the permission for the web site identified by \a securityOrigin to use \a feature to \a policy.
@@ -790,6 +796,7 @@
/*!
\fn void QWebEnginePage::featurePermissionRequested(const QUrl &securityOrigin, Feature feature)
+ \deprecated [6.8] Use permissionRequested() instead.
This signal is emitted when the web site identified by \a securityOrigin requests to make use of
the resource or device identified by \a feature.
@@ -799,6 +806,7 @@
/*!
\fn void QWebEnginePage::featurePermissionRequestCanceled(const QUrl &securityOrigin, Feature feature)
+ \deprecated [6.8] This signal is no longer emitted.
This signal is emitted when the web site identified by \a securityOrigin cancels a previously issued
request to make use of \a feature.
@@ -808,6 +816,15 @@
*/
/*!
+ \fn void QWebEnginePage::permissionRequested(QWebEnginePermission permission)
+ \since 6.8
+
+ This signal is emitted when a web site requests to make use of a feature (e.g. geolocation access,
+ permission to send notifications). The \a permission object can queried for the requesting URL
+ and the \c{QWebEnginePermission::Feature} it's asking for, as well as to grant or deny permission.
+*/
+
+/*!
\fn void QWebEnginePage::titleChanged(const QString &title)
This signal is emitted whenever the title of the page changes.
@@ -836,3 +853,12 @@
\sa QWebEngineWebAuthUxRequest
*/
+
+/*!
+ \fn void QWebEnginePage::zoomFactorChanged(qreal factor)
+ \since 6.8
+
+ This signal is emitted whenever the zoom \a factor for the page changes.
+
+ \sa zoomFactor(), setZoomFactor()
+*/