summaryrefslogtreecommitdiffstats
path: root/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-01-16 18:20:32 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-04-15 17:03:28 +0200
commitbeb4ff332ca5b8406a75e8b2146464c5b0a81abd (patch)
treecb949f8710876153acaa146eda29abf89447a9f4 /src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc
parent84ced937a0f9f2874e32e16c4c6ebf72b46904c9 (diff)
Cleanup the QtWebEngineWidgets public headers and API
Headers were left intact to leave a trace of the evolution compared to the QtWebKit API and to make it easier to work until we had a basic subset of the API implemented. With the upcoming release, this patch removes this convenience in the aim of starting polishing the headers and the documentation for the upcoming release. Change-Id: Iae436b4ec041d771a7002575e122835802bc9f3e Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Diffstat (limited to 'src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc')
-rw-r--r--src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc138
1 files changed, 2 insertions, 136 deletions
diff --git a/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc b/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc
index 4be4fa079..d5bda9bfd 100644
--- a/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc
+++ b/src/webenginewidgets/doc/src/qwebengineview_lgpl.qdoc
@@ -139,20 +139,6 @@
*/
/*!
- \fn void QWebEngineView::load(const QNetworkRequest &request, QNetworkAccessManager::Operation operation, const QByteArray &body)
- \fn void QWebEngineView::load(const QNetworkRequest &request, QNetworkAccessManager::Operation operation, const QByteArray &body)
-
- Loads a network request, \a request, using the method specified in \a operation.
-
- \a body is optional and is only used for POST operations.
-
- \note The view remains the same until enough data has arrived to display the new url.
-
- \sa url(), urlChanged()
-*/
-
-
-/*!
\fn void QWebEngineView::setHtml(const QString &html, const QUrl &baseUrl)
Sets the content of the web view to the specified \a html.
@@ -198,17 +184,6 @@
*/
/*!
- \fn QWebEngineSettings *QWebEngineView::settings() const
- Returns a pointer to the view/page specific settings object.
-
- It is equivalent to
-
- \snippet snippets/qtwebengine_qwebengineview_snippet.cpp 1
-
- \sa QWebEngineSettings::globalSettings()
-*/
-
-/*!
\property QWebEngineView::title
\brief the title of the web page currently viewed
@@ -228,16 +203,6 @@
\sa load(), urlChanged()
*/
-
-/*!
- \property QWebEngineView::icon
- \brief the icon associated with the web page currently viewed
-
- By default, this property contains a null icon.
-
- \sa iconChanged(), QWebEngineSettings::iconForUrl()
-*/
-
/*!
\property QWebEngineView::hasSelection
\brief whether this page contains selected content or not.
@@ -253,17 +218,7 @@
By default, this property contains an empty string.
- \sa findText(), selectionChanged(), selectedHtml()
-*/
-
-/*!
- \since 4.8
- \property QWebEngineView::selectedHtml
- \brief the HTML currently selected
-
- By default, this property contains an empty string.
-
- \sa findText(), selectionChanged(), selectedText()
+ \sa findText(), selectionChanged()
*/
/*!
@@ -284,16 +239,6 @@
\sa pageAction()
*/
-/*!
- \property QWebEngineView::modified
- \brief whether the document was modified by the user
-
- Parts of HTML documents can be editable for example through the
- \c{contenteditable} attribute on HTML elements.
-
- By default, this property is false.
-*/
-
/*
\property QWebEngineView::textInteractionFlags
\brief how the view should handle user input
@@ -308,32 +253,6 @@
\brief the zoom factor for the view
*/
-
-/*!
- \property QWebEngineView::textSizeMultiplier
- \brief the scaling factor for all text in the frame
- \obsolete
-
- Use setZoomFactor instead, in combination with the
- ZoomTextOnly attribute in QWebEngineSettings.
-
- \note Setting this property also enables the
- ZoomTextOnly attribute in QWebEngineSettings.
-
- By default, this property contains a value of 1.0.
-*/
-
-/*!
- \fn void QWebEngineView::setTextSizeMultiplier(qreal factor)
- Sets the value of the multiplier used to scale the text in a Web page to
- the \a factor specified.
-*/
-
-/*!
- \fn qreal QWebEngineView::textSizeMultiplier() const
- Returns the value of the multiplier used to scale the text in a Web page.
-*/
-
/*!
\property QWebEngineView::renderHints
\since 4.6
@@ -347,31 +266,6 @@
*/
/*!
- \fn QPainter::RenderHints QWebEngineView::renderHints() const
- \since 4.6
- Returns the render hints used by the view to render content.
-
- \sa QPainter::renderHints()
-*/
-
-/*!
- \fn void QWebEngineView::setRenderHints(QPainter::RenderHints hints)
- \since 4.6
- Sets the render hints used by the view to the specified \a hints.
-
- \sa QPainter::setRenderHints()
-*/
-
-/*!
- \fn void QWebEngineView::setRenderHint(QPainter::RenderHint hint, bool enabled)
- \since 4.6
- If \a enabled is true, enables the specified render \a hint; otherwise
- disables it.
-
- \sa renderHints, QPainter::renderHints()
-*/
-
-/*!
\fn bool QWebEngineView::findText(const QString &subString, QWebEnginePage::FindFlags options)
Finds the specified string, \a subString, in the page, using the given \a options.
@@ -390,13 +284,6 @@
*/
/*!
- \fn void QWebEngineView::print(QPrinter *printer) const
- Prints the main frame to the given \a printer.
-
- \sa QWebEnginePage::print(), QPrintPreviewDialog
-*/
-
-/*!
\fn void QWebEngineView::stop()
Convenience slot that stops loading the document.
@@ -451,7 +338,7 @@
reimplementing this method application must also set the JavaScriptCanOpenWindows attribute
of QWebEngineSettings to true in order for it to get called.
- \sa QWebEnginePage::createWindow(), QWebEnginePage::acceptNavigationRequest()
+ \sa QWebEnginePage::createWindow()
*/
/*!
@@ -477,17 +364,6 @@
*/
/*!
- \fn void QWebEngineView::iconChanged()
-
- This signal is emitted whenever the icon of the page is loaded or changes.
-
- In order for icons to be loaded, you will need to set an icon database path
- using QWebEngineSettings::setIconDatabasePath().
-
- \sa icon(), QWebEngineSettings::setIconDatabasePath()
-*/
-
-/*!
\fn void QWebEngineView::loadStarted()
This signal is emitted when a new load of the page is started.
@@ -495,7 +371,6 @@
\sa loadProgress(), loadFinished()
*/
-
/*!
\fn void QWebEngineView::loadFinished(bool ok)
@@ -526,12 +401,3 @@
\sa loadStarted(), loadFinished()
*/
-
-/*!
- \fn void QWebEngineView::linkClicked(const QUrl &url)
-
- This signal is emitted whenever the user clicks on a link and the page's linkDelegationPolicy
- property is set to delegate the link handling for the specified \a url.
-
- \sa QWebEnginePage::linkDelegationPolicy()
-*/