┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphintabwidget.h
diff options
context:
space:
mode:
authorAnthony Fieroni <[email protected]>2020-12-12 15:17:23 +0200
committerElvis Angelaccio <[email protected]>2021-01-10 21:54:45 +0000
commita73e81bf6af745623e7e92ba012522e34b2a312a (patch)
tree15395b60a09801af77b531c772ea10cdecc10df7 /src/dolphintabwidget.h
parenteb4b0fb48050ab047eecf01ccabc595a8b34d141 (diff)
Open new tab placement option
Signed-off-by: Anthony Fieroni <[email protected]>
Diffstat (limited to 'src/dolphintabwidget.h')
-rw-r--r--src/dolphintabwidget.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/dolphintabwidget.h b/src/dolphintabwidget.h
index 4a1b9d99c..fbfe28302 100644
--- a/src/dolphintabwidget.h
+++ b/src/dolphintabwidget.h
@@ -21,19 +21,6 @@ class DolphinTabWidget : public QTabWidget
Q_OBJECT
public:
- /**
- * @brief Controls where tabs are placed
- */
- enum TabPlacement {
- /**
- * The new tab is placed after the current tab
- */
- AfterCurrentTab,
- /**
- * The new tab is placed after the last tab
- */
- AfterLastTab
- };
/**
* @param navigatorsWidget The navigatorsWidget which is always going to be connected
@@ -118,11 +105,9 @@ public slots:
/**
* Opens a new tab in the background showing the URL \a primaryUrl and the
- * optional URL \a secondaryUrl. \a tabPlacement controls where the new tab
- * is placed.
+ * optional URL \a secondaryUrl.
*/
- void openNewTab(const QUrl &primaryUrl, const QUrl &secondaryUrl = QUrl(),
- DolphinTabWidget::TabPlacement tabPlacement = AfterLastTab);
+ void openNewTab(const QUrl &primaryUrl, const QUrl &secondaryUrl = QUrl());
/**
* Opens each directory in \p dirs in a separate tab. If \a splitView is set,