diff options
Diffstat (limited to 'kcontrol/konqhtml')
-rw-r--r-- | kcontrol/konqhtml/main.cpp | 14 | ||||
-rw-r--r-- | kcontrol/konqhtml/main.h | 2 | ||||
-rw-r--r-- | kcontrol/konqhtml/tdehtml_java_js.desktop | 2 |
3 files changed, 16 insertions, 2 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; + } +} diff --git a/kcontrol/konqhtml/main.h b/kcontrol/konqhtml/main.h index 2be4963fb..69a324be8 100644 --- a/kcontrol/konqhtml/main.h +++ b/kcontrol/konqhtml/main.h @@ -47,6 +47,8 @@ public: void defaults(); TQString quickHelp() const; + virtual TQString handbookSection() const; + private: TQTabWidget *tab; diff --git a/kcontrol/konqhtml/tdehtml_java_js.desktop b/kcontrol/konqhtml/tdehtml_java_js.desktop index 409f7f313..65d4910c2 100644 --- a/kcontrol/konqhtml/tdehtml_java_js.desktop +++ b/kcontrol/konqhtml/tdehtml_java_js.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Type=Application -DocPath=kcontrol/tdehtml/index.html#kbrowse-java +DocPath=kcontrol/tdehtml/index.html Icon=konqueror Exec=tdecmshell tdehtml_java_js |