diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-06-24 19:52:49 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-06-24 19:52:49 +0200 |
commit | f3ab2ac51893a7e665e2f20f428325af1b172cc2 (patch) | |
tree | 5473381645d564e34927fa73b2c74f5eb3bbe6ec /src/bookmarks | |
parent | Merge commit 'refs/merge-requests/142' of git://gitorious.org/rekonq/mainline... (diff) | |
download | rekonq-f3ab2ac51893a7e665e2f20f428325af1b172cc2.tar.xz |
Fix naming to clean API
SettingOpenTab --> NewTab (according to settings)
NewCurrentTab --> NewFocusedTab
Diffstat (limited to 'src/bookmarks')
-rw-r--r-- | src/bookmarks/bookmarkcontextmenu.cpp | 2 | ||||
-rw-r--r-- | src/bookmarks/bookmarksmanager.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bookmarks/bookmarkcontextmenu.cpp b/src/bookmarks/bookmarkcontextmenu.cpp index 4422763a..b5df463c 100644 --- a/src/bookmarks/bookmarkcontextmenu.cpp +++ b/src/bookmarks/bookmarkcontextmenu.cpp @@ -189,7 +189,7 @@ void BookmarkContextMenu::openInCurrentTab() void BookmarkContextMenu::openInNewTab() { - Application::instance()->loadUrl(bookmark().url(), Rekonq::SettingOpenTab); + Application::instance()->loadUrl(bookmark().url(), Rekonq::NewTab); } diff --git a/src/bookmarks/bookmarksmanager.cpp b/src/bookmarks/bookmarksmanager.cpp index 4b4e127a..954a633a 100644 --- a/src/bookmarks/bookmarksmanager.cpp +++ b/src/bookmarks/bookmarksmanager.cpp @@ -66,7 +66,7 @@ void BookmarkOwner::openBookmark(const KBookmark & bookmark, { if (keyboardModifiers & Qt::ControlModifier || mouseButtons == Qt::MidButton) { - emit openUrl(bookmark.url(), Rekonq::SettingOpenTab); + emit openUrl(bookmark.url(), Rekonq::NewTab); } else { @@ -112,7 +112,7 @@ void BookmarkOwner::openFolderinTabs(const KBookmarkGroup &bookmark) QList<KUrl>::iterator url; for (url = urlList.begin(); url != urlList.end(); ++url) { - emit openUrl(*url, Rekonq::NewCurrentTab); + emit openUrl(*url, Rekonq::NewFocusedTab); } } |