summaryrefslogtreecommitdiff
path: root/src/history.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-21 23:46:09 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-21 23:46:09 +0200
commit48c84f9437f7197edcca59ae8d7807bc3c22f83e (patch)
tree006642f7dd936b9be18796aeca265cc63aaa1def /src/history.h
parentBookmarks classes refactored (diff)
downloadrekonq-48c84f9437f7197edcca59ae8d7807bc3c22f83e.tar.xz
Updated History classes with Ben Meyer patches via kojots350
(thank you all..)
Diffstat (limited to 'src/history.h')
-rw-r--r--src/history.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/history.h b/src/history.h
index 41b4116c..3a1c1e2f 100644
--- a/src/history.h
+++ b/src/history.h
@@ -3,6 +3,7 @@
* This file is a part of the rekonq project
*
* Copyright (C) 2007-2008 Trolltech ASA. All rights reserved
+* Copyright (C) 2008 Benjamin C. Meyer <ben@meyerhome.net>
* Copyright (C) 2008 by Andrea Diamantini <adjam7 at gmail dot com>
*
*
@@ -96,8 +97,8 @@ public:
bool historyContains(const QString &url) const;
void addHistoryEntry(const QString &url);
-
- void updateHistoryItem(const KUrl &url, const QString &title);
+ void updateHistoryEntry(const KUrl &url, const QString &title);
+ void removeHistoryEntry(const KUrl &url, const QString &title = QString());
int historyLimit() const;
void setHistoryLimit(int limit);
@@ -119,7 +120,8 @@ private slots:
void checkForExpired();
protected:
- void addHistoryItem(const HistoryItem &item);
+ void addHistoryEntry(const HistoryItem &item);
+ void removeHistoryEntry(const HistoryItem &item);
private:
void load();