summaryrefslogtreecommitdiff
path: root/src/history/historymanager.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-02-15 16:54:55 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-03-18 06:44:33 +0100
commit591b4c3cb201c3d405f4a0a168c65bfe83325c0c (patch)
tree42027d42ceda96ead0711388e23908e1dd7c8d36 /src/history/historymanager.h
parentfixuifiles (diff)
downloadrekonq-591b4c3cb201c3d405f4a0a168c65bfe83325c0c.tar.xz
New History Manager, NO MORE QWebHistoryInterface based.
We are just saving datas on our own, I don't like QtWebKit APIs to do it. We now call addHistoryEntry(url, title) on loadFinished. Data structure will remain the same as usual, but I think API is better and data are now saved when we really have them ready. REVIEW:104257
Diffstat (limited to 'src/history/historymanager.h')
-rw-r--r--src/history/historymanager.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/history/historymanager.h b/src/history/historymanager.h
index d4531e5c..fc2e9abd 100644
--- a/src/history/historymanager.h
+++ b/src/history/historymanager.h
@@ -45,7 +45,6 @@
#include <QObject>
#include <QTimer>
#include <QSortFilterProxyModel>
-#include <QWebHistoryInterface>
#include <QWebHistory>
#include <math.h>
@@ -146,7 +145,7 @@ class HistoryTreeModel;
* It manages rekonq history
*
*/
-class REKONQ_TESTS_EXPORT HistoryManager : public QWebHistoryInterface
+class REKONQ_TESTS_EXPORT HistoryManager : public QObject
{
Q_OBJECT
@@ -155,8 +154,7 @@ public:
~HistoryManager();
bool historyContains(const QString &url) const;
- void addHistoryEntry(const QString &url);
- void updateHistoryEntry(const KUrl &url, const QString &title);
+ void addHistoryEntry(const KUrl &url, const QString &title);
void removeHistoryEntry(const KUrl &url, const QString &title = QString());
QList<HistoryItem> find(const QString &text);
@@ -181,7 +179,6 @@ Q_SIGNALS:
void historyReset();
void entryAdded(const HistoryItem &item);
void entryRemoved(const HistoryItem &item);
- void entryUpdated(int offset);
void historySaved();