#include <mw/QtWebKit/qwebhistoryinterface.h>
| class QWebHistoryInterface : public QObject, public QObject |
The QWebHistoryInterface class provides an interface to implement link history.
| Public Member Functions | |
|---|---|
| QWebHistoryInterface(QObject *) | |
| ~QWebHistoryInterface() | |
| pure virtual void | addHistoryEntry(const QString &) |
| QWebHistoryInterface * | defaultInterface() |
| pure virtual bool | historyContains(const QString &) |
| void | setDefaultInterface(QWebHistoryInterface *) |
| Inherited Attributes | |
|---|---|
| QObject::d_ptr | |
| QObject::objectName | |
| QObject::staticQtMetaObject | |
| Inherited Functions | |
|---|---|
| QObject::QObject(QObjectPrivate &,QObject *) | |
| QObject::blockSignals(bool) | |
| QObject::childEvent(QChildEvent *) | |
| QObject::children()const | |
| QObject::connect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &,Qt::ConnectionType) | |
| QObject::connect(const QObject *,const char *,const QObject *,const char *,Qt::ConnectionType) | |
| QObject::connect(const QObject *,const char *,const char *,Qt::ConnectionType)const | |
| QObject::connectNotify(const char *) | |
| QObject::customEvent(QEvent *) | |
| QObject::deleteLater | |
| QObject::destroyed | |
| QObject::disconnect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &) | |
| QObject::disconnect(const QObject *,const char *) | |
| QObject::disconnect(const QObject *,const char *,const QObject *,const char *) | |
| QObject::disconnect(const char *,const QObject *,const char *) | |
| QObject::disconnectNotify(const char *) | |
| QObject::dumpObjectInfo() | |
| QObject::dumpObjectTree() | |
| QObject::dynamicPropertyNames()const | |
| QObject::event(QEvent *) | |
| QObject::eventFilter(QObject *,QEvent *) | |
| QObject::findChild(const QString &)const | |
| QObject::findChildren(const QRegExp &)const | |
| QObject::findChildren(const QString &)const | |
| QObject::inherits(const char *)const | |
| QObject::installEventFilter(QObject *) | |
| QObject::isWidgetType()const | |
| QObject::killTimer(int) | |
| QObject::moveToThread(QThread *) | |
| QObject::objectName()const | |
| QObject::parent()const | |
| QObject::property(const char *)const | |
| QObject::receivers(const char *)const | |
| QObject::registerUserData() | |
| QObject::removeEventFilter(QObject *) | |
| QObject::sender()const | |
| QObject::senderSignalIndex()const | |
| QObject::setObjectName(const QString &) | |
| QObject::setParent(QObject *) | |
| QObject::setProperty(const char *,const QVariant &) | |
| QObject::setUserData(uint,QObjectUserData *) | |
| QObject::signalsBlocked()const | |
| QObject::startTimer(int) | |
| QObject::thread()const | |
| QObject::timerEvent(QTimerEvent *) | |
| QObject::userData(uint)const | |
| QObject::~QObject() | |
The history tracked by QWebHistoryInterface is not specific to an instance of QWebPage but applies to all pages.
| ~QWebHistoryInterface | ( | ) |
Destroys the interface. If this is currently the default interface it will be unset.
| void | addHistoryEntry | ( | const QString & | url | ) | [pure virtual] |
Called by WebKit to add another url to the list of visited pages.
| QWebHistoryInterface * | defaultInterface | ( | ) | [static] |
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.
See also: setDefaultInterface
| bool | historyContains | ( | const QString & | url | ) | const [pure virtual] |
Called by the WebKit engine to query whether a certain url has been visited by the user already. Returns true if the url is part of the history of visited links; otherwise returns false.
| void | setDefaultInterface | ( | QWebHistoryInterface * | defaultInterface | ) | [static] |
Sets a new default interface, 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 defaultInterface if it does not have a parent.