![]() |
Home · All Classes · All Functions · | ![]() |
The QSystemScreenSaver class provides access to screen saver and blanking. More...
#include <QSystemScreenSaver>
Inherits QObject.
QSystemScreenSaver ( QObject * parent = 0 ) | |
~QSystemScreenSaver () | |
bool | screenSaverInhibited () |
bool | setScreenSaverInhibit () |
The QSystemScreenSaver class provides access to screen saver and blanking.
This property holds screensaver inhibited.
Returns true if the screensaver is inhibited, otherwise false.
Access functions:
bool | screenSaverInhibited () |
Constructs a QSystemScreenSaver object with the given parent.
On platforms where there is no default screensaver mechanism, such as Linux, this class may not be available.
Destroys the QSystemScreenSaver object.
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.
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt Mobility Project 1.0.2 |