diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-08-20 19:15:23 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-08-20 19:15:23 +0200 |
commit | 52bf222bf033f6bbcd15cfe2012a51a194d475d8 (patch) | |
tree | d2e839ccbdf38c930d145d4d8dd23897bbc43666 /src/bookmarks/bookmarkowner.h | |
parent | Krazy fixes, first bunch (diff) | |
parent | - The bookmark toolbar is now a real toolbar, not an action. (diff) | |
download | rekonq-52bf222bf033f6bbcd15cfe2012a51a194d475d8.tar.xz |
Merge commit 'refs/merge-requests/181' of git://gitorious.org/rekonq/mainline into m181
Conflicts:
src/bookmarks/bookmarkstoolbar.h
Diffstat (limited to 'src/bookmarks/bookmarkowner.h')
-rw-r--r-- | src/bookmarks/bookmarkowner.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/bookmarks/bookmarkowner.h b/src/bookmarks/bookmarkowner.h index abb65c36..e0c2a8ad 100644 --- a/src/bookmarks/bookmarkowner.h +++ b/src/bookmarks/bookmarkowner.h @@ -119,24 +119,24 @@ signals: void openUrl(const KUrl &, const Rekonq::OpenType &); public slots: - void bookmarkSelected(const KBookmark &bookmark); - - void openBookmark(); - void openBookmarkInNewTab(); - void openBookmarkInNewWindow(); - void openBookmarkFolder(); - void bookmarkCurrentPage(); - void newBookmarkFolder(); - void newSeparator(); - void copyLink(); - void editBookmark(); - bool deleteBookmark(); + void setCurrentBookmark(const KBookmark &bookmark); + + void openBookmark(const KBookmark &bookmark = KBookmark()); + void openBookmarkInNewTab(const KBookmark &bookmark = KBookmark()); + void openBookmarkInNewWindow(const KBookmark &bookmark = KBookmark()); + void openBookmarkFolder(const KBookmark &bookmark = KBookmark()); + void bookmarkCurrentPage(const KBookmark &bookmark = KBookmark()); + void newBookmarkFolder(const KBookmark &bookmark = KBookmark()); + void newSeparator(const KBookmark &bookmark = KBookmark()); + void copyLink(const KBookmark &bookmark = KBookmark()); + void editBookmark(KBookmark bookmark = KBookmark()); + bool deleteBookmark(KBookmark bookmark = KBookmark()); private: KBookmarkManager *m_manager; - QVector<KAction*> actions; - KBookmark selected; + QVector<KAction*> m_actions; + KBookmark m_currentBookmark; void setupActions(); void createAction(const BookmarkAction &action, |