[Qt-interest] need help with qobject connect
Thiago Macieira
thiago.macieira at trolltech.com
Wed Aug 5 23:27:04 CEST 2009
Ivan Lyapunov wrote:
>QObject::connect: Cannot queue arguments of type 'aStruct&'
You cannot queue or register non-const references.
It doesn't make sense to send them in a queued signal emission anyway.
Non-const references make sense for the slots to modify something in the
parameter, indicating some value to the signal emitter.
But in a queued connection, the slot may be run after the signal function
returns. So the signal emitter function will not have any value returned.
--
Thiago Macieira - thiago.macieira (AT) nokia.com
Senior Product Manager - Nokia, Qt Software
Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090805/897f93bf/attachment.bin
More information about the Qt-interest-old
mailing list