You could try

1) call actions() to retrieve a list of the actions "behind" the buttons
2) call clear()
2) modify the list
3) call addActions() with the modified list

Cheers,
_