From 7ff8c0d89aecc356d66b2aed25804b5ff22fbff9 Mon Sep 17 00:00:00 2001 From: Frank Reininghaus Date: Mon, 9 Nov 2009 17:50:21 +0000 Subject: 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 --- src/dolphinmainwindow.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/dolphinmainwindow.h') 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(); -- cgit v1.3