diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-11-15 23:54:52 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-11-15 23:54:52 +0900 |
commit | 0a2adc65fa82ffdf5cfa3f7e669614b5474da42b (patch) | |
tree | 7f78f1af970b2bd75f1397b80e91c45f0a11d6b3 | |
parent | 428b3937fddf09d79cb00450ef8d029ac19370a3 (diff) | |
download | tdebase-0a2adc65fa82ffdf5cfa3f7e669614b5474da42b.tar.gz tdebase-0a2adc65fa82ffdf5cfa3f7e669614b5474da42b.zip |
Fixed help handbook sections for Security & Privary -> Crypto. This relates to bug 1850.
-rw-r--r-- | doc/kcontrol/crypto/index.docbook | 4 | ||||
-rw-r--r-- | kcontrol/crypto/crypto.cpp | 19 | ||||
-rw-r--r-- | kcontrol/crypto/crypto.h | 1 |
3 files changed, 24 insertions, 0 deletions
diff --git a/doc/kcontrol/crypto/index.docbook b/doc/kcontrol/crypto/index.docbook index 5063a723f..a2dc83e58 100644 --- a/doc/kcontrol/crypto/index.docbook +++ b/doc/kcontrol/crypto/index.docbook @@ -197,7 +197,11 @@ You can easily manage them from here.</para> <para>The list box shows which site and personal certificates &tde; knows about. You can easily manage them from here.</para> +</sect2> +<sect2 id="ssl-signers"> +<title>The <guilabel>SSL Signers</guilabel> Tab</title> +<para>We apologize. This section has not been written yet.</para> </sect2> </sect1> 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 ); diff --git a/kcontrol/crypto/crypto.h b/kcontrol/crypto/crypto.h index c94d1f24d..8a353ae04 100644 --- a/kcontrol/crypto/crypto.h +++ b/kcontrol/crypto/crypto.h @@ -226,6 +226,7 @@ public: void load( bool useDefaults ); void save(); void defaults(); + virtual TQString handbookSection() const; #ifdef HAVE_SSL bool loadCiphers(); |