set the actionNames of <widget> to <pNameList> get the actionNames of <widget>
The names of the action items
A list of names of the action items