diff options
Diffstat (limited to 'kcontrol')
-rw-r--r-- | kcontrol/crypto/crypto.cpp | 19 | ||||
-rw-r--r-- | kcontrol/crypto/crypto.h | 1 |
2 files changed, 20 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 ); 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(); |