summaryrefslogtreecommitdiffstats
path: root/kcontrol/input
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/input')
-rw-r--r--kcontrol/input/mouse.cpp24
-rw-r--r--kcontrol/input/mouse.h2
2 files changed, 26 insertions, 0 deletions
diff --git a/kcontrol/input/mouse.cpp b/kcontrol/input/mouse.cpp
index 4ec79c24c..0d07e782e 100644
--- a/kcontrol/input/mouse.cpp
+++ b/kcontrol/input/mouse.cpp
@@ -890,4 +890,28 @@ void MouseConfig::slotScrollPolarityChanged()
settings->m_handedNeedsApply = true;
}
+TQString MouseConfig::handbookSection() const
+{
+ int index = tabwidget->currentPageIndex();
+ if (index == 0) {
+ //return "mouse-general";
+ return TQString::null;
+ }
+ else if (index == 1) {
+ return "cursor-theme";
+ }
+ else if (index == 2) {
+ return "mouse-advanced";
+ }
+ else if (index == 3) {
+ return "mouse-navigation";
+ }
+ else if (index >= 4) {
+ return "logitech-mouse";
+ }
+ else {
+ return TQString::null;
+ }
+}
+
#include "mouse.moc"
diff --git a/kcontrol/input/mouse.h b/kcontrol/input/mouse.h
index 487ceb2db..6d035b8d1 100644
--- a/kcontrol/input/mouse.h
+++ b/kcontrol/input/mouse.h
@@ -102,6 +102,8 @@ public:
void load( bool useDefaults );
void defaults();
+ virtual TQString handbookSection() const;
+
private slots:
void slotClick();