summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/mainview.h b/src/mainview.h
index d16743b1..23db69c0 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();
@@ -146,8 +145,7 @@ private slots:
void postLaunch();
- void createWalletBar(const QString &, const QUrl &);
-
+
protected:
virtual void resizeEvent(QResizeEvent *event);