X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=www%2Fhtml%2Fclass_screen_lit_keeper.html;fp=www%2Fhtml%2Fclass_screen_lit_keeper.html;h=ebf07c58a732e6848e01f322f1788d590f150688;hb=152fa893f072373a21c125340ce9072a73503a54;hp=0000000000000000000000000000000000000000;hpb=8e60d556e00dbb7e86f2425605cf1b0a688a69e9;p=chessclock diff --git a/www/html/class_screen_lit_keeper.html b/www/html/class_screen_lit_keeper.html new file mode 100644 index 0000000..ebf07c5 --- /dev/null +++ b/www/html/class_screen_lit_keeper.html @@ -0,0 +1,143 @@ + + + +
+ +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.
+ +