QWebHistoryInterface Class Reference [QtWebKit module]
The QWebHistoryInterface class provides an interface to implement link history. Далее...
#include <QWebHistoryInterface> Унаследован от: QObject.
Этот класс был введён в Qt 4.4.
Открытые функции
- 29 открытых функций, унаследованных от QObject
Статические открытые члены
- 5 статических открытых членов, унаследованных от QObject
Дополнительные унаследованные члены
- 1 свойство, унаследованное от QObject
- 1 открытый слот, унаследованный от QObject
- 1 сигнал, унаследованный от QObject
- 7 защищенных функций, унаследованных от QObject
Подробное описание
The QWebHistoryInterface class provides 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.
Описание функций-членов
QWebHistoryInterface::QWebHistoryInterface ( QObject * parent = 0 )
Constructs a new QWebHistoryInterface with parent parent.
QWebHistoryInterface::~QWebHistoryInterface ()
Деструктор. If this is currently the default interface it will be unset.
void QWebHistoryInterface::addHistoryEntry ( const QString & url ) [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. Returns true if the url is part of the history of visited links; otherwise returns false.
void QWebHistoryInterface::setDefaultInterface ( QWebHistoryInterface * defaultInterface ) [static]
Sets a new default interface, defaultInterface, that will be used by all of WebKit for managing history.
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.
See also defaultInterface().
Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) |
Торговые марки |
Qt 4.5.3 |
|