diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-10 14:57:12 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-10 14:57:12 -0500 |
commit | 2cffbbcadc505c1dcdeab6cd16dfa21daf7816ff (patch) | |
tree | b35f0616271a50f425343acbd02962dc9272db73 /krfb/kcm_krfb/kcm_krfb.cpp | |
parent | fa1a997a1fb5dd3be69fc2e31c098247d512465a (diff) | |
download | tdenetwork-2cffbbcadc505c1dcdeab6cd16dfa21daf7816ff.tar.gz tdenetwork-2cffbbcadc505c1dcdeab6cd16dfa21daf7816ff.zip |
Add handbookSection support to tabbed "Internet & Network" TDEControl modules
This relates to Bug 1850
Diffstat (limited to 'krfb/kcm_krfb/kcm_krfb.cpp')
-rw-r--r-- | krfb/kcm_krfb/kcm_krfb.cpp | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/krfb/kcm_krfb/kcm_krfb.cpp b/krfb/kcm_krfb/kcm_krfb.cpp index 6d6861ab..0c51ea4a 100644 --- a/krfb/kcm_krfb/kcm_krfb.cpp +++ b/krfb/kcm_krfb/kcm_krfb.cpp @@ -25,6 +25,7 @@ #include <tqradiobutton.h> #include <tqlineedit.h> #include <tqbuttongroup.h> +#include <tqtabwidget.h> #include <tqcstring.h> #include <tqdatastream.h> #include <tdeapplication.h> @@ -177,4 +178,20 @@ TQString KcmKRfb::quickHelp() const " the TDE desktop sharing."); } - +TQString KcmKRfb::handbookSection() const +{ + int index = m_confWidget->TabWidget2->currentPageIndex(); + if (index == 0) { + //return "rfb-access"; + return TQString::null; + } + else if (index == 1) { + return "rfb-session"; + } + else if (index == 2) { + return "rfb-network"; + } + else { + return TQString::null; + } +} |