[SOLVED] scope of signals/slots
-
wrote on 26 Mar 2012, 02:32 last edited by
What are the limitations on where a slot can be located in order for a signal to reach it? For example, can an object in an array signal other instances of its own class located in the same array? (I.e., the array cells are pointers to the objects).
-
wrote on 26 Mar 2012, 04:37 last edited by
Sorry, I can not catch up with you.
Can you give a piece of code to explain what your mean? -
wrote on 26 Mar 2012, 05:26 last edited by
[quote author="planarian" date="1332729166"]What are the limitations on where a slot can be located in order for a signal to reach it? For example, can an object in an array signal other instances of its own class located in the same array? (I.e., the array cells are pointers to the objects).[/quote]
There is no limitation. As long as both objects derive from QObject they can establish a connection, irregardless of their storage or thread affinity.
1/3