diff options
| author | Peter Penz <[email protected]> | 2008-11-23 12:28:10 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-11-23 12:28:10 +0000 |
| commit | dcbf1a11783d47e7e4fa30d488ac93a8bc547e71 (patch) | |
| tree | d993a7b29885dec9e6550ba0b9b5ce95eadaa3ed /src/dolphincontroller.h | |
| parent | d5c0a60505fd5f20a4069d8fe3bcf4ae0b0b3594 (diff) | |
Opening a tab with the middle mouse button should always be done with one click, even if double click has been activated.
BUG: 162986
svn path=/trunk/KDE/kdebase/apps/; revision=888007
Diffstat (limited to 'src/dolphincontroller.h')
| -rw-r--r-- | src/dolphincontroller.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h index 13a840a38..77e965afe 100644 --- a/src/dolphincontroller.h +++ b/src/dolphincontroller.h @@ -60,6 +60,7 @@ class QWidget; * - indicateSortingChange() * - indicateSortOrderChanged() * - triggerItem() + * - openTab() * - handleKeyPressEvent() * - emitItemEntered() * - emitViewportEntered() @@ -217,10 +218,19 @@ public: public slots: /** * Emits the signal itemTriggered() if the file item for the index \a index - * is not null. The method should be invoked by the - * controller parent whenever the user has triggered an item. + * is not null and the left mouse button has been pressed. If the item is + * null, the signal itemEntered() is emitted. + * The method should be invoked by the controller parent whenever the + * user has triggered an item. */ void triggerItem(const QModelIndex& index); + + /** + * Emits the signal tabRequested(), if the file item for the index \a index + * represents a directory and when the middle mouse button has been pressed. + * The method should be invoked by the controller parent. + */ + void requestTab(const QModelIndex& index); /** * Emits the signal itemEntered() if the file item for the index \a index |
