QtMobility Reference Documentation

Contents

QML ScreenSaver Element

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

  • List of all members, including inherited members
  • 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 documentation was introduced in Qt Mobility Mobility 1.1.


    screenSaverInhibited : bool

    Inhibits the screensaver if true, otherwise continues the screensaver.

    This documentation was introduced in Qt Mobility 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 Qt Mobility Mobility 1.1.