[Qt-interest] Which Action?

Szalata, Zenon M. zms at slac.stanford.edu
Mon Sep 26 23:34:31 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?

Thanks in advance,
Zen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110926/aebcb61a/attachment.html 


More information about the Qt-interest-old mailing list