diff options
| author | Shaun Reich <[email protected]> | 2009-01-29 23:44:20 +0000 |
|---|---|---|
| committer | Shaun Reich <[email protected]> | 2009-01-29 23:44:20 +0000 |
| commit | 6a0898178cca75c5808620d8bc1ea932a406f5fe (patch) | |
| tree | 31f0168b0e3b25e48b359a19cc3a47e1d086658d /src/dolphinmainwindow.h | |
| parent | 444310cff059e029b8271004417a5f818013e8c2 (diff) | |
The mouse wheel now works on Dolphin's tabs (to switch tabs), like just about every other KDE app.
svn path=/trunk/KDE/kdebase/apps/; revision=918498
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index d65a7acff..f9eb5cced 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -282,6 +282,13 @@ private slots: */ void slotSelectionChanged(const KFileItemList& selection); + /** + * Wheel event, receives it's degree of movement (int). + * we look to see if it's negative (backwards) or positive (forwards). + * Enables changing of tabs via mouse wheel. + */ + void slotWheelMoved(int wheeldelta); + /** Emits the signal requestItemInfo(). */ void slotRequestItemInfo(const KFileItem&); @@ -342,6 +349,7 @@ private slots: */ void closeTab(int index); + /** * Opens a context menu for the tab with the index \a index * on the position \a pos. |
