From 6a0898178cca75c5808620d8bc1ea932a406f5fe Mon Sep 17 00:00:00 2001 From: Shaun Reich Date: Thu, 29 Jan 2009 23:44:20 +0000 Subject: 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 --- src/dolphinmainwindow.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/dolphinmainwindow.h') 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. -- cgit v1.3