If you don't have pointers to all the actions in your menu then you can store them in a QHash<QString,QAction*> or you can use qFindChild() to find an object by name knowing its type and parent.