summaryrefslogtreecommitdiffstats
path: root/wifi
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 /wifi
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 'wifi')
-rw-r--r--wifi/kcmwifi/kcmwifi.cpp14
-rw-r--r--wifi/kcmwifi/kcmwifi.h4
2 files changed, 17 insertions, 1 deletions
diff --git a/wifi/kcmwifi/kcmwifi.cpp b/wifi/kcmwifi/kcmwifi.cpp
index f26a2774..e35dae27 100644
--- a/wifi/kcmwifi/kcmwifi.cpp
+++ b/wifi/kcmwifi/kcmwifi.cpp
@@ -370,6 +370,20 @@ if (!failedParts.empty()) KMessageBox::informationList(0,i18n("The following set
}
+TQString KCMWifi::handbookSection() const
+{
+ // FIXME
+ // No context-sensitive help documentation currently exists for this module!
+ int index = tabs->currentPageIndex();
+ if (index == 0) {
+ //return "";
+ return TQString::null;
+ }
+ else {
+ return TQString::null;
+ }
+}
+
extern "C"
{
void init_wifi()
diff --git a/wifi/kcmwifi/kcmwifi.h b/wifi/kcmwifi/kcmwifi.h
index 88c2e60d..c4f08f3a 100644
--- a/wifi/kcmwifi/kcmwifi.h
+++ b/wifi/kcmwifi/kcmwifi.h
@@ -47,7 +47,9 @@ public:
IfConfigPage* addConfigTab( int count, bool vendor );
void delConfigTab( int count );
- static const int vendorBase = 10;
+ static const int vendorBase = 10;
+
+ virtual TQString handbookSection() const;
protected slots:
void slotActivate();