Qt 6.11 is out! See what's new in the release
blog
setMapping or multiple QSignalMapper objects?
-
Hi,
Do I need multiple instances of QSignalMapper class if I want to do multiple mappings, or can I just use one QSignalMapper object, such as QSignalMapper* signalMapper = new QSignalMapper(this); and just keep on calling setMapping() on that single object?
Cheers
-
Hi,
As shown in the class documentation you can do several mappings.