X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/56b132fff03bfe473df6cae265b59f36bd4e6fe9..405aa4878f75:/src/dolphinmainwindow.h diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index e81793b0f..1734d4ad4 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -22,16 +22,16 @@ #ifndef DOLPHIN_MAINWINDOW_H #define DOLPHIN_MAINWINDOW_H +#include "dolphintabwidget.h" #include - #include #include #include -#include -#include +#include #include #include +#include typedef KIO::FileUndoManager::CommandType CommandType; @@ -47,9 +47,7 @@ class KNewFileMenu; class QToolButton; class QIcon; class PlacesPanel; -#ifndef Q_OS_WIN class TerminalPanel; -#endif /** * @short Main window for Dolphin. @@ -330,7 +328,17 @@ private slots: /** * 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. @@ -342,6 +350,11 @@ private slots: */ 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. @@ -410,10 +423,9 @@ private slots: 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 @@ -517,9 +529,7 @@ private: KIO::Job* m_lastHandleUrlStatJob; -#ifndef Q_OS_WIN TerminalPanel* m_terminalPanel; -#endif PlacesPanel* m_placesPanel; bool m_tearDownFromPlacesRequested; };