如何保持屏幕显示避免屏保和黑屏
Delete instructional text in italic
This article explains how to ... Replace the abstract text with a short paragraph (or sentence) describing what the topic covers.
Introduction
使用QMl的ScreenSaver Element可以轻松的保持屏幕常亮
import QtMobility.systeminfo 1.1
ScreenSaver
{
screenSaverDelayed:true
}
也可使用ScreenSaver自带的setScreenSaverDelayed(bool) 方法在适当的时候启动屏幕常亮,例如
import QtMobility.systeminfo 1.1
import com.meego 1.0
ScreenSaver
{
id:screenSaver
}
Button{
text: "on"
onClicked:screenSaver.setScreenSaverDelayed(true)
}
}
Summary
Enter article metadata as described below. Note that this template can be placed anywhere in the article.

