Allows keeping the sreen lit by disabling the screensaver. More...
#include <screenlitkeeper.h>
Public Slots | |
void | keepScreenLit (bool keepLit) |
Sets whether the screen is to be kept lit. | |
Public Member Functions | |
ScreenLitKeeper (QObject *parent=0) |
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
Definition at line 47 of file screenlitkeeper.h.
ScreenLitKeeper::ScreenLitKeeper | ( | QObject * | parent = 0 |
) | [explicit] |
Definition at line 27 of file screenlitkeeper.cpp.
void ScreenLitKeeper::keepScreenLit | ( | bool | keepLit | ) | [slot] |
Sets whether the screen is to be kept lit.
keepLit | true for keeping lit, false for allowing blanking |
Definition at line 34 of file screenlitkeeper.cpp.