┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontroller.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-04-12 16:12:57 +0000
committerPeter Penz <[email protected]>2008-04-12 16:12:57 +0000
commit030a5d5433e0ae613f4de32d9d1277ac2405b8f4 (patch)
tree104b4d0aabbe2f86bb90870dbc9560272c176e13 /src/dolphincontroller.h
parent3b06c2120dad8efc79471a82b81c08f2d5834062 (diff)
when clicking with the middle mouse button on a directory, a new tab should be opened
svn path=/trunk/KDE/kdebase/apps/; revision=796116
Diffstat (limited to 'src/dolphincontroller.h')
-rw-r--r--src/dolphincontroller.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h
index 9703e5f1b..191bd1e63 100644
--- a/src/dolphincontroller.h
+++ b/src/dolphincontroller.h
@@ -325,6 +325,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().
* The abstract Dolphin view connects to this signal.
@@ -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;