summaryrefslogtreecommitdiff
path: root/src/history
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-11-14 17:41:28 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-12-12 16:40:28 +0100
commite35004358ab0b290a5fefd893c7c9aab9cce6440 (patch)
tree9b84f4e54b2cd04642ecc7e8bb5a8d56003bd370 /src/history
parentLet the "big sync" work (the one done every minute...) (diff)
downloadrekonq-e35004358ab0b290a5fefd893c7c9aab9cce6440.tar.xz
let history, bookmarks and passwords sync on change (first bits)
Diffstat (limited to 'src/history')
-rw-r--r--src/history/historymanager.cpp2
-rw-r--r--src/history/historymanager.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/history/historymanager.cpp b/src/history/historymanager.cpp
index d9d6a93b..d4cb0f24 100644
--- a/src/history/historymanager.cpp
+++ b/src/history/historymanager.cpp
@@ -471,4 +471,6 @@ void HistoryManager::save()
}
}
m_lastSavedUrl = m_history.value(0).url;
+
+ emit historySaved();
}
diff --git a/src/history/historymanager.h b/src/history/historymanager.h
index bdce16d7..cfc875af 100644
--- a/src/history/historymanager.h
+++ b/src/history/historymanager.h
@@ -183,6 +183,8 @@ Q_SIGNALS:
void entryRemoved(const HistoryItem &item);
void entryUpdated(int offset);
+ void historySaved();
+
public Q_SLOTS:
void clear();
void loadSettings();