Maybe you could just simply store the item as a member variable? Or use QAction::setData() for storing a pointer to the item. It's totally up to you how do you want to implement it. It might also depend on which slots and where do the actions trigger..
Bookmarks