summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-05-25 00:05:16 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-05-25 00:05:16 +0200
commitfca022bc0c708f82871850eaab94839c37c2013f (patch)
tree5feffee3a6a645b08a7e03c0136a8523677d38aa /src/mainview.cpp
parentInitial kdewebkit porting. STEP 1 DONE (diff)
downloadrekonq-fca022bc0c708f82871850eaab94839c37c2013f.tar.xz
no inline functions, as suggested
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index 8f3bf197..9ba711ed 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -108,6 +108,49 @@ void MainView::postLaunch()
m_recentlyClosedTabsAction->setEnabled(false);
}
+
+UrlBar *MainView::currentUrlBar() const
+{
+ return urlBar(-1);
+}
+
+
+TabBar *MainView::tabBar() const
+{
+ return m_tabBar;
+}
+
+
+StackedUrlBar *MainView::urlBarStack() const
+{
+ return m_urlBars;
+}
+
+
+WebView *MainView::currentWebView() const
+{
+ return webView(currentIndex());
+}
+
+
+int MainView::webViewIndex(WebView *webView) const
+{
+ return indexOf(webView);
+}
+
+
+KAction *MainView::recentlyClosedTabsAction() const
+{
+ return m_recentlyClosedTabsAction;
+}
+
+
+void MainView::setMakeBackTab(bool b)
+{
+ m_makeBackTab = b;
+}
+
+
void MainView::showTabBar()
{
if (ReKonfig::alwaysShowTabBar())