|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trolltech.qt.internal.QSignalEmitterInternal
com.trolltech.qt.QSignalEmitter
com.trolltech.qt.QtJambiObject
com.trolltech.qt.webkit.QWebHistoryItem
public class QWebHistoryItem
The QWebHistoryItem class represents one item in the history of a QWebPage
Each QWebHistoryItem instance represents an entry in the history stack of a Web page, containing information about the page, its location, and when it was last visited.
The following table shows the properties of the page held by the history item, and the functions used to access them.
title() | The page title. |
url() | The location of the page. |
originalUrl() | The URL used to access the page. |
lastVisited() | The date and time of the user's last visit to the page. |
icon() | The icon associated with the page that was provided by the server. |
userData() | The user specific data that was stored with the history item. |
QWebHistory
, QWebPage::history()
, and QWebHistoryInterface
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal |
Field Summary |
---|
Fields inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
currentSender |
Constructor Summary | |
---|---|
QWebHistoryItem(QWebHistoryItem other)
Constructs a history item from other. |
Method Summary | |
---|---|
QWebHistoryItem |
clone()
This method is reimplemented for internal reasons |
QIcon |
icon()
Returns the icon associated with the history item. |
boolean |
isValid()
Returns whether this is a valid history item. |
QDateTime |
lastVisited()
Returns the date and time that the page associated with the item was last visited. |
QUrl |
originalUrl()
Returns the original URL associated with the history item. |
void |
setUserData(java.lang.Object userData)
Stores user specific data userData with the history item. |
java.lang.String |
title()
Returns the title of the page associated with the history item. |
QUrl |
url()
Returns the URL associated with the history item. |
java.lang.Object |
userData()
Returns the user specific data that was stored with the history item. |
Methods inherited from class com.trolltech.qt.QtJambiObject |
---|
dispose, disposed, equals, finalize, reassignNativeResources, tr, tr, tr |
Methods inherited from class com.trolltech.qt.QSignalEmitter |
---|
blockSignals, disconnect, disconnect, signalsBlocked, signalSender, thread |
Methods inherited from class com.trolltech.qt.internal.QSignalEmitterInternal |
---|
__qt_signalInitialization |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.trolltech.qt.QtJambiInterface |
---|
disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership |
Constructor Detail |
---|
public QWebHistoryItem(QWebHistoryItem other)
Method Detail |
---|
public final QIcon icon()
title()
, url()
, and lastVisited()
.
public final boolean isValid()
public final QDateTime lastVisited()
title()
, icon()
, and url()
.
public final QUrl originalUrl()
url()
.
public final void setUserData(java.lang.Object userData)
userData()
.
public final java.lang.String title()
icon()
, url()
, and lastVisited()
.
public final QUrl url()
originalUrl()
, title()
, and lastVisited()
.
public final java.lang.Object userData()
setUserData()
.
public QWebHistoryItem clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |