Home · All Classes · All Functions ·

QSystemScreenSaver Class Reference

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

    #include <QSystemScreenSaver>

Inherits QObject.


Properties


Public Functions

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

Additional Inherited Members


Detailed Description

The QSystemScreenSaver class provides access to screen saver and blanking.


Property Documentation

screenSaverInhibited : const bool

This property holds screensaver inhibited.

Returns true if the screensaver is inhibited, otherwise false.

Access functions:

bool screenSaverInhibited ()

Member Function Documentation

QSystemScreenSaver::QSystemScreenSaver ( QObject * parent = 0 )

Constructs a QSystemScreenSaver object with the given parent.

On platforms where there is no one default screensaver mechanism, such as Linux, this class may not be available.

QSystemScreenSaver::~QSystemScreenSaver ()

Destroys the QSystemScreenSaver object.

bool QSystemScreenSaver::setScreenSaverInhibit ()

Temporarily inhibits the screensaver.

Will be reverted upon destruction of the QSystemScreenSaver object. Returns true on success, otherwise false.

On platforms that support it, if screensaver is secure by policy, the policy will be honored and this will fail.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Mobility Project 1.0.0