diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-01-28 01:00:15 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-01-28 01:00:15 +0100 |
commit | dc7cc2d262903aac402b7b1841b61d111ce797e8 (patch) | |
tree | b008467c16fb09545349d24255f0a1d03cbc7941 | |
parent | Removed unuseful "Select All" action. (diff) | |
download | rekonq-dc7cc2d262903aac402b7b1841b61d111ce797e8.tar.xz |
SOme more bits on bookmarkline..
-rw-r--r-- | src/bookmarks.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/bookmarks.cpp b/src/bookmarks.cpp index 08ece82a..a736e378 100644 --- a/src/bookmarks.cpp +++ b/src/bookmarks.cpp @@ -62,11 +62,7 @@ BookmarksMenu::BookmarksMenu(KMainWindow *parent, KBookmarkManager *manager) : KMenu(parent) , m_owner( new OwnBookMarks(parent) ) { -// KUrl bookfile = KUrl( "~/.kde/share/apps/konqueror/bookmarks.xml" ); // share konqueror bookmarks -// m_manager = KBookmarkManager::managerForExternalFile( bookfile.path() ); - m_ac = new KActionCollection( this ); - m_menu = new KBookmarkMenu( manager , m_owner, this, m_ac ); } @@ -76,4 +72,11 @@ BookmarksMenu::BookmarksMenu(KMainWindow *parent, KBookmarkManager *manager) BookmarksLine::BookmarksLine(KBookmarkManager *manager, KToolBar *toolbar) { + KBookmarkGroup toolbarGroup = manager->toolbar(); + KBookmark bm = toolbarGroup.first(); + while(!bm.isNull()) + { + // TODO append bm to toolbar + bm = toolbarGroup.next(bm); + } } |