Qt 6.11 is out! See what's new in the release
blog
QSignalMapper and params
General and Desktop
3
Posts
2
Posters
1.8k
Views
1
Watching
-
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.