diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bookmarks.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bookmarks.cpp b/src/bookmarks.cpp index 6b6d549c..9b48de6f 100644 --- a/src/bookmarks.cpp +++ b/src/bookmarks.cpp @@ -37,6 +37,7 @@ // Qt Includes #include <QFile> + OwnBookMarks::OwnBookMarks(KMainWindow *parent) : QObject(parent) , KBookmarkOwner() @@ -53,6 +54,7 @@ void OwnBookMarks::openBookmark (const KBookmark & b, Qt::MouseButtons mb, Qt::K emit openUrl( b.url() ); } + QString OwnBookMarks::currentUrl() const { QUrl url = m_parent->currentTab()->url(); @@ -75,6 +77,7 @@ BookmarksMenu::BookmarksMenu( KBookmarkManager* manager, KBookmarkOwner* owner, { } + KMenu* BookmarksMenu::viewContextMenu(QAction* action) { return contextMenu( action ); @@ -164,4 +167,3 @@ void BookmarksProvider::contextMenu(const QPoint & point) menu->popup( m_bmToolbar->mapToGlobal( point )); } - |