summaryrefslogtreecommitdiffstats
path: root/kcontrol/input/mouse.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-06-01 22:03:55 +0300
committerMavridis Philippe <mavridisf@gmail.com>2024-06-08 14:46:50 +0300
commitfb0f60cc2e2ad4bde5150582395b2c61ff40d5fe (patch)
treecb0ca448d721791567eff5de5ffd460bd3233eea /kcontrol/input/mouse.h
parent1a7d33afb7640a99aa0aff3d0683160e7805f7d0 (diff)
downloadtdebase-fb0f60cc.tar.gz
tdebase-fb0f60cc.zip
Mouse TDECM: add option to swap history navigation buttons
This leverages the existing code that interacts with X11 and sets the setting system-wide, as happens already with scroll direction reversal. This resolves issue #497. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit e6a4b278ed17b0915163a0ad31a1ccabd26b82ee)
Diffstat (limited to 'kcontrol/input/mouse.h')
-rw-r--r--kcontrol/input/mouse.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kcontrol/input/mouse.h b/kcontrol/input/mouse.h
index 7db5fbf91..22d0aa84c 100644
--- a/kcontrol/input/mouse.h
+++ b/kcontrol/input/mouse.h
@@ -83,6 +83,7 @@ public:
bool changeCursor;
int wheelScrollLines;
bool reverseScrollPolarity;
+ bool reverseHistoryButtons;
#ifdef HAVE_LIBUSB
TQPtrList <LogitechMouse> logitechMouseList;
@@ -111,6 +112,7 @@ private slots:
/** No descriptions */
void slotHandedChanged(int val);
void slotScrollPolarityChanged();
+ void slotRevHistButtonsChanged();
void checkAccess();
void slotThreshChanged(int value);
void slotDragStartDistChanged(int value);