summaryrefslogtreecommitdiff
path: root/src/tabwindow/tabwindow.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2012-12-05 18:09:44 +0100
committerAndrea Diamantini <adjam7@gmail.com>2012-12-10 02:48:06 +0100
commite81948d7b150c47e6776d87f8095de52a340b02d (patch)
treec9248bcc01f768909987610b31e097eaa6db8e22 /src/tabwindow/tabwindow.h
parentDon't leak actions (diff)
downloadrekonq-e81948d7b150c47e6776d87f8095de52a340b02d.tar.xz
Fix open external link on web app
Diffstat (limited to 'src/tabwindow/tabwindow.h')
-rw-r--r--src/tabwindow/tabwindow.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tabwindow/tabwindow.h b/src/tabwindow/tabwindow.h
index dd938af3..fc2cc4de 100644
--- a/src/tabwindow/tabwindow.h
+++ b/src/tabwindow/tabwindow.h
@@ -61,6 +61,7 @@ class TabWindow : public RekonqWindow
public:
TabWindow(bool withTab = true, bool PrivateBrowsingMode = false, QWidget *parent = 0);
+ TabWindow(WebPage *pg, QWidget *parent = 0);
WebWindow* currentWebWindow() const;
WebWindow* webWindow(int index) const;
@@ -74,7 +75,7 @@ public:
public Q_SLOTS:
void loadUrl(const KUrl &, Rekonq::OpenType type = Rekonq::CurrentTab, TabHistory *history = 0);
- void newTab();
+ void newTab(WebPage *page = 0);
private:
/**
@@ -82,6 +83,8 @@ private:
*/
WebWindow *prepareNewTab(WebPage *page = 0);
+ void init();
+
private Q_SLOTS:
/**
* Updates new tab button position