KAutoPointer: a new autoptr class for QPointer

Michael Leupold lemma at confuego.org
Thu Jul 9 20:30:49 BST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thiago Macieira wrote:

> Stefan Majewsky wrote:
>>Am Mittwoch 08 Juli 2009 19:19:43 schrieb David Jarvie:
>>> Ideally this class would be provided by Qt, but in the meantime it
>>> seems useful to provide it in kdelibs.
>>
>>Ideally you should request to merge this class into Qt. If this class is
>>included in kdelibs, "the meantime" would be at least until KDE 5.
> 
> Agreed. Especially when we are adding stuff like that. See
> http://qt.gitorious.org/+qt-s60-developers/qt/qt-
> s60/blobs/master/src/corelib/tools/qscopedpointer.h

Approximately when will Qt 4.6 be released? I understand that having this 
upstream would be better but this really makes fixing some issues (eg. 
dialog on stack) a lot easier as creating memory-leaks is a lot harder than 
when using QPointer.

Regards,
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFKVkVrlfpzINIAlVsRAjKEAJ0Rbt85/LS/pydfd8Uxe6OzMcyklQCfeaaX
2/7qGLCtWNFc1+Ssi8VD0e0=
=Z64X
-----END PGP SIGNATURE-----






More information about the kde-core-devel mailing list