abstract boolean |
historyContains(java.lang.String url)
Called by the {@link
|
static void |
setDefaultInterface(QWebHistoryInterface defaultInterface)
Sets a new default interface, defaultInterface, that will be used by all of {@link
Methods inherited from class com.trolltech.qt.core.QObject |
childEvent, children, connectSlotsByName, customEvent, disposeLater, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, event, eventFilter, findChild, findChild, findChild, findChildren, findChildren, findChildren, findChildren, indexOfProperty, installEventFilter, isWidgetType, killTimer, moveToThread, objectName, parent, properties, property, removeEventFilter, setObjectName, setParent, setProperty, startTimer, timerEvent, toString, userProperty |
Methods inherited from class java.lang.Object |
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
QWebHistoryInterface
public QWebHistoryInterface()
- Constructs a new
QWebHistoryInterface with parent parent.
QWebHistoryInterface
public QWebHistoryInterface(QObject parent)
- Constructs a new
QWebHistoryInterface with parent parent.
addHistoryEntry
public abstract void addHistoryEntry(java.lang.String url)
- Called by WebKit to add another url to the list of visited pages.
historyContains
public abstract boolean historyContains(java.lang.String url)
- 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.
defaultInterface
public static QWebHistoryInterface defaultInterface()
- 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() .
setDefaultInterface
public static void setDefaultInterface(QWebHistoryInterface defaultInterface)
- 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() .
fromNativePointer
public static QWebHistoryInterface fromNativePointer(QNativePointer nativePointer)
- This method returns the QWebHistoryInterface instance pointed to by nativePointer.
|