diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2012-02-15 16:54:55 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2012-03-18 06:44:33 +0100 |
commit | 591b4c3cb201c3d405f4a0a168c65bfe83325c0c (patch) | |
tree | 42027d42ceda96ead0711388e23908e1dd7c8d36 /src/history/historymodels.cpp | |
parent | fixuifiles (diff) | |
download | rekonq-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/historymodels.cpp')
-rw-r--r-- | src/history/historymodels.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/history/historymodels.cpp b/src/history/historymodels.cpp index 16054054..d50d28a0 100644 --- a/src/history/historymodels.cpp +++ b/src/history/historymodels.cpp @@ -66,7 +66,6 @@ HistoryModel::HistoryModel(HistoryManager *history, QObject *parent) connect(m_historyManager, SIGNAL(historyReset()), this, SLOT(historyReset())); connect(m_historyManager, SIGNAL(entryRemoved(HistoryItem)), this, SLOT(historyReset())); connect(m_historyManager, SIGNAL(entryAdded(HistoryItem)), this, SLOT(entryAdded())); - connect(m_historyManager, SIGNAL(entryUpdated(int)), this, SLOT(entryUpdated(int))); } @@ -83,13 +82,6 @@ void HistoryModel::entryAdded() } -void HistoryModel::entryUpdated(int offset) -{ - QModelIndex idx = index(offset, 0); - emit dataChanged(idx, idx); -} - - QVariant HistoryModel::headerData(int section, Qt::Orientation orientation, int role) const { if (orientation == Qt::Horizontal |