func (ptr *QFileSystemModel) Data(index core.QModelIndex_ITF, role int) *core.QVariant { if ptr.Pointer() != nil { return core.NewQVariantFromPointer(C.QFileSystemModel_Data(ptr.Pointer(), core.PointerFromQModelIndex(index), C.int(role))) } return nil }
func (ptr *QTreeView) SetRowHidden(row int, parent core.QModelIndex_ITF, hide bool) { if ptr.Pointer() != nil { C.QTreeView_SetRowHidden(ptr.Pointer(), C.int(row), core.PointerFromQModelIndex(parent), C.int(qt.GoBoolToInt(hide))) } }
func (ptr *QTreeView) Expand(index core.QModelIndex_ITF) { if ptr.Pointer() != nil { C.QTreeView_Expand(ptr.Pointer(), core.PointerFromQModelIndex(index)) } }
func (ptr *QTreeView) ScrollTo(index core.QModelIndex_ITF, hint QAbstractItemView__ScrollHint) { if ptr.Pointer() != nil { C.QTreeView_ScrollTo(ptr.Pointer(), core.PointerFromQModelIndex(index), C.int(hint)) } }
func (ptr *QTreeView) SetFirstColumnSpanned(row int, parent core.QModelIndex_ITF, span bool) { if ptr.Pointer() != nil { C.QTreeView_SetFirstColumnSpanned(ptr.Pointer(), C.int(row), core.PointerFromQModelIndex(parent), C.int(qt.GoBoolToInt(span))) } }
func (ptr *QItemDelegate) UpdateEditorGeometry(editor QWidget_ITF, option QStyleOptionViewItem_ITF, index core.QModelIndex_ITF) { if ptr.Pointer() != nil { C.QItemDelegate_UpdateEditorGeometry(ptr.Pointer(), PointerFromQWidget(editor), PointerFromQStyleOptionViewItem(option), core.PointerFromQModelIndex(index)) } }
func (ptr *QTreeView) IsFirstColumnSpanned(row int, parent core.QModelIndex_ITF) bool { if ptr.Pointer() != nil { return C.QTreeView_IsFirstColumnSpanned(ptr.Pointer(), C.int(row), core.PointerFromQModelIndex(parent)) != 0 } return false }
func (ptr *QFileSystemModel) LastModified(index core.QModelIndex_ITF) *core.QDateTime { if ptr.Pointer() != nil { return core.NewQDateTimeFromPointer(C.QFileSystemModel_LastModified(ptr.Pointer(), core.PointerFromQModelIndex(index))) } return nil }
func (ptr *QFileSystemModel) Mkdir(parent core.QModelIndex_ITF, name string) *core.QModelIndex { if ptr.Pointer() != nil { return core.NewQModelIndexFromPointer(C.QFileSystemModel_Mkdir(ptr.Pointer(), core.PointerFromQModelIndex(parent), C.CString(name))) } return nil }
func (ptr *QFileSystemModel) HasChildren(parent core.QModelIndex_ITF) bool { if ptr.Pointer() != nil { return C.QFileSystemModel_HasChildren(ptr.Pointer(), core.PointerFromQModelIndex(parent)) != 0 } return false }
func (ptr *QFileSystemModel) Index(row int, column int, parent core.QModelIndex_ITF) *core.QModelIndex { if ptr.Pointer() != nil { return core.NewQModelIndexFromPointer(C.QFileSystemModel_Index(ptr.Pointer(), C.int(row), C.int(column), core.PointerFromQModelIndex(parent))) } return nil }
func (ptr *QFileSystemModel) Flags(index core.QModelIndex_ITF) core.Qt__ItemFlag { if ptr.Pointer() != nil { return core.Qt__ItemFlag(C.QFileSystemModel_Flags(ptr.Pointer(), core.PointerFromQModelIndex(index))) } return 0 }
func (ptr *QFileSystemModel) FetchMore(parent core.QModelIndex_ITF) { if ptr.Pointer() != nil { C.QFileSystemModel_FetchMore(ptr.Pointer(), core.PointerFromQModelIndex(parent)) } }
func (ptr *QFileSystemModel) DropMimeData(data core.QMimeData_ITF, action core.Qt__DropAction, row int, column int, parent core.QModelIndex_ITF) bool { if ptr.Pointer() != nil { return C.QFileSystemModel_DropMimeData(ptr.Pointer(), core.PointerFromQMimeData(data), C.int(action), C.int(row), C.int(column), core.PointerFromQModelIndex(parent)) != 0 } return false }
func (ptr *QItemDelegate) SetEditorData(editor QWidget_ITF, index core.QModelIndex_ITF) { if ptr.Pointer() != nil { C.QItemDelegate_SetEditorData(ptr.Pointer(), PointerFromQWidget(editor), core.PointerFromQModelIndex(index)) } }
func (ptr *QFileSystemModel) Parent(index core.QModelIndex_ITF) *core.QModelIndex { if ptr.Pointer() != nil { return core.NewQModelIndexFromPointer(C.QFileSystemModel_Parent(ptr.Pointer(), core.PointerFromQModelIndex(index))) } return nil }
func (ptr *QItemDelegate) SetModelData(editor QWidget_ITF, model core.QAbstractItemModel_ITF, index core.QModelIndex_ITF) { if ptr.Pointer() != nil { C.QItemDelegate_SetModelData(ptr.Pointer(), PointerFromQWidget(editor), core.PointerFromQAbstractItemModel(model), core.PointerFromQModelIndex(index)) } }
func (ptr *QFileSystemModel) RowCount(parent core.QModelIndex_ITF) int { if ptr.Pointer() != nil { return int(C.QFileSystemModel_RowCount(ptr.Pointer(), core.PointerFromQModelIndex(parent))) } return 0 }
func (ptr *QTreeView) IndexBelow(index core.QModelIndex_ITF) *core.QModelIndex { if ptr.Pointer() != nil { return core.NewQModelIndexFromPointer(C.QTreeView_IndexBelow(ptr.Pointer(), core.PointerFromQModelIndex(index))) } return nil }
func (ptr *QFileSystemModel) SetData(idx core.QModelIndex_ITF, value core.QVariant_ITF, role int) bool { if ptr.Pointer() != nil { return C.QFileSystemModel_SetData(ptr.Pointer(), core.PointerFromQModelIndex(idx), core.PointerFromQVariant(value), C.int(role)) != 0 } return false }
func (ptr *QTreeView) IsRowHidden(row int, parent core.QModelIndex_ITF) bool { if ptr.Pointer() != nil { return C.QTreeView_IsRowHidden(ptr.Pointer(), C.int(row), core.PointerFromQModelIndex(parent)) != 0 } return false }
func (ptr *QFileSystemModel) Type(index core.QModelIndex_ITF) string { if ptr.Pointer() != nil { return C.GoString(C.QFileSystemModel_Type(ptr.Pointer(), core.PointerFromQModelIndex(index))) } return "" }
func (ptr *QTreeView) SetExpanded(index core.QModelIndex_ITF, expanded bool) { if ptr.Pointer() != nil { C.QTreeView_SetExpanded(ptr.Pointer(), core.PointerFromQModelIndex(index), C.int(qt.GoBoolToInt(expanded))) } }
func (ptr *QFileSystemModel) Rmdir(index core.QModelIndex_ITF) bool { if ptr.Pointer() != nil { return C.QFileSystemModel_Rmdir(ptr.Pointer(), core.PointerFromQModelIndex(index)) != 0 } return false }
func (ptr *QTreeView) SetRootIndex(index core.QModelIndex_ITF) { if ptr.Pointer() != nil { C.QTreeView_SetRootIndex(ptr.Pointer(), core.PointerFromQModelIndex(index)) } }
func (ptr *QItemDelegate) CreateEditor(parent QWidget_ITF, option QStyleOptionViewItem_ITF, index core.QModelIndex_ITF) *QWidget { if ptr.Pointer() != nil { return NewQWidgetFromPointer(C.QItemDelegate_CreateEditor(ptr.Pointer(), PointerFromQWidget(parent), PointerFromQStyleOptionViewItem(option), core.PointerFromQModelIndex(index))) } return nil }
func (ptr *QTreeView) Collapse(index core.QModelIndex_ITF) { if ptr.Pointer() != nil { C.QTreeView_Collapse(ptr.Pointer(), core.PointerFromQModelIndex(index)) } }
func (ptr *QItemDelegate) Paint(painter gui.QPainter_ITF, option QStyleOptionViewItem_ITF, index core.QModelIndex_ITF) { if ptr.Pointer() != nil { C.QItemDelegate_Paint(ptr.Pointer(), gui.PointerFromQPainter(painter), PointerFromQStyleOptionViewItem(option), core.PointerFromQModelIndex(index)) } }
func (ptr *QTreeView) IsExpanded(index core.QModelIndex_ITF) bool { if ptr.Pointer() != nil { return C.QTreeView_IsExpanded(ptr.Pointer(), core.PointerFromQModelIndex(index)) != 0 } return false }
func (ptr *QFileSystemModel) CanFetchMore(parent core.QModelIndex_ITF) bool { if ptr.Pointer() != nil { return C.QFileSystemModel_CanFetchMore(ptr.Pointer(), core.PointerFromQModelIndex(parent)) != 0 } return false }