PDA

View Full Version : help with QSignalMapper and actions



andreime
9th August 2009, 18:57
Hello again to everybody. I always found help in this forum with every question i used to have regarding Qt so i'm confident about this one.

I researched about QSignalMapper and i know that it can be used to track all the signals to one slot and act accordingly. Now my question is this:

i have a context menu on a tableWidget and if it could be possible to get QSignalMapper to work with actions as well that would fix my problems. Unfortunately i couldn't find anything in that direction. Is this possible to implement, or maybe there is something similar to QSignalMapper that could do the job with actions?
Thank you for the time you gave up to read this post and thank you in advance for any help you might be able to provide.
Have a nice day.

Lykurg
9th August 2009, 19:24
What's exactly your problem? Actions have also signals. Just map them as any other signals.