diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2016-09-21 15:38:47 +0200 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2016-10-01 06:22:59 +0000 |
commit | 2ec47c9921a1e381943159f540b45c105d2ff1db (patch) | |
tree | 0566c9f3b94d6f869514dd363546c88518eb595e /src/webengine/doc | |
parent | 18f386eaf30708580875a7841f138bcc197cc700 (diff) |
Remove viewSource and canViewSource APIs and use WebAction instead
Task-number: QTBUG-56092
Change-Id: I026a0d153269a71e4e44f0fd30ef5ca054edd0e7
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/webengine/doc')
-rw-r--r-- | src/webengine/doc/src/qtwebengine-features.qdoc | 3 | ||||
-rw-r--r-- | src/webengine/doc/src/webengineview.qdoc | 19 |
2 files changed, 3 insertions, 19 deletions
diff --git a/src/webengine/doc/src/qtwebengine-features.qdoc b/src/webengine/doc/src/qtwebengine-features.qdoc index 48f1536b4..5ba3f23b8 100644 --- a/src/webengine/doc/src/qtwebengine-features.qdoc +++ b/src/webengine/doc/src/qtwebengine-features.qdoc @@ -306,8 +306,7 @@ Qt WebEngine supports viewing the HTML source of a web page. This feature can be used from custom menus or assigned to custom events. - For more information, see WebEngineView::viewSource, WebEngineView::canViewSource, - QWebEnginePage::viewSource, and QWebEnginePage::canViewSource. + For more information, see WebEngineView::WebAction, and QWebEnginePage::WebAction. This feature can be tested by opening a web page in \l{WebEngine Widgets Simple Browser Example}{Simple Browser} or \l{WebEngine Quick Nano Browser} diff --git a/src/webengine/doc/src/webengineview.qdoc b/src/webengine/doc/src/webengineview.qdoc index 82fd66989..512f6dfda 100644 --- a/src/webengine/doc/src/webengineview.qdoc +++ b/src/webengine/doc/src/webengineview.qdoc @@ -806,6 +806,8 @@ Exit the fullscreen mode. (Added in Qt 5.6) \value WebEngineView.SavePage Save the current web page to disk. (Added in Qt 5.7) + \value WebEngineView.ViewSource + Show the source of the current page in a new tab. (Added in Qt 5.8) \omitvalue WebActionCount */ @@ -1145,23 +1147,6 @@ */ /*! - \qmlmethod void WebEngineView::viewSource() - \since QtWebEngine 1.4 - - Shows the source of the current page in a new tab. - - \sa canViewSource -*/ - -/*! - \qmlproperty bool WebEngineView::canViewSource - \brief This property holds whether the source for the current page can be viewed. - \since QtWebEngine 1.4 - - \sa viewSource() -*/ - -/*! \qmlsignal WebEngineView::authenticationDialogRequested(AuthenticationDialogRequest request) \since QtWebEngine 1.4 |