summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-23 12:39:21 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-23 12:39:21 +0200
commitc30a6e73d97530ed22cafa89b59cf25cf93e02d1 (patch)
tree1b9f9ed0bffc5fefa36f172f9585cc3a06a3c4c4 /src/mainview.h
parentMerge commit 'megabigbug/Print' (diff)
downloadrekonq-c30a6e73d97530ed22cafa89b59cf25cf93e02d1.tar.xz
Modified newTab function and splitted into two parts.
There are still some regressions to be fixed: - open link in new tab is always without focus - urlbar is empty on new tab loading - mics..
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainview.h b/src/mainview.h
index 9a0b3412..de07e9a9 100644
--- a/src/mainview.h
+++ b/src/mainview.h
@@ -81,7 +81,8 @@ public:
void showTabBar();
void clear();
-
+ WebView *newWebView();
+
signals:
// tab widget signals
void tabsChanged();
@@ -100,9 +101,8 @@ public slots:
* Core browser slot. This create a new tab with a WebView inside
* for browsing.
*
- * @return a pointer to the new WebView
*/
- WebView *newTab(bool focused = true);
+ void newTab();
void slotCloneTab(int index = -1);
void slotCloseTab(int index = -1);