summaryrefslogtreecommitdiffstats
path: root/kcontrol/crypto/crypto.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-11-15 23:54:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-11-15 23:54:52 +0900
commit0a2adc65fa82ffdf5cfa3f7e669614b5474da42b (patch)
tree7f78f1af970b2bd75f1397b80e91c45f0a11d6b3 /kcontrol/crypto/crypto.cpp
parent428b3937fddf09d79cb00450ef8d029ac19370a3 (diff)
downloadtdebase-0a2adc65fa82ffdf5cfa3f7e669614b5474da42b.tar.gz
tdebase-0a2adc65fa82ffdf5cfa3f7e669614b5474da42b.zip
Fixed help handbook sections for Security & Privary -> Crypto. This relates to bug 1850.
Diffstat (limited to 'kcontrol/crypto/crypto.cpp')
-rw-r--r--kcontrol/crypto/crypto.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/kcontrol/crypto/crypto.cpp b/kcontrol/crypto/crypto.cpp
index 70344e16a..329c04a31 100644
--- a/kcontrol/crypto/crypto.cpp
+++ b/kcontrol/crypto/crypto.cpp
@@ -1234,6 +1234,25 @@ void KCryptoConfig::save()
emit changed(false);
}
+TQString KCryptoConfig::handbookSection() const
+{
+ int index = tabs->currentPageIndex();
+ if (index == 0)
+ return "ssl_tab";
+ else if (index == 1)
+ return "openssl";
+ else if (index == 2)
+ return "your-certificates";
+ else if (index == 3)
+ return "authentication";
+ else if (index == 4)
+ return "peer-ssl-certificates";
+ else if (index == 5)
+ return "ssl-signers";
+ else
+ return TQString::null;
+}
+
void KCryptoConfig::defaults()
{
load( true );