summaryrefslogtreecommitdiff
path: root/src/bookmarks
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-11-18 15:40:21 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-12-12 16:40:28 +0100
commit984b65aa6da257c8d2ea79a9c2336d7e3ff484c2 (patch)
treed3695485aa8be48dc69d9b9d35483bc1b95063d6 /src/bookmarks
parentBookmarkProvider --> BookmarkManager (diff)
downloadrekonq-984b65aa6da257c8d2ea79a9c2336d7e3ff484c2.tar.xz
On the road to the sync feature...
Diffstat (limited to 'src/bookmarks')
-rw-r--r--src/bookmarks/bookmarkmanager.cpp4
-rw-r--r--src/bookmarks/bookmarkmanager.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/bookmarks/bookmarkmanager.cpp b/src/bookmarks/bookmarkmanager.cpp
index 49c697a5..066e0681 100644
--- a/src/bookmarks/bookmarkmanager.cpp
+++ b/src/bookmarks/bookmarkmanager.cpp
@@ -186,11 +186,15 @@ void BookmarkManager::slotBookmarksChanged()
fillBookmarkBar(bookmarkToolBar);
}
}
+
+ // this update about:bookmarks page...
if (rApp->mainWindow()
&& rApp->mainWindow()->currentTab()
&& rApp->mainWindow()->currentTab()->url().toMimeDataString().contains("about:bookmarks")
)
rApp->loadUrl(KUrl("about:bookmarks"), Rekonq::CurrentTab);
+
+ emit bookmarksUpdated();
}
diff --git a/src/bookmarks/bookmarkmanager.h b/src/bookmarks/bookmarkmanager.h
index b00a4b0e..0254b19f 100644
--- a/src/bookmarks/bookmarkmanager.h
+++ b/src/bookmarks/bookmarkmanager.h
@@ -149,6 +149,8 @@ Q_SIGNALS:
*/
void openUrl(const KUrl &, const Rekonq::OpenType &);
+ void bookmarksUpdated();
+
private:
void find(QList<KBookmark> *list, const KBookmark &bookmark, const QString &text);
KBookmark bookmarkForUrl(const KBookmark &bookmark, const KUrl &url);