summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-08-09 00:54:24 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-08-09 00:54:24 +0200
commit33150f64428ba2a1ca6b6328b606cdbb37bf8006 (patch)
treeb704d37d46e5f15fb30c00483027e7e00350ca22 /src/mainview.h
parentMerge branch 'm155' (diff)
parentAdded option to detachTab() to allow moving to existing window (diff)
downloadrekonq-33150f64428ba2a1ca6b6328b606cdbb37bf8006.tar.xz
Merge commit 'refs/merge-requests/158' of git://gitorious.org/rekonq/mainline into m158
Diffstat (limited to 'src/mainview.h')
-rw-r--r--src/mainview.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainview.h b/src/mainview.h
index 2ece6fe4..cc7eb8da 100644
--- a/src/mainview.h
+++ b/src/mainview.h
@@ -129,7 +129,12 @@ public slots:
void closeTab(int index = -1, bool del = true);
void closeOtherTabs(int index = -1);
void reloadTab(int index = -1);
- void detachTab(int index = -1);
+ /**
+ * Detaches tab at @c index to a new window.
+ * If @c toWindow is not null, the tab is instead
+ * added to existing MainWindow @c toWindow.
+ */
+ void detachTab(int index = -1, MainWindow *toWindow = NULL);
void reloadAllTabs();
void nextTab();