From 2cffbbcadc505c1dcdeab6cd16dfa21daf7816ff Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 10 Oct 2014 14:57:12 -0500 Subject: Add handbookSection support to tabbed "Internet & Network" TDEControl modules This relates to Bug 1850 --- wifi/kcmwifi/kcmwifi.cpp | 14 ++++++++++++++ wifi/kcmwifi/kcmwifi.h | 4 +++- 2 files changed, 17 insertions(+), 1 deletion(-) (limited to 'wifi') 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(); -- cgit v1.2.1