summaryrefslogtreecommitdiff
path: root/src/bookmarks.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-01-27 17:33:26 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-01-27 17:33:26 +0100
commitde1b2a26f7eaebd3fa1fa2eeb30f4e26afb534fe (patch)
tree386f9d8e8ed4ee6d7566ef34db20379cdb9d0073 /src/bookmarks.cpp
parentWe now have the FINAL search bar!! Yeah!!! (diff)
downloadrekonq-de1b2a26f7eaebd3fa1fa2eeb30f4e26afb534fe.tar.xz
Fixed MenuBar.
Fixed BookmarkLine in rekonqui.rc Now we need just the code to implement it..
Diffstat (limited to 'src/bookmarks.cpp')
-rw-r--r--src/bookmarks.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bookmarks.cpp b/src/bookmarks.cpp
index a83fbdab..08ece82a 100644
--- a/src/bookmarks.cpp
+++ b/src/bookmarks.cpp
@@ -58,22 +58,22 @@ QString OwnBookMarks::currentTitle() const
//---------------------------------------------------------------------------------------------------------------------
-BookmarksMenu::BookmarksMenu(KMainWindow *parent)
+BookmarksMenu::BookmarksMenu(KMainWindow *parent, KBookmarkManager *manager)
: KMenu(parent)
- , m_owner( new OwnBookMarks( parent ) )
+ , m_owner( new OwnBookMarks(parent) )
{
- KUrl bookfile = KUrl( "~/.kde/share/apps/konqueror/bookmarks.xml" ); // share konqueror bookmarks
- m_manager = KBookmarkManager::managerForExternalFile( bookfile.path() );
+// 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( m_manager , m_owner, this, m_ac );
+ m_menu = new KBookmarkMenu( manager , m_owner, this, m_ac );
}
//---------------------------------------------------------------------------------------------------------------------
-BookmarksLine::BookmarksLine(QObject *parent, KToolBar *toolbar)
+BookmarksLine::BookmarksLine(KBookmarkManager *manager, KToolBar *toolbar)
{
}