The History class keeps track of visited URLs for a single Browser.
Publicly inherits QObject.
History | ( QPopupMenu* menu ); | |
const Url* | back | ( ); |
const Url* | current | ( ); |
const Url* | forward | ( ); |
const Url* | go | ( int index ); |
const Url* | home | ( ); |
const Url* | open | ( const Url& url ); |
void | setTitle | ( QString title ); |
~History | ( ); |
void | updateMenu | ( ); |
void | canGoBack | ( bool b ); |
void | canGoForward | ( bool b ); |
QPopupMenu* | _menu; |
QList<QString> | _titles; |
QList<Url> | _urls; |
Create a new URL history. The given popup menu is managed by the History object.
Return the previous history item.
Return the URL of the current history item, if any.
Return the next history item.
Return the URL of the history item at the given index, if any.
Truncate the history at the current position, then append the home URL as a new history item.
Truncate the history at the current position, then append the given URL as a new history item.
This function changes the title of the current history item.
Destroy history.
Make the history menu reflect the current browser history.
This signal tells a browser whether to enable or disable the backward button and menu entry.
This signal tells a browser whether to enable or disable the forward button and menu entry.