Pergunta

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?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top