[SOLVED] QAction "text" parameter constructor location



  • 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.


  • Qt Champions 2016

    Hi
    It is stored in the action.

    You can access it with text() and setText(..)

    Its internally stored in QActionPrivate class.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.