Is there a way to determine if a QPushButton already has an icon, there seems to be no getIcon method.

Also how do you code that?