From 412e9b019ad5c868dd0c5573bf185a32cca31b7d Mon Sep 17 00:00:00 2001 From: Bernhard Beschow Date: Mon, 14 Dec 2009 17:43:05 +0100 Subject: factor out WebTab class from WebView * it basically represents a tab in rekonq * everything that happens within one tab should go here (wallet bar, find bar?) --- src/mainview.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/mainview.h') diff --git a/src/mainview.h b/src/mainview.h index af957da2..c5cabb00 100644 --- a/src/mainview.h +++ b/src/mainview.h @@ -71,11 +71,10 @@ public: public: UrlBar *urlBar() const; - WebView *webView(int index) const; + WebTab *webTab(int index) const; TabBar *tabBar() const; - WebView *currentWebView() const; - int webViewIndex(WebView *webView) const; + WebTab *currentWebTab() const; /** * show and hide TabBar if user doesn't choose @@ -95,7 +94,7 @@ public: * @param nearParent decide if you wanna create new tab near current or not * @return the webview embedded in the new tab */ - WebView *newWebView(bool focused = true, bool nearParent = false); + WebTab *newWebTab(bool focused = true, bool nearParent = false); QList recentlyClosedTabs(); -- cgit v1.2.1