QtMobility Reference Documentation

Contents

QSystemScreenSaver Class Reference

The QSystemScreenSaver class provides access to screen saver and blanking. More...

 #include <QSystemScreenSaver>

Inherits QObject.

This class was introduced in Qt Mobility 1.1.

Properties

Public Functions

QSystemScreenSaver ( QObject * parent = 0 )
~QSystemScreenSaver ()
bool screenSaverInhibited ()
bool setScreenSaverInhibit ()
void setScreenSaverInhibited ( bool on )

Additional Inherited Members

Detailed Description

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.

Property Documentation

screenSaverInhibited : bool

This property holds screensaver inhibited.

Returns true if the screensaver is inhibited, otherwise false.

Access functions:

bool screenSaverInhibited ()
void setScreenSaverInhibited ( bool on )

Member Function Documentation

QSystemScreenSaver::QSystemScreenSaver ( QObject * parent = 0 )

Constructs a QSystemScreenSaver object with the given parent.

QSystemScreenSaver::~QSystemScreenSaver ()

Destroys the QSystemScreenSaver object, and sets the screen saver to a non-inhibited state.

bool QSystemScreenSaver::setScreenSaverInhibit ()

Set the screensaver to be inhibited.