summaryrefslogtreecommitdiff
path: root/src/tabbar.cpp
diff options
context:
space:
mode:
authorBernhard Beschow <bbeschow@cs.tu-berlin.de>2009-12-14 17:43:05 +0100
committerBernhard Beschow <bbeschow@cs.tu-berlin.de>2009-12-14 21:55:50 +0100
commit412e9b019ad5c868dd0c5573bf185a32cca31b7d (patch)
tree1a1ee0cddabefdd62e2bef39eef47e52d222e7f9 /src/tabbar.cpp
parentrekonq 0.3.21 (diff)
downloadrekonq-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/tabbar.cpp')
-rw-r--r--src/tabbar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index 1246d669..ada879a3 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -36,7 +36,7 @@
#include "application.h"
#include "mainwindow.h"
#include "urlbar.h"
-#include "webview.h"
+#include "webtab.h"
#include "websnap.h"
#include "mainview.h"
@@ -144,8 +144,8 @@ void TabBar::showTabPreview(int tab)
{
MainView *mv = qobject_cast<MainView *>(parent());
- WebView *view = mv->webView(tab);
- WebView *currentView = mv->webView(currentIndex());
+ WebTab *view = mv->webTab(tab);
+ WebTab *currentView = mv->webTab(currentIndex());
// should fix bug #212219
if(!currentView)