summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-06-24 19:52:49 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-06-24 19:52:49 +0200
commitf3ab2ac51893a7e665e2f20f428325af1b172cc2 (patch)
tree5473381645d564e34927fa73b2c74f5eb3bbe6ec /src/mainwindow.cpp
parentMerge commit 'refs/merge-requests/142' of git://gitorious.org/rekonq/mainline... (diff)
downloadrekonq-f3ab2ac51893a7e665e2f20f428325af1b172cc2.tar.xz
Fix naming to clean API
SettingOpenTab --> NewTab (according to settings) NewCurrentTab --> NewFocusedTab
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 3e7c13b0..6ea0446f 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -956,7 +956,7 @@ void MainWindow::homePage(Qt::MouseButtons mouseButtons, Qt::KeyboardModifiers k
: KUrl( ReKonfig::homePage() );
if (mouseButtons == Qt::MidButton || keyboardModifiers == Qt::ControlModifier)
- Application::instance()->loadUrl( homeUrl, Rekonq::SettingOpenTab);
+ Application::instance()->loadUrl( homeUrl, Rekonq::NewTab);
else
currentTab()->view()->load( homeUrl );
}
@@ -1015,7 +1015,7 @@ void MainWindow::openPrevious(Qt::MouseButtons mouseButtons, Qt::KeyboardModifie
if (mouseButtons == Qt::MidButton || keyboardModifiers == Qt::ControlModifier)
{
- Application::instance()->loadUrl(item->url(), Rekonq::SettingOpenTab);
+ Application::instance()->loadUrl(item->url(), Rekonq::NewTab);
}
else
{
@@ -1049,7 +1049,7 @@ void MainWindow::openNext(Qt::MouseButtons mouseButtons, Qt::KeyboardModifiers k
if (mouseButtons == Qt::MidButton || keyboardModifiers == Qt::ControlModifier)
{
- Application::instance()->loadUrl(item->url(), Rekonq::SettingOpenTab);
+ Application::instance()->loadUrl(item->url(), Rekonq::NewTab);
}
else
{