summaryrefslogtreecommitdiffstats
path: root/examples/webenginewidgets/browser/history.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-06-30 14:59:08 +0200
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-07-08 09:11:36 +0000
commit355f60c6e729fc8a159ed4667d793097e7cbd696 (patch)
tree25241a404eed3b44363d0b5d84b38478b5a5621c /examples/webenginewidgets/browser/history.h
parentbf67cf88ee9a14b61272f9c58508001fa2feb011 (diff)
remove QWebEngineHistoryInterface usage from browser example
QWebHistoryInterface is used to implement support for keeping track of visited links. QWebEngine is already doing this internally, removing the need for a QWebEngineHistoryInterface. Change-Id: I908a81368b57a86845bc75ff75bf8eb7949ab0cc Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Diffstat (limited to 'examples/webenginewidgets/browser/history.h')
-rw-r--r--examples/webenginewidgets/browser/history.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/examples/webenginewidgets/browser/history.h b/examples/webenginewidgets/browser/history.h
index 3519d31b6..bcb9c9b28 100644
--- a/examples/webenginewidgets/browser/history.h
+++ b/examples/webenginewidgets/browser/history.h
@@ -52,10 +52,6 @@
#include <QtCore/QSortFilterProxyModel>
-#if defined(QWEBENGINEHISTORYINTERFACE)
-#include <QWebEngineHistoryInterface>
-#endif
-
class HistoryItem
{
public:
@@ -82,12 +78,7 @@ class HistoryModel;
class HistoryFilterModel;
class HistoryTreeModel;
-class HistoryManager
-#if defined(QWEBENGINEHISTORYINTERFACE)
- : public QWebEngineHistoryInterface
-#else
- : public QObject
-#endif
+class HistoryManager : public QObject
{
Q_OBJECT
Q_PROPERTY(int historyLimit READ historyLimit WRITE setHistoryLimit)