Change Video and VideoOutput docs to mention ScreenSaver

Change-Id: If7a03e9eafd351eec484a568802c75d955b68ecf
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
Angus Cummings
2012-04-16 14:48:08 +10:00
committed by Qt by Nokia
parent 5f7b64346d
commit c7b02bad92
2 changed files with 26 additions and 0 deletions

View File

@@ -83,6 +83,19 @@ import QtMultimedia 5.0
presentation, see the \l fillMode property description.
\sa MediaPlayer, VideoOutput
\section1 Screen Saver
If it is likely that an application will be playing video for an extended
period of time without user interaction it may be necessary to disable
the platform's screen saver. The \l ScreenSaver element (from \l QtSystemInfo)
may be used to disable the screensaver in this fashion:
\qml
import QtSystemInfo 5.0
ScreenSaver { screenSaverEnabled: false }
\endqml
*/
Item {

View File

@@ -156,6 +156,19 @@ private:
description.
\sa MediaPlayer, Camera
\section1 Screen Saver
If it is likely that an application will be playing video for an extended
period of time without user interaction it may be necessary to disable
the platform's screen saver. The \l ScreenSaver element (from \l QtSystemInfo)
may be used to disable the screensaver in this fashion:
\qml
import QtSystemInfo 5.0
ScreenSaver { screenSaverEnabled: false }
\endqml
*/
/*!