summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-29 01:41:58 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-29 01:41:58 +0200
commit5fb7d909e87be4ea5a07b7a29271c96b7db4a9b3 (patch)
tree66446357b150a6aa5e675ec75b65973787fb3ad7 /src/mainview.h
parentRemoved loadUrl method from WebView (diff)
downloadrekonq-5fb7d909e87be4ea5a07b7a29271c96b7db4a9b3.tar.xz
Fixed loading Url methods.
Now in all rekonq code we have just a loadUrl method in mainview (doing the dirty job) and one in mainwindow, provided for convenience. Every class needing loading an url has a openUrl signal. Hope this should go well..
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mainview.h b/src/mainview.h
index c6f26a66..89cb3553 100644
--- a/src/mainview.h
+++ b/src/mainview.h
@@ -111,7 +111,13 @@ public slots:
* @return a pointer to the new WebView
*/
WebView *newWebView(bool makeCurrent = true);
- void loadUrlInCurrentTab(const KUrl &url);
+
+ /**
+ * Core browser slot. Load an url in a webview
+ *
+ * @param url The url to load
+ */
+ void loadUrl(const KUrl &url);
void slotCloneTab(int index = -1);
void slotCloseTab(int index = -1);
void slotCloseOtherTabs(int index);