|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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. |
QWebHistoryItem
objects are value based and explicitly shared. QWebHistory
, QWebPage::history()
, and QWebHistoryInterface
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.trolltech.qt.QSignalEmitter |
---|
QSignalEmitter.Signal0, QSignalEmitter.Signal1, QSignalEmitter.Signal2, QSignalEmitter.Signal3, QSignalEmitter.Signal4, QSignalEmitter.Signal5, QSignalEmitter.Signal6, QSignalEmitter.Signal7, QSignalEmitter.Signal8, QSignalEmitter.Signal9 |
Constructor Summary | |
---|---|
QWebHistoryItem(QWebHistoryItem other)
Constructs a history item from other. |
Method Summary | |
---|---|
QWebHistoryItem |
clone()
This method is reimplemented for internal reasons |
static QWebHistoryItem |
fromNativePointer(QNativePointer nativePointer)
|
QIcon |
icon()
Returns the icon associated with the history item. |
QDateTime |
lastVisited()
Returns the date and time that the page associated with the item was last visited. |
static QNativePointer |
nativePointerArray(QWebHistoryItem[] array)
|
QUrl |
originalUrl()
Returns the original URL associated 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. |
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 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 QDateTime lastVisited()
title()
, icon()
, and url()
.
public final QUrl originalUrl()
url()
.
public final java.lang.String title()
icon()
, url()
, and lastVisited()
.
public final QUrl url()
originalUrl()
, title()
, and lastVisited()
.
public static QWebHistoryItem fromNativePointer(QNativePointer nativePointer)
public static QNativePointer nativePointerArray(QWebHistoryItem[] array)
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 |