func (ptr *QMacToolBarItem) SetIcon(icon gui.QIcon_ITF) { defer qt.Recovering("QMacToolBarItem::setIcon") if ptr.Pointer() != nil { C.QMacToolBarItem_SetIcon(ptr.Pointer(), gui.PointerFromQIcon(icon)) } }
func (ptr *QMacToolBarItem) SetIcon(icon gui.QIcon_ITF) { if ptr.Pointer() != nil { C.QMacToolBarItem_SetIcon(ptr.Pointer(), gui.PointerFromQIcon(icon)) } }