diff options
author | Michele Calgaro <[email protected]> | 2014-11-27 11:57:00 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2014-11-27 11:57:00 +0900 |
commit | 48fe5507cdaa620625441c7e1f70eb98b7ca78e5 (patch) | |
tree | 19f74df23d81ec7dd56166b0666c742abc659c5b /kcontrol/konq/browser.cpp | |
parent | 1bd907fe3d97323c96d7b4a385207dfd8f7a8931 (diff) | |
download | tdebase-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.cpp | 22 |
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(); |