summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2014-11-27 13:30:41 +0900
committerMichele Calgaro <[email protected]>2014-11-27 13:30:41 +0900
commit70a56d09e0a50feabd1f0ac53c7d51e1b5d8b828 (patch)
tree5570faada3bad3044921c31a029a031c20722494
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.
-rw-r--r--kcontrol/tdeio/main.cpp32
-rw-r--r--kcontrol/tdeio/main.h3
2 files changed, 18 insertions, 17 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"
diff --git a/kcontrol/tdeio/main.h b/kcontrol/tdeio/main.h
index 3f1fb4d47..2fed35123 100644
--- a/kcontrol/tdeio/main.h
+++ b/kcontrol/tdeio/main.h
@@ -26,7 +26,7 @@
class TQTabWidget;
-class LanBrowser:public TDECModule
+class LanBrowser : public TDECModule
{
Q_OBJECT
public:
@@ -34,6 +34,7 @@ class LanBrowser:public TDECModule
virtual void load();
virtual void save();
+ virtual TQString handbookDocPath() const;
virtual TQString handbookSection() const;
private: