summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/kcm_sambaconf
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-10 14:57:12 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-10 14:57:12 -0500
commit2cffbbcadc505c1dcdeab6cd16dfa21daf7816ff (patch)
treeb35f0616271a50f425343acbd02962dc9272db73 /filesharing/advanced/kcm_sambaconf
parentfa1a997a1fb5dd3be69fc2e31c098247d512465a (diff)
downloadtdenetwork-2cffbbcadc505c1dcdeab6cd16dfa21daf7816ff.tar.gz
tdenetwork-2cffbbcadc505c1dcdeab6cd16dfa21daf7816ff.zip
Add handbookSection support to tabbed "Internet & Network" TDEControl modules
This relates to Bug 1850
Diffstat (limited to 'filesharing/advanced/kcm_sambaconf')
-rw-r--r--filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp14
-rw-r--r--filesharing/advanced/kcm_sambaconf/kcmsambaconf.h4
2 files changed, 17 insertions, 1 deletions
diff --git a/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp b/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp
index 6af9fb71..2b490c9e 100644
--- a/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp
+++ b/filesharing/advanced/kcm_sambaconf/kcmsambaconf.cpp
@@ -1428,6 +1428,20 @@ TQString KcmSambaConf::quickHelp() const
return i18n("<h1>Samba Configuration</h1> here you can configure your SAMBA server.");
}
+TQString KcmSambaConf::handbookSection() const
+{
+ // FIXME
+ // No context-sensitive help documentation currently exists for this module!
+ int index = _interface->mainTab->currentPageIndex();
+ if (index == 0) {
+ //return "";
+ return TQString::null;
+ }
+ else {
+ return TQString::null;
+ }
+}
+
// ------------------------------------------------------------------------
extern "C"
diff --git a/filesharing/advanced/kcm_sambaconf/kcmsambaconf.h b/filesharing/advanced/kcm_sambaconf/kcmsambaconf.h
index c5f25e94..e55917f3 100644
--- a/filesharing/advanced/kcm_sambaconf/kcmsambaconf.h
+++ b/filesharing/advanced/kcm_sambaconf/kcmsambaconf.h
@@ -4,7 +4,7 @@
begin : Mon Apr 8 13:35:56 CEST 2002
copyright : (C) 2002 by Christian Nitschkowski
email : segfault_ii@web.de
- copyright : (C) 2002-2003 by Jan Schäfer
+ copyright : (C) 2002-2003 by Jan Sch�fer
email : janschaefer@users.sourceforge.net
***************************************************************************/
@@ -80,6 +80,8 @@ class KcmSambaConf: public TDECModule
int buttons();
TQString quickHelp() const;
+ virtual TQString handbookSection() const;
+
public slots:
void configChanged();