diff options
| author | Frank Reininghaus <[email protected]> | 2009-11-09 17:50:21 +0000 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2009-11-09 17:50:21 +0000 |
| commit | 7ff8c0d89aecc356d66b2aed25804b5ff22fbff9 (patch) | |
| tree | 8107029e9aa3036d38e80e9e1ab63822af7794c9 /src/dolphinmainwindow.h | |
| parent | 89b18a8b33a9007b5482b849906bfb166e7da3bb (diff) | |
When the Back, Forward and Up buttons in the toolbar are clicked with
the middle mouse button, open the URL in a new tab.
FEATURE: 190549
svn path=/trunk/KDE/kdebase/apps/; revision=1046785
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 399b6a2a3..d72c6b938 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -259,6 +259,24 @@ private slots: /** Goes up one hierarchy of the current URL. */ void goUp(); + /** + * Open the previous URL in the URL history in a new tab + * if the middle mouse button is clicked. + */ + void goBack(Qt::MouseButtons buttons); + + /** + * Open the next URL in the URL history in a new tab + * if the middle mouse button is clicked. + */ + void goForward(Qt::MouseButtons buttons); + + /** + * Open the URL one hierarchy above the current URL in a new tab + * if the middle mouse button is clicked. + */ + void goUp(Qt::MouseButtons buttons); + /** Goes to the home URL. */ void goHome(); |
