|
|
Basic class to manage a history of "items". This class is only meant for fast lookup, if an item is in the history or not.
May be subclassed to implement a persistent history for example. For usage with khtml, just create your provider and call the HistoryProvider constructor _before_ you do any khtml stuff. That way, khtml, using the self()-method, will use your subclassed provider.
HistoryProvider * |
[static]
|
Creates a KHistoryProvider with an optional parent and name
|
[virtual]
Destroys the provider.
bool |
[const virtual]
Returns: true if item
is present in the history.
void |
[virtual]
Inserts item
into the history.
void |
[virtual]
Removes item
from the history.
void |
[virtual]
Clears the history. The cleared() signal is emitted after clearing.
void |
[signal]
Emitted after the history has been cleared.
void |
[signal]
This signal is never emitted from this class, it is only meant as an
interface for subclasses. Emit this signal to notify others that the
history has changed. Put those items that were added or removed from the
history into items.