#ifndef DOLPHIN_MAINWINDOW_H
#define DOLPHIN_MAINWINDOW_H
+#include "dolphintabwidget.h"
#include <config-baloo.h>
-
#include <kio/fileundomanager.h>
#include <ksortablelist.h>
#include <kxmlguiwindow.h>
-#include <QIcon>
-#include <QUrl>
+#include <QIcon>
#include <QList>
#include <QPointer>
+#include <QUrl>
typedef KIO::FileUndoManager::CommandType CommandType;
/**
* Opens a new tab in the background showing the URL \a url.
*/
- void openNewTab(const QUrl& url);
+ void openNewTab(const QUrl& url, DolphinTabWidget::TabPlacement tabPlacement);
+
+ /**
+ * Opens a new tab and places it after the current tab
+ */
+ void openNewTabAfterCurrentTab(const QUrl& url);
+
+ /**
+ * Opens a new tab and places it as the last tab
+ */
+ void openNewTabAfterLastTab(const QUrl& url);
/**
* Opens the selected folder in a new tab.
*/
void openInNewWindow();
+ /**
+ * Show the target of the selected symlink
+ */
+ void showTarget();
+
/**
* Indicates in the statusbar that the execution of the command \a command
* has been finished.
void tabCountChanged(int count);
/**
- * Sets the window caption to url.fileName() if this is non-empty,
- * "/" if the URL is "file:///", and url.protocol() otherwise.
+ * Updates the Window Title with the caption from the active view container
*/
- void setUrlAsCaption(const QUrl& url);
+ void updateWindowTitle();
/**
* This slot is called when the user requested to unmount a removable media