QtMobility Reference Documentation

QML ScreenSaver Element

The ScreenSaver element allows you to temporarily suppress and delay the screensaver from turning on or blanking the screen. More...

This element was introduced in Mobility 1.1.

Properties

Methods

Detailed Description

This element is part of the QtMobility.systeminfo 1.1 module. It is a convience class to make QML usage easier.

Property Documentation

screenSaverDelayed : bool

Delays the screensaver if true, otherwise continues the screensaver.

This property group was introduced in Mobility 1.1.


screenSaverInhibited : bool

Inhibits the screensaver if true, otherwise continues the screensaver.

This property group was introduced in Mobility 1.1.


Method Documentation

bool ScreenSaver::setScreenSaverInhibit ()

Set the screensaver to be inhibited.

Temporarily inhibits the screensaver.

The screensaver will be set to a non inhibited state only when this QSystemScreenSaver object gets destroyed.

This is a non blocking function that will return true if the inhibit procedure was successful, otherwise false.

On platforms that support it, if screensaver is secure by policy, the policy will be honored and this will fail.

This documentation was introduced in Mobility 1.1.


X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.