diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-11-24 18:52:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-11-24 18:52:20 +0900 |
commit | 1bd907fe3d97323c96d7b4a385207dfd8f7a8931 (patch) | |
tree | 56dc6e4fcd0cfd7254add597e9dc2ea9054547b5 /kcontrol/tdm/main.cpp | |
parent | f1baae5fff89ee638864f7d9b82f88b9dfa59796 (diff) | |
download | tdebase-1bd907fe3d97323c96d7b4a385207dfd8f7a8931.tar.gz tdebase-1bd907fe3d97323c96d7b4a385207dfd8f7a8931.zip |
Fixed help handbook sections for System Administration. This relates to bug 1850.
Diffstat (limited to 'kcontrol/tdm/main.cpp')
-rw-r--r-- | kcontrol/tdm/main.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kcontrol/tdm/main.cpp b/kcontrol/tdm/main.cpp index 4a2c8e3ec..2a5f72895 100644 --- a/kcontrol/tdm/main.cpp +++ b/kcontrol/tdm/main.cpp @@ -274,6 +274,25 @@ void TDModule::defaults() } } +TQString TDModule::handbookSection() const +{ + int index = tab->currentPageIndex(); + if (index == 0) + return "tdmconfig-appearance"; + else if (index == 1) + return "tdmconfig-font"; + else if (index == 2) + return "tdmconfig-background"; + else if (index == 3) + return "tdmconfig-shutdown"; + else if (index == 4) + return "tdmconfig-users"; + else if (index == 5) + return "tdmconfig-convenience"; + else + return TQString::null; +} + void TDModule::propagateUsers() { groupmap.clear(); |