示例#1
0
文件: uitools.go 项目: mouse225/qt
func (ptr *QUiLoader) SetWorkingDirectory(dir core.QDir_ITF) {
	defer qt.Recovering("QUiLoader::setWorkingDirectory")

	if ptr.Pointer() != nil {
		C.QUiLoader_SetWorkingDirectory(ptr.Pointer(), core.PointerFromQDir(dir))
	}
}
示例#2
0
文件: qfiledialog.go 项目: xland/qt
func (ptr *QFileDialog) SetDirectory2(directory core.QDir_ITF) {
	if ptr.Pointer() != nil {
		C.QFileDialog_SetDirectory2(ptr.Pointer(), core.PointerFromQDir(directory))
	}
}