The QSystemScreenSaver class provides access to screen saver and blanking. More...
#include <QSystemScreenSaver>
Inherits: QObject.
Note: All functions in this class are reentrant.
This class was introduced in Qt Mobility 1.0.
QSystemScreenSaver ( QObject * parent = 0 ) | |
~QSystemScreenSaver () | |
bool | screenSaverInhibited () |
bool | setScreenSaverInhibit () |
void | setScreenSaverInhibited ( bool on ) |
The QSystemScreenSaver class provides access to screen saver and blanking.
On platforms where there is no one default screensaver mechanism, such as Linux, this class may not be available.
Note: All functions in this class are reentrant.
Warning: On Symbian this class does not support QObject::moveToThread().
This property holds screensaver inhibited.
Returns true if the screensaver is inhibited, otherwise false.
Access functions:
bool | screenSaverInhibited () |
void | setScreenSaverInhibited ( bool on ) |
Constructs a QSystemScreenSaver object with the given parent.
Destroys the QSystemScreenSaver object, and sets the screen saver to a non-inhibited state.
Set the screensaver to be inhibited.
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.