diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-07-28 16:35:16 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-07-30 12:45:12 +0200 |
commit | a99922affdc7953f092dcfcf34ea741567a5bddc (patch) | |
tree | 3c6a0c272060c4e35b345e17803d76c4e29b641e /src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc | |
parent | e1b98a164799d90f51336c718724fe8e6db01568 (diff) |
Add api to get the favicon URL
Adds one of the missing pieces of the QWebFrame and QWebView APIs.
Unlike the QtWebKit version this only fetches the favicon URL, and not
the icon. This is because we do not want to implement an icon database,
and that the icon would be loaded asynchronous anyway, bringing no
guarantee to be a valid icon/image yet.
Change-Id: I227311ae3676044da850e687b82bee752b5079c8
Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
Diffstat (limited to 'src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc')
-rw-r--r-- | src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc b/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc index 20564d724..41dd0a31b 100644 --- a/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc +++ b/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc @@ -425,6 +425,13 @@ */ /*! + \property QWebEnginePage::iconUrl + \brief the url of the icon associated with the frame currently viewed. + + \sa iconUrlChanged() +*/ + +/*! \property QWebEnginePage::requestedUrl The URL requested to loaded by the frame currently viewed. The URL may differ from @@ -544,3 +551,13 @@ \sa url() */ + +/*! + \fn void QWebEnginePage::iconUrlChanged(const QUrl &url) + + This signal is emitted when the icon ("favicon") associated with the main frame is + found or changed. The new URL is specified by \a url. + + + \sa iconUrl() +*/ |