summaryrefslogtreecommitdiffstats
path: root/kcontrol/konq/desktopbehavior_impl.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-03 23:13:17 -0500
committerTimothy Pearson <[email protected]>2014-10-03 23:13:17 -0500
commit88a2e255141f97ac65c65fd89b5ef9a30b9138c4 (patch)
tree15dbaac8e5aaf4f3effed2d01ae9c82aa5f08236 /kcontrol/konq/desktopbehavior_impl.cpp
parent34cc40d9fb8f21485a467c2cfaba6fd0b063719f (diff)
downloadtdebase-88a2e255141f97ac65c65fd89b5ef9a30b9138c4.tar.gz
tdebase-88a2e255141f97ac65c65fd89b5ef9a30b9138c4.zip
Add mechanism by which sections of relevant docbooks may be opened automatically based on active tab in TDECModule
Fix up several tabbed TDEControl modules to use this mechanism Fix a couple of docbooks with missing section IDs This relates to Bug 1850
Diffstat (limited to 'kcontrol/konq/desktopbehavior_impl.cpp')
-rw-r--r--kcontrol/konq/desktopbehavior_impl.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/kcontrol/konq/desktopbehavior_impl.cpp b/kcontrol/konq/desktopbehavior_impl.cpp
index 68bbb160c..17fc2f364 100644
--- a/kcontrol/konq/desktopbehavior_impl.cpp
+++ b/kcontrol/konq/desktopbehavior_impl.cpp
@@ -485,4 +485,22 @@ TQString DesktopBehavior::quickHelp() const
"Use the \"What's This?\" (Shift+F1) to get help on specific options.");
}
+TQString DesktopBehavior::handbookSection() const
+{
+ int index = behaviorTab->currentPageIndex();
+ if (index == 0) {
+ //return "desktop-desktop";
+ return TQString::null;
+ }
+ else if (index == 1) {
+ return "desktop-behavior-file-icons";
+ }
+ else if (index == 2) {
+ return "desktop-behavior-device-icons";
+ }
+ else {
+ return TQString::null;
+ }
+}
+
#include "desktopbehavior_impl.moc"