Using KSSLSettings from KHTML
David Edmundson
david at davidedmundson.co.uk
Tue Oct 29 14:22:18 UTC 2013
Currently KHTMLPart uses KSSLSettings from KIOCore
It uses the methods:
warnOnUnencrypted
setWarnOnUnencrypted
This class does not have the header exported in KIOCore, so whilst it
builds now it will fail when we split.
The CMakeLists.txt file of KIOCore has a comment
kssl/ksslsettings.cpp # temporary (used by tcpslavebase)
which implies there's a plan to remove it?
I assume it's being replaced by qsslconfiguration, but this doesn't
cover this particular function.
How should I proceed?
My options are:
- install ksslsettings.h in kiocore
- move this method into a different SSL part of KIOCore that is
exposed such as ksslcertmanager.
- replace the code in khtml with kconfig, load the same file and
read/set the value
- just delete the bit of code in khtmlpart. It can't be a big feature
in a kpart that isn't very used anyway.
- something else
David
More information about the Kde-frameworks-devel
mailing list