[SOLVED] QAction "text" parameter constructor location
-
wrote on 6 Sept 2015, 19:15 last edited by Olivier Ronat 9 Jun 2015, 19:38
Where is stored the text parameter of a QAction when built with the constructor QAction(const QString & text, QObject * parent)?
I can't see it in any QAction attributes. -
Lifetime Qt Championwrote on 6 Sept 2015, 19:33 last edited by mrjj 9 Jun 2015, 19:35
Hi
It is stored in the action.You can access it with text() and setText(..)
Its internally stored in QActionPrivate class.
1/2