QAction has a data field you may use to transfer some data through the action call