问题
Is there a way to disconnect a Qt signal only temporarily, but store a list of the objects connected to it, so the signal can later be reconnected to them?
回答1:
http://qt-project.org/forums/viewthread/6820
This post discusses ways to keep track of the list of connections to a particular signal which could be used for reconnecting it after disconnect is called.
来源:https://stackoverflow.com/questions/14144415/disconnect-and-later-reconnect-a-qt-signal