Look at QActionGroup. Put all of the QAction instance that you want to be connected into a QActionGroup, and enable or disable the group. Each QAction can still be enabled or disabled independently.