I don't quite understand.
QIcon::pixmap() can generate a new state dependent variant of the pixmap, based on the state.
It will be the same image, but grayed out.
If you want a totally different image, then you will have to supply it of course!