diff options
author | Jocelyn Turcotte <jocelyn.turcotte@digia.com> | 2014-01-16 18:20:32 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-15 17:03:28 +0200 |
commit | beb4ff332ca5b8406a75e8b2146464c5b0a81abd (patch) | |
tree | cb949f8710876153acaa146eda29abf89447a9f4 /src/webenginewidgets/api/qwebenginehistory.cpp | |
parent | 84ced937a0f9f2874e32e16c4c6ebf72b46904c9 (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/api/qwebenginehistory.cpp')
-rw-r--r-- | src/webenginewidgets/api/qwebenginehistory.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/webenginewidgets/api/qwebenginehistory.cpp b/src/webenginewidgets/api/qwebenginehistory.cpp index cbd3fb3b1..8d4267b53 100644 --- a/src/webenginewidgets/api/qwebenginehistory.cpp +++ b/src/webenginewidgets/api/qwebenginehistory.cpp @@ -45,10 +45,6 @@ #include "qwebenginepage_p.h" #include "web_contents_adapter.h" -#if defined(Q_OS_WIN) -#define __func__ __FUNCTION__ -#endif - QT_BEGIN_NAMESPACE QWebEngineHistoryItemPrivate::QWebEngineHistoryItemPrivate(QWebEnginePagePrivate *page, int index) @@ -101,23 +97,6 @@ QDateTime QWebEngineHistoryItem::lastVisited() const return d->page ? d->page->webContents()->getNavigationEntryTimestamp(d->index) : QDateTime(); } -QIcon QWebEngineHistoryItem::icon() const -{ - qWarning("Not implemented: %s", __func__); - return QIcon(); -} - -QVariant QWebEngineHistoryItem::userData() const -{ - return QVariant(); -} - -void QWebEngineHistoryItem::setUserData(const QVariant& userData) -{ - Q_UNUSED(userData); - qWarning("Not implemented: %s", __func__); -} - bool QWebEngineHistoryItem::isValid() const { Q_D(const QWebEngineHistoryItem); @@ -269,17 +248,6 @@ int QWebEngineHistory::count() const return d->page->webContents()->navigationEntryCount(); } -int QWebEngineHistory::maximumItemCount() const -{ - return 100; -} - -void QWebEngineHistory::setMaximumItemCount(int count) -{ - Q_UNUSED(count); - qWarning("Not implemented: %s", __func__); -} - QDataStream& operator<<(QDataStream& stream, const QWebEngineHistory& history) { history.d_func()->page->webContents()->serializeNavigationHistory(stream); |