summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-02 02:32:43 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-02 02:32:43 +0200
commite6f5870d05b6d938476a790b0a65f2322c34d22c (patch)
treed5bfed17bea201a961d512d84e6da837e6a9635a /src/mainview.h
parentother i18n fix from Kristol (diff)
parentOpen Back/Forward tabs fixed (diff)
downloadrekonq-e6f5870d05b6d938476a790b0a65f2322c34d22c.tar.xz
Merge branch 'develop'
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mainview.h b/src/mainview.h
index faa43be9..372902dd 100644
--- a/src/mainview.h
+++ b/src/mainview.h
@@ -26,6 +26,7 @@
// Local Includes
#include "webview.h"
+#include "application.h"
// KDE Includes
#include <KTabWidget>
@@ -74,7 +75,7 @@ public:
WebView *currentWebView() const { return webView(currentIndex()); }
int webViewIndex(WebView *webView) const { return indexOf(webView); }
KAction *recentlyClosedTabsAction() const { return m_recentlyClosedTabsAction; }
- void setMakeTabCurrent( bool b) { makeTabCurrent = b; }
+ void setMakeBackTab(bool b) { m_makeBackTab = b; }
/**
* show and hide TabBar if user doesn't choose
@@ -109,7 +110,7 @@ public slots:
*
* @return a pointer to the new WebView
*/
- WebView *newWebView(bool makeCurrent = true);
+ WebView *newWebView(Rekonq::OpenType type = Rekonq::Default);
/**
* Core browser slot. Load an url in a webview
@@ -191,7 +192,7 @@ private:
QString m_loadingGitPath;
- bool makeTabCurrent;
+ bool m_makeBackTab;
};
#endif