summaryrefslogtreecommitdiffstats
path: root/kcontrol
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol')
-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: