[proposal] KSecretsService components moving from playground

Aaron J. Seigo aseigo at kde.org
Mon Oct 31 14:48:51 GMT 2011


it's hallloween .. let's reanimate a dead thread to celebrate! ;)

On Wednesday, October 12, 2011 00:24:00 Valentin Rusu wrote:
> The code is not yet fully mature, all the components are not yet
> finished, but the main parts are there and it is now possible to have
> secrets stored in KSecretsService and konqi or microblog successfully
> getting them upon session start. There is a checkbox in the KDE Wallet
> configuration tool that switch KWAllet API to KSecretsService when
> checked. It will be left unchecked for the next release.

in KSecretsService, metatypes are initialized like this:

	qRegisterMetaType<SecretStruct>();

this is a problem because it does not include the namespace. which afaik means 
that code that wishes to use this needs to first do:

	using namespace KSecretsService;

somewhere in the code before using these metatypes. this is not good as it 
pretty much destroys the point of having a namespace :)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20111031/054bb199/attachment.sig>


More information about the kde-core-devel mailing list