summaryrefslogtreecommitdiffstats
path: root/kcontrol/konqhtml/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-10 14:55:30 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-10 14:55:30 -0500
commit0014712b085cecda712bbbdd31e618a1ada2a4e3 (patch)
treefab9eeb029508face395fb9fa962365527b57277 /kcontrol/konqhtml/main.cpp
parentcc12a51c629cfaec41a6170a480ea0a757b26f54 (diff)
downloadtdebase-0014712b085cecda712bbbdd31e618a1ada2a4e3.tar.gz
tdebase-0014712b085cecda712bbbdd31e618a1ada2a4e3.zip
Add handbookSection support to tabbed "Internet & Network" TDEControl modules
This relates to Bug 1850
Diffstat (limited to 'kcontrol/konqhtml/main.cpp')
-rw-r--r--kcontrol/konqhtml/main.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/kcontrol/konqhtml/main.cpp b/kcontrol/konqhtml/main.cpp
index 2f71a7bc5..a752a3a88 100644
--- a/kcontrol/konqhtml/main.cpp
+++ b/kcontrol/konqhtml/main.cpp
@@ -175,4 +175,16 @@ TQString KJSParts::quickHelp() const
"JavaScript programs." );
}
-
+TQString KJSParts::handbookSection() const
+{
+ int index = tab->currentPageIndex();
+ if (index == 0) {
+ return "kbrowse-java";
+ }
+ else if (index == 1) {
+ return "kbrowse-javascript";
+ }
+ else {
+ return TQString::null;
+ }
+}