summaryrefslogtreecommitdiffstats
path: root/src/webenginewidgets/api/qwebenginehistory.cpp
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>2015-09-21 15:33:02 +0200
committerLeena Miettinen <riitta-leena.miettinen@theqtcompany.com>2015-09-22 09:01:52 +0000
commit9856605abe002c0f87eeabfa3bbcaf3bfd065cfb (patch)
treea94e6d5724a7adde1f67196b504e0a8e7fc2dd41 /src/webenginewidgets/api/qwebenginehistory.cpp
parent345be059cd1432016f556fcb329eb9d3993d4911 (diff)
Doc: edit QWebEngineHistory docs
Change-Id: Id52add61d11723e8bb12957af2f319a7d85bc69c Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'src/webenginewidgets/api/qwebenginehistory.cpp')
-rw-r--r--src/webenginewidgets/api/qwebenginehistory.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/webenginewidgets/api/qwebenginehistory.cpp b/src/webenginewidgets/api/qwebenginehistory.cpp
index b04c81147..9aed2aca9 100644
--- a/src/webenginewidgets/api/qwebenginehistory.cpp
+++ b/src/webenginewidgets/api/qwebenginehistory.cpp
@@ -92,6 +92,11 @@ QDateTime QWebEngineHistoryItem::lastVisited() const
return d->page ? d->page->webContents()->getNavigationEntryTimestamp(d->index) : QDateTime();
}
+/*!
+ Returns the URL of the icon associated with the history item.
+
+ \sa url(), originalUrl(), title()
+*/
QUrl QWebEngineHistoryItem::iconUrl() const
{
Q_D(const QWebEngineHistoryItem);