From 48c84f9437f7197edcca59ae8d7807bc3c22f83e Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Tue, 21 Apr 2009 23:46:09 +0200 Subject: Updated History classes with Ben Meyer patches via kojots350 (thank you all..) --- src/history.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/history.h') 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 * Copyright (C) 2008 by Andrea Diamantini * * @@ -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(); -- cgit v1.2.1