summaryrefslogtreecommitdiffstats
path: root/kcontrol/konq/browser.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2014-11-27 11:57:00 +0900
committerMichele Calgaro <[email protected]>2014-11-27 11:57:00 +0900
commit48fe5507cdaa620625441c7e1f70eb98b7ca78e5 (patch)
tree19f74df23d81ec7dd56166b0666c742abc659c5b /kcontrol/konq/browser.cpp
parent1bd907fe3d97323c96d7b4a385207dfd8f7a8931 (diff)
downloadtdebase-48fe5507cdaa620625441c7e1f70eb98b7ca78e5.tar.gz
tdebase-48fe5507cdaa620625441c7e1f70eb98b7ca78e5.zip
Fixed help handbook sections for TDE Components. This relates to bug 1850.
Diffstat (limited to 'kcontrol/konq/browser.cpp')
-rw-r--r--kcontrol/konq/browser.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/kcontrol/konq/browser.cpp b/kcontrol/konq/browser.cpp
index dc6c20b73..49587f2dc 100644
--- a/kcontrol/konq/browser.cpp
+++ b/kcontrol/konq/browser.cpp
@@ -95,6 +95,28 @@ void KBrowserOptions::save()
kuick->save();
}
+TQString KBrowserOptions::handbookDocPath() const
+{
+ int index = m_tab->currentPageIndex();
+ if (kuick && index == 3)
+ return "konq-plugins/kuick/index.html";
+ else
+ return TQString::null;
+}
+
+TQString KBrowserOptions::handbookSection() const
+{
+ int index = m_tab->currentPageIndex();
+ if (index == 0)
+ return "fileman-appearance";
+ else if (index == 1)
+ return "fileman-behav";
+ else if (index == 2)
+ return "fileman-previews";
+ else
+ return TQString::null;
+}
+
TQString KBrowserOptions::quickHelp() const
{
TQWidget *w = m_tab->currentPage();