summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarksmanager.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-07-26 19:07:25 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-07-26 19:07:25 +0200
commit96807aee813280c195224455c85d6c3e6d180c4e (patch)
tree2b5a10a23034ced528bd5c580b8cf722cb06bf8d /src/bookmarks/bookmarksmanager.cpp
parentSVN_SILENT made messages (.desktop file) (diff)
downloadrekonq-96807aee813280c195224455c85d6c3e6d180c4e.tar.xz
Back to XMLGUI.
This means configurable toolbars and the old problems with our no menubar choice. We'll see what will happen this time... Yoann: can you pls check my port of the bookmarks toolbar?
Diffstat (limited to 'src/bookmarks/bookmarksmanager.cpp')
-rw-r--r--src/bookmarks/bookmarksmanager.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bookmarks/bookmarksmanager.cpp b/src/bookmarks/bookmarksmanager.cpp
index d0062ae1..7f07cf48 100644
--- a/src/bookmarks/bookmarksmanager.cpp
+++ b/src/bookmarks/bookmarksmanager.cpp
@@ -366,6 +366,16 @@ KActionMenu* BookmarkProvider::bookmarkActionMenu(QWidget *parent)
}
+KAction* BookmarkProvider::bookmarkToolBarAction(KToolBar *t)
+{
+ KAction *bookmarkToolBarAction = new KAction(this);
+ bookmarkToolBarAction->setDefaultWidget(t); // The ownership is transferred to action
+ bookmarkToolBarAction->setText(i18n("Bookmarks Bar"));
+ bookmarkToolBarAction->setShortcutConfigurable(false);
+ return bookmarkToolBarAction;
+}
+
+
void BookmarkProvider::triggerBookmarkMenu()
{
kDebug() << "triggering Bookmarks Menu...";