From 57e3503e2f7dc2528d7935226d1cd283d8278807 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 11 May 2008 20:14:50 +0000 Subject: 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 --- src/dolphinfileplacesview.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/dolphinfileplacesview.h') diff --git a/src/dolphinfileplacesview.h b/src/dolphinfileplacesview.h index 8bad0fa5f..46d574606 100644 --- a/src/dolphinfileplacesview.h +++ b/src/dolphinfileplacesview.h @@ -34,8 +34,18 @@ public: DolphinFilePlacesView(QWidget* parent); virtual ~DolphinFilePlacesView(); +signals: + void urlChanged(const KUrl& url, Qt::MouseButtons buttons); + +protected: + virtual void mousePressEvent(QMouseEvent* event); + private slots: void slotUrlsDropped(const KUrl& dest, QDropEvent* event, QWidget* parent); + void emitExtendedUrlChangedSignal(const KUrl& url); + +private: + Qt::MouseButtons m_mouseButtons; }; #endif // DOLPHINFILEPLACESVIEW_H -- cgit v1.3.1