[proposal] KSecretsService components moving from playground

Thiago Macieira thiago at kde.org
Mon Oct 31 15:06:51 GMT 2011


On Monday, 31 de October de 2011 15:48:51 Aaron J. Seigo wrote:
> n 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:

The registration is not the problem. The declaration is: you must use the 
entire name there.

Also use the full name in all signals and slots carrying the type.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20111031/887710ab/attachment.sig>


More information about the kde-core-devel mailing list