[Qt-interest] Which Action?
MARTIN Pierre
hickscorp at gmail.com
Mon Sep 26 23:56:34 CEST 2011
> I am dynamically creating actions which are used in a menu. This is done in a main window.
> In the main window I have implemented a function, void actionTriggered(), which is connected to the triggered(bool) signal for each of the dynamically created actions.
> In the actionTriggered() function I need to know which action triggered the call. Is there a way to get that information in the actionTriggered() function?
Why not using QSignalMapper?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110926/60a18201/attachment.html
More information about the Qt-interest-old
mailing list