summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-01-28 01:00:15 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-01-28 01:00:15 +0100
commitdc7cc2d262903aac402b7b1841b61d111ce797e8 (patch)
treeb008467c16fb09545349d24255f0a1d03cbc7941
parentRemoved unuseful "Select All" action. (diff)
downloadrekonq-dc7cc2d262903aac402b7b1841b61d111ce797e8.tar.xz
SOme more bits on bookmarkline..
-rw-r--r--src/bookmarks.cpp11
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);
+ }
}