Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

QSystemScreenSaver Class Reference

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

    #include <QSystemScreenSaver>

Inherits QObject.


Properties

  • 1 property inherited from QObject

Public Functions

QSystemScreenSaver ( QObject * parent = 0 )
~QSystemScreenSaver ()
bool screenSaverInhibited ()
bool setScreenSaverInhibit ()
  • 29 public functions inherited from QObject

Additional Inherited Members

  • 1 public slot inherited from QObject
  • 1 signal inherited from QObject
  • 1 public type inherited from QObject
  • 4 static public members inherited from QObject
  • 7 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

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 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.

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.

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt qtmobility-1.0
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web


Warning: mysql_connect() [function.mysql-connect]: [2002] Connection refused (trying to connect via tcp://developpez.net:3306) in /home/developpez/www/developpez-com/template/connexion.php on line 7

Warning: mysql_connect() [function.mysql-connect]: Connection refused in /home/developpez/www/developpez-com/template/connexion.php on line 7

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/developpez/www/developpez-com/template/pied.php on line 12