Commit 981d865c authored by Daniel Teske's avatar Daniel Teske

Port to new API.


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=699519
parent 14e5e025
......@@ -85,14 +85,12 @@ void BookmarkHandler::openBookmark( const KBookmark & bm, Qt::MouseButtons, Qt::
emit openUrl( bm.url() );
}
bool BookmarkHandler::addBookmarkEntry() const
bool BookmarkHandler::enableOption(BookmarkOption option ) const
{
return m_toplevel;
}
bool BookmarkHandler::editBookmarkEntry() const
{
return m_toplevel;
if(option == ShowAddBookmark || option == ShowEditBookmark)
return m_toplevel;
else
return KBookmarkOwner::enableOption(option);
}
QString BookmarkHandler::currentUrl() const
......
......@@ -69,8 +69,7 @@ public:
virtual QString currentUrl() const;
virtual QString currentTitle() const;
virtual bool addBookmarkEntry() const;
virtual bool editBookmarkEntry() const;
virtual bool enableOption(BookmarkOption option) const;
virtual bool supportsTabs() const;
virtual QList<QPair<QString,QString> > currentBookmarkList() const;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment