┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-05-11 20:14:50 +0000
committerPeter Penz <[email protected]>2008-05-11 20:14:50 +0000
commit57e3503e2f7dc2528d7935226d1cd283d8278807 (patch)
treef5b6d8bdbe7402e719391c2595fd43deb5451bfa /src/dolphinmainwindow.h
parent2ad91b45342ddd49854ae2b31a9c6cada1ad1c4e (diff)
If the middle mouse button is pressed above an item of the places panel, open the URL inside a new tab.
svn path=/trunk/KDE/kdebase/apps/; revision=806606
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h
index c03e2404d..71d7b52d1 100644
--- a/src/dolphinmainwindow.h
+++ b/src/dolphinmainwindow.h
@@ -339,6 +339,13 @@ private slots:
*/
void openTabContextMenu(int index, const QPoint& pos);
+ /**
+ * Handles a click on a places item: if the middle mouse button is
+ * clicked, a new tab is opened for \a url, otherwise the current
+ * view is replaced by \a url.
+ */
+ void handlePlacesClick(const KUrl& url, Qt::MouseButtons buttons);
+
private:
DolphinMainWindow(int id);
void init();