QSignalMapper and params
-
Hello, i would like to know if it is possible to give an address to the void QSignalMapper::setMapping ( QObject * sender, int id ) method instead of the id. Because i would like to transmit the address of a structure of several params.
-
Not directly. One way is to pass int's into the argument that you then use to look up your addresses in a separate QMap/QHash in your class.
-
Ok thanks, i will try.