示例#1
0
func (kbd *Keyboard) setCursorBlink(value uint32) {
	if kbd.xsettings != nil {
		kbd.xsettings.SetInteger("Net/CursorBlinkTime", value)
	}
	configDir := dutils.GetConfigDir()
	qtPath := path.Join(configDir, "Trolltech.conf")
	setQtCursorBlink(value, qtPath)
}
示例#2
0
func GetUserQt4Config() string {
	dir := dutils.GetConfigDir()
	return path.Join(dir, "Trolltech.conf")
}