Hello,

I'm facing a problem I can't figure out and google does not help me so much...

Slots/Signals allow to connect multiples signals to multiples slots and that's really useful but this time I want to restrict a slot to have only one signal emitter.

On one side, I have some controls that produce values (ie. potentiometers which deliver a 0-127 value). On other side, I have properties that will be dynamically linked with only one control.

Currently, controls have a signal valueChanged(int) which is dynamically (when user want to) assigned to a dedicated property's slot (setValue(int)). This is working fine except this way I can map two controls to the same property which is absolutely the wanted behavior.

I look at QObject::disconnect() function but this does not allow to disconnect all emitters to a specified object's slot: its only useful if I want to disconnect all receivers of a specified signal.

Do someone how to disconnect all controls connected to my property ?