70a56d09 | 2014-11-26 22:30:41 | Michele Calgaro |
Fixed incomplete documentation for handbook in Internet & Network -> Local Network Browsing. This relates to bug 1850. |
||
M kcontrol/tdeio/main.cpp M kcontrol/tdeio/main.h |
||
diff --git a/kcontrol/tdeio/main.cpp b/kcontrol/tdeio/main.cpp index 7fb9b43..c0770af 100644 --- a/kcontrol/tdeio/main.cpp +++ b/kcontrol/tdeio/main.cpp @@ -165,26 +165,26 @@ emit changed(false); } +TQString LanBrowser::handbookDocPath() const +{ + int index = tabs.currentPageIndex(); + 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; +} + TQString LanBrowser::handbookSection() const { int index = tabs.currentPageIndex(); - if (index == smbPageTabNumber) { - //return "windows-shares"; + if (index == smbPageTabNumber) + return "windows-shares"; + 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 { - return TQString::null; - } } #include "main.moc" diff --git a/kcontrol/tdeio/main.h b/kcontrol/tdeio/main.h index 3f1fb4d..2fed351 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 @@ virtual void load(); virtual void save(); + virtual TQString handbookDocPath() const; virtual TQString handbookSection() const; private: |