diff options
| author | Peter Penz <[email protected]> | 2008-04-16 20:03:05 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-04-16 20:03:05 +0000 |
| commit | 12c1feb0c5ac8d402ee03dc9da39f826ae04ce0b (patch) | |
| tree | 8527191bd0c13be2873fc10f9266bde8ba85e723 /src/dolphinmainwindow.h | |
| parent | 8f582495f6dcac94d463607341acdebc1016cc2e (diff) | |
* provide context menu for tabs
* assure that the tab name is set to "/" for the root URL instead of using an empty string
svn path=/trunk/KDE/kdebase/apps/; revision=797725
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 |
