Thiago Macieira thiago at kde.org
Thu Jan 14 12:31:35 GMT 2010

Em Quinta-feira 14 Janeiro 2010, às 10:48:24, Sebastian Trueg escreveu:
> Thanks for these updates.
> You say that is a fault to define qHash(QUrl). So one should never do
> that an instead use a subclass as KDE does?

Yes. Or force us to provide the qHash for the Qt type in Qt. One could argue 
that all Qt value-type classes should be hashable.

The problem is that Qt wants to have this function now. And you can't have it 
twice, so the one in Soprano has to go away.

So, don't ever define a qHash for Qt type in a public header and avoid them 
anywhere else.

Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      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/20100114/603c96d6/attachment.sig>

More information about the kde-core-devel mailing list