ScreenLitKeeper Class Reference

Allows keeping the sreen lit by disabling the screensaver. More...

#include <screenlitkeeper.h>

List of all members.

Public Slots

void keepScreenLit (bool keepLit)
 Sets whether the screen is to be kept lit.

Public Member Functions

 ScreenLitKeeper (QObject *parent=0)

Detailed Description

Allows keeping the sreen lit by disabling the screensaver.

Works at least on N900. The sreen can be set to be kept lit or not. To use this class, you must have the following lines in your .pro file: CONFIG += mobility MOBILITY += systeminfo

Author:
Heli Hyvättinen
Date:
2010-09-07
Version:
1

Definition at line 47 of file screenlitkeeper.h.


Constructor & Destructor Documentation

ScreenLitKeeper::ScreenLitKeeper ( QObject *  parent = 0  )  [explicit]

Definition at line 27 of file screenlitkeeper.cpp.


Member Function Documentation

void ScreenLitKeeper::keepScreenLit ( bool  keepLit  )  [slot]

Sets whether the screen is to be kept lit.

Parameters:
keepLit true for keeping lit, false for allowing blanking

Definition at line 34 of file screenlitkeeper.cpp.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Enumerations Enumerator
Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by  doxygen 1.6.3