summaryrefslogtreecommitdiff
path: root/src/rekonqrun.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-07-23 12:01:54 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-07-24 01:33:59 +0200
commit7c6e73220f3ffe344b7400e95f65198b3cfa7c73 (patch)
treeb15e5943c5c383bc12b8661be8dda6f9d4ed7fdf /src/rekonqrun.cpp
parentAdded NON fixed rekonqrun class. (diff)
downloadrekonq-7c6e73220f3ffe344b7400e95f65198b3cfa7c73.tar.xz
Another rekonqrun step. Using previous schemes.
Diffstat (limited to 'src/rekonqrun.cpp')
-rw-r--r--src/rekonqrun.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rekonqrun.cpp b/src/rekonqrun.cpp
index ecabe9bc..47ff7f27 100644
--- a/src/rekonqrun.cpp
+++ b/src/rekonqrun.cpp
@@ -50,7 +50,7 @@ RekonqRun::~RekonqRun()
}
-void RekonqRun::loadUrl(const KUrl& url, const Rekonq::BrowserArguments& browserArgs)
+void RekonqRun::loadUrl(const KUrl& url, const Rekonq::OpenType& type)
{
if (url.isEmpty())
return;
@@ -113,7 +113,7 @@ void RekonqRun::loadUrl(const KUrl& url, const Rekonq::BrowserArguments& browser
WebView *webView = m_window->newTab();
m_window->currentUrlBar()->setUrl(loadingUrl.prettyUrl());
- switch(browserArgs)
+ switch(type)
{
case Rekonq::Default:
if (!Rekonq::openTabsBack())
@@ -136,9 +136,9 @@ void RekonqRun::loadUrl(const KUrl& url, const Rekonq::BrowserArguments& browser
}
-void RekonqRun::loadUrl(const QString& urlString, const Rekonq::BrowserArguments& browserArgs)
+void RekonqRun::loadUrl(const QString& urlString, const Rekonq::OpenType& type)
{
- return loadUrl( guessUrlFromString(urlString), browserArgs );
+ return loadUrl( guessUrlFromString(urlString), type );
}