diff options
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 3ac766d77..2f0fb9589 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -331,11 +331,20 @@ private slots: */ void setActiveTab(int index); + /** Closes the currently active tab. */ + void closeTab(); + /** * Closes the tab with the index \index and activates the tab with index - 1. */ void closeTab(int index); + /** + * Opens a context menu for the tab with the index \a index + * on the position \a pos. + */ + void openTabContextMenu(int index, const QPoint& pos); + private: DolphinMainWindow(int id); void init(); @@ -370,6 +379,9 @@ private: */ void updateSplitAction(); + /** Returns the name of the tab for the URL \a url. */ + QString tabName(const KUrl& url) const; + private: /** * Implements a custom error handling for the undo manager. This |
