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 *QMacToolBar) AddItem(icon gui.QIcon_ITF, text string) *QMacToolBarItem { defer qt.Recovering("QMacToolBar::addItem") if ptr.Pointer() != nil { return NewQMacToolBarItemFromPointer(C.QMacToolBar_AddItem(ptr.Pointer(), gui.PointerFromQIcon(icon), C.CString(text))) } return nil }
func (ptr *QMacToolBarItem) SetIcon(icon gui.QIcon_ITF) { if ptr.Pointer() != nil { C.QMacToolBarItem_SetIcon(ptr.Pointer(), gui.PointerFromQIcon(icon)) } }
func (ptr *QTabWidget) AddTab2(page QWidget_ITF, icon gui.QIcon_ITF, label string) int { if ptr.Pointer() != nil { return int(C.QTabWidget_AddTab2(ptr.Pointer(), PointerFromQWidget(page), gui.PointerFromQIcon(icon), C.CString(label))) } return 0 }
func NewQListWidgetItem3(icon gui.QIcon_ITF, text string, parent QListWidget_ITF, ty int) *QListWidgetItem { return NewQListWidgetItemFromPointer(C.QListWidgetItem_NewQListWidgetItem3(gui.PointerFromQIcon(icon), C.CString(text), PointerFromQListWidget(parent), C.int(ty))) }
func (ptr *QTabBar) InsertTab2(index int, icon gui.QIcon_ITF, text string) int { if ptr.Pointer() != nil { return int(C.QTabBar_InsertTab2(ptr.Pointer(), C.int(index), gui.PointerFromQIcon(icon), C.CString(text))) } return 0 }
func (ptr *QMenu) InsertSection2(before QAction_ITF, icon gui.QIcon_ITF, text string) *QAction { if ptr.Pointer() != nil { return NewQActionFromPointer(C.QMenu_InsertSection2(ptr.Pointer(), PointerFromQAction(before), gui.PointerFromQIcon(icon), C.CString(text))) } return nil }
func (ptr *QMenuBar) AddMenu3(icon gui.QIcon_ITF, title string) *QMenu { if ptr.Pointer() != nil { return NewQMenuFromPointer(C.QMenuBar_AddMenu3(ptr.Pointer(), gui.PointerFromQIcon(icon), C.CString(title))) } return nil }
func (ptr *QActionGroup) AddAction3(icon gui.QIcon_ITF, text string) *QAction { if ptr.Pointer() != nil { return NewQActionFromPointer(C.QActionGroup_AddAction3(ptr.Pointer(), gui.PointerFromQIcon(icon), C.CString(text))) } return nil }
func (ptr *QToolBox) SetItemIcon(index int, icon gui.QIcon_ITF) { if ptr.Pointer() != nil { C.QToolBox_SetItemIcon(ptr.Pointer(), C.int(index), gui.PointerFromQIcon(icon)) } }
func (ptr *QToolBox) AddItem(widget QWidget_ITF, iconSet gui.QIcon_ITF, text string) int { if ptr.Pointer() != nil { return int(C.QToolBox_AddItem(ptr.Pointer(), PointerFromQWidget(widget), gui.PointerFromQIcon(iconSet), C.CString(text))) } return 0 }
func (ptr *QUndoView) SetCleanIcon(icon gui.QIcon_ITF) { if ptr.Pointer() != nil { C.QUndoView_SetCleanIcon(ptr.Pointer(), gui.PointerFromQIcon(icon)) } }
func (ptr *QToolBox) InsertItem(index int, widget QWidget_ITF, icon gui.QIcon_ITF, text string) int { if ptr.Pointer() != nil { return int(C.QToolBox_InsertItem(ptr.Pointer(), C.int(index), PointerFromQWidget(widget), gui.PointerFromQIcon(icon), C.CString(text))) } return 0 }
func NewQAction3(icon gui.QIcon_ITF, text string, parent core.QObject_ITF) *QAction { return NewQActionFromPointer(C.QAction_NewQAction3(gui.PointerFromQIcon(icon), C.CString(text), core.PointerFromQObject(parent))) }
func NewQTableWidgetItem3(icon gui.QIcon_ITF, text string, ty int) *QTableWidgetItem { return NewQTableWidgetItemFromPointer(C.QTableWidgetItem_NewQTableWidgetItem3(gui.PointerFromQIcon(icon), C.CString(text), C.int(ty))) }
func (ptr *QMenu) SetIcon(icon gui.QIcon_ITF) { if ptr.Pointer() != nil { C.QMenu_SetIcon(ptr.Pointer(), gui.PointerFromQIcon(icon)) } }
func (ptr *QWidget) SetWindowIcon(icon gui.QIcon_ITF) { if ptr.Pointer() != nil { C.QWidget_SetWindowIcon(ptr.Pointer(), gui.PointerFromQIcon(icon)) } }
func NewQSystemTrayIcon2(icon gui.QIcon_ITF, parent core.QObject_ITF) *QSystemTrayIcon { return NewQSystemTrayIconFromPointer(C.QSystemTrayIcon_NewQSystemTrayIcon2(gui.PointerFromQIcon(icon), core.PointerFromQObject(parent))) }
func (ptr *QLineEdit) AddAction2(icon gui.QIcon_ITF, position QLineEdit__ActionPosition) *QAction { if ptr.Pointer() != nil { return NewQActionFromPointer(C.QLineEdit_AddAction2(ptr.Pointer(), gui.PointerFromQIcon(icon), C.int(position))) } return nil }
func (ptr *QSystemTrayIcon) SetIcon(icon gui.QIcon_ITF) { if ptr.Pointer() != nil { C.QSystemTrayIcon_SetIcon(ptr.Pointer(), gui.PointerFromQIcon(icon)) } }
func (ptr *QAbstractButton) SetIcon(icon gui.QIcon_ITF) { if ptr.Pointer() != nil { C.QAbstractButton_SetIcon(ptr.Pointer(), gui.PointerFromQIcon(icon)) } }
func (ptr *QMacToolBar) AddAllowedItem(icon gui.QIcon_ITF, text string) *QMacToolBarItem { if ptr.Pointer() != nil { return NewQMacToolBarItemFromPointer(C.QMacToolBar_AddAllowedItem(ptr.Pointer(), gui.PointerFromQIcon(icon), C.CString(text))) } return nil }
func (ptr *QTabBar) AddTab2(icon gui.QIcon_ITF, text string) int { if ptr.Pointer() != nil { return int(C.QTabBar_AddTab2(ptr.Pointer(), gui.PointerFromQIcon(icon), C.CString(text))) } return 0 }
func (ptr *QToolBar) AddAction4(icon gui.QIcon_ITF, text string, receiver core.QObject_ITF, member string) *QAction { if ptr.Pointer() != nil { return NewQActionFromPointer(C.QToolBar_AddAction4(ptr.Pointer(), gui.PointerFromQIcon(icon), C.CString(text), core.PointerFromQObject(receiver), C.CString(member))) } return nil }
func (ptr *QTabBar) SetTabIcon(index int, icon gui.QIcon_ITF) { if ptr.Pointer() != nil { C.QTabBar_SetTabIcon(ptr.Pointer(), C.int(index), gui.PointerFromQIcon(icon)) } }
func (ptr *QMenu) AddAction4(icon gui.QIcon_ITF, text string, receiver core.QObject_ITF, member string, shortcut gui.QKeySequence_ITF) *QAction { if ptr.Pointer() != nil { return NewQActionFromPointer(C.QMenu_AddAction4(ptr.Pointer(), gui.PointerFromQIcon(icon), C.CString(text), core.PointerFromQObject(receiver), C.CString(member), gui.PointerFromQKeySequence(shortcut))) } return nil }
func (ptr *QToolBar) AddAction2(icon gui.QIcon_ITF, text string) *QAction { if ptr.Pointer() != nil { return NewQActionFromPointer(C.QToolBar_AddAction2(ptr.Pointer(), gui.PointerFromQIcon(icon), C.CString(text))) } return nil }
func (ptr *QListWidgetItem) SetIcon(icon gui.QIcon_ITF) { if ptr.Pointer() != nil { C.QListWidgetItem_SetIcon(ptr.Pointer(), gui.PointerFromQIcon(icon)) } }
func (ptr *QTreeWidgetItem) SetIcon(column int, icon gui.QIcon_ITF) { if ptr.Pointer() != nil { C.QTreeWidgetItem_SetIcon(ptr.Pointer(), C.int(column), gui.PointerFromQIcon(icon)) } }
func NewQPushButton3(icon gui.QIcon_ITF, text string, parent QWidget_ITF) *QPushButton { return NewQPushButtonFromPointer(C.QPushButton_NewQPushButton3(gui.PointerFromQIcon(icon), C.CString(text), PointerFromQWidget(parent))) }