diff options
author | Bernhard Beschow <bbeschow@cs.tu-berlin.de> | 2009-12-14 17:43:05 +0100 |
---|---|---|
committer | Bernhard Beschow <bbeschow@cs.tu-berlin.de> | 2009-12-14 21:55:50 +0100 |
commit | 412e9b019ad5c868dd0c5573bf185a32cca31b7d (patch) | |
tree | 1a1ee0cddabefdd62e2bef39eef47e52d222e7f9 /src/mainview.h | |
parent | rekonq 0.3.21 (diff) | |
download | rekonq-412e9b019ad5c868dd0c5573bf185a32cca31b7d.tar.xz |
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?)
Diffstat (limited to 'src/mainview.h')
-rw-r--r-- | src/mainview.h | 7 |
1 files changed, 3 insertions, 4 deletions
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<HistoryItem> recentlyClosedTabs(); |