summaryrefslogtreecommitdiff
path: root/src/mainview.h
diff options
context:
space:
mode:
authorNikhil Marathe <nsm.nikhil@gmail.com>2010-08-07 17:33:55 +0530
committerNikhil Marathe <nsm.nikhil@gmail.com>2010-08-07 17:33:55 +0530
commit15cf9d193659ee5c9fedddcc33c31ff6f0e42cd6 (patch)
treedcb6e76fb2820ae0a68bb3ad12262eb5dcaf575b /src/mainview.h
parentEditable urlbar :D (diff)
downloadrekonq-15cf9d193659ee5c9fedddcc33c31ff6f0e42cd6.tar.xz
Added option to detachTab() to allow moving to existing window
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();