diff options
Diffstat (limited to 'src/webenginewidgets/doc/src/qwebenginehistoryinterface_lgpl.qdoc')
-rw-r--r-- | src/webenginewidgets/doc/src/qwebenginehistoryinterface_lgpl.qdoc | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/src/webenginewidgets/doc/src/qwebenginehistoryinterface_lgpl.qdoc b/src/webenginewidgets/doc/src/qwebenginehistoryinterface_lgpl.qdoc index 1d17e7ce0..00e4f1a7d 100644 --- a/src/webenginewidgets/doc/src/qwebenginehistoryinterface_lgpl.qdoc +++ b/src/webenginewidgets/doc/src/qwebenginehistoryinterface_lgpl.qdoc @@ -1,4 +1,5 @@ /* + Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). Copyright (C) 2007 Staikos Computing Services Inc. <info@staikos.net> This library is free software; you can redistribute it and/or @@ -24,60 +25,60 @@ // placed inline in the code as usual. /*! - \class QWebHistoryInterface + \class QWebEngineHistoryInterface \since 4.4 - \brief The QWebHistoryInterface class provides an interface to implement link history. + \brief The QWebEngineHistoryInterface class provides an interface to implement link history. - \inmodule QtWebKit + \inmodule QtWebEngine - The QWebHistoryInterface is an interface that can be used to + The QWebEngineHistoryInterface is an interface that can be used to keep track of visited links. It contains two pure virtual methods that are called by the WebKit engine: addHistoryEntry() is used to add urls that have been visited to the interface, while historyContains() is used to query whether the given url has been - visited by the user. By default the QWebHistoryInterface is not set, so WebKit does not keep + visited by the user. By default the QWebEngineHistoryInterface is not set, so WebKit does not keep track of visited links. - \note The history tracked by QWebHistoryInterface is not specific to an instance of QWebPage + \note The history tracked by QWebEngineHistoryInterface is not specific to an instance of QWebEnginePage but applies to all pages. */ /*! - \fn void QWebHistoryInterface::setDefaultInterface(QWebHistoryInterface* defaultInterface) + \fn void QWebEngineHistoryInterface::setDefaultInterface(QWebEngineHistoryInterface* defaultInterface) Sets a new default interface, \a defaultInterface, that will be used by all of WebKit to keep track of visited links. If an interface without a parent has already been set, the old interface will be deleted. - When the application exists QWebHistoryInterface will automatically delete the + When the application exists QWebEngineHistoryInterface will automatically delete the \a defaultInterface if it does not have a parent. */ /*! - \fn QWebHistoryInterface* QWebHistoryInterface::defaultInterface() + \fn QWebEngineHistoryInterface* QWebEngineHistoryInterface::defaultInterface() Returns the default interface that will be used by WebKit. If no default interface has been set, WebKit will not keep track of visited links and a null pointer will be returned. \sa setDefaultInterface() */ /*! - \fn QWebHistoryInterface::QWebHistoryInterface(QObject* parent) - Constructs a new QWebHistoryInterface with parent \a parent. + \fn QWebEngineHistoryInterface::QWebEngineHistoryInterface(QObject* parent) + Constructs a new QWebEngineHistoryInterface with parent \a parent. */ /*! - \fn QWebHistoryInterface::~QWebHistoryInterface() + \fn QWebEngineHistoryInterface::~QWebEngineHistoryInterface() Destroys the interface. If this is currently the default interface it will be unset. */ /*! - \fn bool QWebHistoryInterface::historyContains(const QString &url) const = 0 + \fn bool QWebEngineHistoryInterface::historyContains(const QString &url) const = 0 Called by the WebKit engine to query whether a certain \a url has been visited by the user already. Returns true if the \a url is part of the history of visited links; otherwise returns false. */ /*! - \fn void QWebHistoryInterface::addHistoryEntry(const QString &url) = 0 + \fn void QWebEngineHistoryInterface::addHistoryEntry(const QString &url) = 0 Called by WebKit to add another \a url to the list of visited pages. */ |