Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[SOLVED] scope of signals/slots



  • 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).



  • Sorry, I can not catch up with you.
    Can you give a piece of code to explain what your mean?



  • [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.


Log in to reply