On Wednesday, 7 de December de 2011 09.12.39, Olivier Goffart wrote: > > * QObject::connect needs to be able to take a QSharedPointer<QObject> > > * QObject::connect needs to be able to take a QWeakPointer<QObject> > > I don't understand this point: you can just pass the pointer.data() to > QObject::connect, and QObject::connect automatically take care of > disconnecting when the object is destroyed.
You can. This is just for convenience.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
