summaryrefslogtreecommitdiff
path: root/src/bookmarks.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-22 01:18:22 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-22 01:18:22 +0200
commit182a330e250008177d05a5ef4ed0bd87226ee954 (patch)
tree27e54a567764689b75931d435085aa895dc948a4 /src/bookmarks.cpp
parentpedantic (diff)
downloadrekonq-182a330e250008177d05a5ef4ed0bd87226ee954.tar.xz
Side Panel
Diffstat (limited to 'src/bookmarks.cpp')
-rw-r--r--src/bookmarks.cpp24
1 files changed, 5 insertions, 19 deletions
diff --git a/src/bookmarks.cpp b/src/bookmarks.cpp
index fc69b88f..e6dbf1df 100644
--- a/src/bookmarks.cpp
+++ b/src/bookmarks.cpp
@@ -87,20 +87,6 @@ QString BookmarkOwner::currentTitle() const
}
-// QList< QPair<QString, QString> > BookmarkOwner::currentBookmarkList() const
-// {
-// QList< QPair<QString, QString> > list;
-// QList<WebView *> tabs = Application::instance()->mainWindow()->mainView()->tabs();
-// foreach(WebView *tab, tabs)
-// {
-// QString url = tab->url().url();
-// QString title = tab->title();
-// list.append(QPair<QString, QString>(url, title));
-// }
-// return list;
-// }
-
-
// ------------------------------------------------------------------------------------------------------
@@ -149,12 +135,12 @@ void BookmarkMenu::slotAddBookmark()
BookmarkProvider::BookmarkProvider(QWidget *parent)
: QWidget(parent)
- , m_manager(NULL)
- , m_owner(NULL)
+ , m_manager(0)
+ , m_owner(0)
, m_menu(new KMenu(this))
, m_actionCollection(new KActionCollection(this))
- , m_bookmarkMenu(NULL)
- , m_bookmarkToolBar(NULL)
+ , m_bookmarkMenu(0)
+ , m_bookmarkToolBar(0)
{
KUrl bookfile = KUrl("~/.kde/share/apps/konqueror/bookmarks.xml"); // share konqueror bookmarks
@@ -184,9 +170,9 @@ BookmarkProvider::BookmarkProvider(QWidget *parent)
// setup toolbar
setupToolBar();
-
}
+
BookmarkProvider::~BookmarkProvider()
{
delete m_bookmarkToolBar;