MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

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.