سؤال

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?

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top