diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-11-19 23:15:02 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-11-19 23:15:02 -0600 |
commit | ac2a2efee3834bba4eb17228b7f405829242cd96 (patch) | |
tree | 955a74225aaf611e454fb6519c5da883cfa9e09d /kcontrol/crypto | |
parent | 0a8ecfb93b699a519ad9af9e548279d50c50093b (diff) | |
parent | 3b73654a279458e28f225b2cce77bee098fe1739 (diff) | |
download | tdebase-ac2a2efee3834bba4eb17228b7f405829242cd96.tar.gz tdebase-ac2a2efee3834bba4eb17228b7f405829242cd96.zip |
Merge branch 'master' of https://scm.trinitydesktop.org/scm/git/tdebase
Diffstat (limited to 'kcontrol/crypto')
-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(); |