summaryrefslogtreecommitdiffstats
path: root/kcontrol/tdeio/kproxydlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-10 14:55:30 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-10 14:55:30 -0500
commit0014712b085cecda712bbbdd31e618a1ada2a4e3 (patch)
treefab9eeb029508face395fb9fa962365527b57277 /kcontrol/tdeio/kproxydlg.cpp
parentcc12a51c629cfaec41a6170a480ea0a757b26f54 (diff)
downloadtdebase-0014712b085cecda712bbbdd31e618a1ada2a4e3.tar.gz
tdebase-0014712b085cecda712bbbdd31e618a1ada2a4e3.zip
Add handbookSection support to tabbed "Internet & Network" TDEControl modules
This relates to Bug 1850
Diffstat (limited to 'kcontrol/tdeio/kproxydlg.cpp')
-rw-r--r--kcontrol/tdeio/kproxydlg.cpp17
1 files changed, 16 insertions, 1 deletions
diff --git a/kcontrol/tdeio/kproxydlg.cpp b/kcontrol/tdeio/kproxydlg.cpp
index 7bd082eda..9253916d7 100644
--- a/kcontrol/tdeio/kproxydlg.cpp
+++ b/kcontrol/tdeio/kproxydlg.cpp
@@ -44,7 +44,7 @@ KProxyOptions::KProxyOptions (TQWidget* parent )
:TDECModule (parent, "kcmtdeio")
{
TQVBoxLayout *layout = new TQVBoxLayout(this);
-
+
mTab = new TQTabWidget(this);
layout->addWidget(mTab);
@@ -94,6 +94,21 @@ TQString KProxyOptions::quickHelp() const
return TQString::null;
}
+TQString KProxyOptions::handbookSection() const
+{
+ int index = mTab->currentPageIndex();
+ if (index == 0) {
+ //return "proxies-intro";
+ return TQString::null;
+ }
+ else if (index == 1) {
+ return "socks";
+ }
+ else {
+ return TQString::null;
+ }
+}
+
KProxyDialog::KProxyDialog( TQWidget* parent)
:TDECModule( parent, "kcmtdeio" )