Home · All Classes · Main Classes · Grouped Classes · Modules · Functions

QWebHistoryInterface Class Reference

The QWebHistoryInterface is an interface to implement link history. More...

 #include <QWebHistoryInterface>

Inherits QObject.

This class was introduced in Qt 4.4.

Public Functions

Static Public Members

Additional Inherited Members


Detailed Description

The QWebHistoryInterface is an interface to implement link history.

The QWebHistoryInterface is an interface that can be used to implement link history. It contains two pure virtual methods that are called by the WebKit engine. addHistoryEntry() is used to add pages that have been visited to the interface, while historyContains() is used to query whether this page has been visited by the user.


Member Function Documentation

QWebHistoryInterface::QWebHistoryInterface ( QObject * parent = 0 )

QWebHistoryInterface::~QWebHistoryInterface ()

void QWebHistoryInterface::addHistoryEntry ( const QString & url ) const   [pure virtual]

Called by WebKit to add another url to the list of visited pages.

QWebHistoryInterface * QWebHistoryInterface::defaultInterface ()   [static]

Returns the default interface that will be used by WebKit. If no default interface has been set, QtWebkit will not track history.

See also setDefaultInterface().

bool QWebHistoryInterface::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.

void QWebHistoryInterface::setDefaultInterface ( QWebHistoryInterface * defaultInterface )   [static]

Sets a new default interface that will be used by all of WebKit for managing history.

See also defaultInterface().


Copyright © 2007 Trolltech Trademarks
Qt 4.4.0-tp1