summaryrefslogtreecommitdiffstats
path: root/kcontrol/tdeio/main.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-11-27 13:30:41 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-11-27 13:30:41 +0900
commit70a56d09e0a50feabd1f0ac53c7d51e1b5d8b828 (patch)
tree5570faada3bad3044921c31a029a031c20722494 /kcontrol/tdeio/main.cpp
parent6c5cd5674f92c55a7102ad7e10bed7c5f72f2e76 (diff)
downloadtdebase-70a56d09e0a50feabd1f0ac53c7d51e1b5d8b828.tar.gz
tdebase-70a56d09e0a50feabd1f0ac53c7d51e1b5d8b828.zip
Fixed incomplete documentation for handbook in Internet & Network -> Local Network Browsing. This relates to bug 1850.
Diffstat (limited to 'kcontrol/tdeio/main.cpp')
-rw-r--r--kcontrol/tdeio/main.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kcontrol/tdeio/main.cpp b/kcontrol/tdeio/main.cpp
index 7fb9b4394..c0770af9e 100644
--- a/kcontrol/tdeio/main.cpp
+++ b/kcontrol/tdeio/main.cpp
@@ -165,26 +165,26 @@ void LanBrowser::save()
emit changed(false);
}
-TQString LanBrowser::handbookSection() const
+TQString LanBrowser::handbookDocPath() const
{
int index = tabs.currentPageIndex();
- if (index == smbPageTabNumber) {
- //return "windows-shares";
+ if (index == smbPageTabNumber)
+ return TQString::null;
+ else if (index == lisaPageTabNumber)
+ return "kcontrol/lanbrowser/index.html";
+ else if (index == tdeioLanPageTabNumber)
+ return "kcontrol/lanbrowser/index.html";
+ else
return TQString::null;
- }
- else if (index == lisaPageTabNumber) {
- // FIXME
- // Documentation does not yet exist!
- return "";
- }
- else if (index == tdeioLanPageTabNumber) {
- // FIXME
- // Documentation does not yet exist!
- return "";
- }
- else {
+}
+
+TQString LanBrowser::handbookSection() const
+{
+ int index = tabs.currentPageIndex();
+ if (index == smbPageTabNumber)
+ return "windows-shares";
+ else
return TQString::null;
- }
}
#include "main.moc"