PDA

View Full Version : ? about QSignalMapper



JimDaniel
13th January 2008, 21:14
Is it able to pass on arguments already being sent by the signal? I want to pass on a unique ID through a signal mapper, but my signal is sending other data as well. How does this work? The Qt Assistant example only shows a clicked() with no other parameters.

jacek
13th January 2008, 21:21
Is it able to pass on arguments already being sent by the signal?
No, QSignalMapper can only change signals from multiple sources to signals with single parameter coming from a single source. But there's no magic inside, you should be able to craft your own custom signal mapper.