From 030a5d5433e0ae613f4de32d9d1277ac2405b8f4 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 12 Apr 2008 16:12:57 +0000 Subject: when clicking with the middle mouse button on a directory, a new tab should be opened svn path=/trunk/KDE/kdebase/apps/; revision=796116 --- src/dolphincontroller.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/dolphincontroller.h') diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h index 9703e5f1b..191bd1e63 100644 --- a/src/dolphincontroller.h +++ b/src/dolphincontroller.h @@ -324,6 +324,11 @@ signals: */ void itemEntered(const KFileItem& item); + /** + * Is emitted if a new tab should be opened for the URL \a url. + */ + void tabRequested(const KUrl& url); + /** * Is emitted if the mouse cursor has entered * the viewport (see emitViewportEntered(). @@ -343,9 +348,13 @@ signals: */ void zoomOut(); +private slots: + void updateOpenTabState(); + private: bool m_zoomInPossible; bool m_zoomOutPossible; + bool m_openTab; // TODO: this is a workaround until Qt-issue 176832 has been fixed KUrl m_url; DolphinView* m_dolphinView; QAbstractItemView* m_itemView; -- cgit v1.3