1 <!-- This comment will put IE 6, 7 and 8 in quirks mode -->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6 <title>Chess Clock: ScreenLitKeeper Class Reference</title>
7 <link href="tabs.css" rel="stylesheet" type="text/css"/>
8 <link href="search/search.css" rel="stylesheet" type="text/css"/>
9 <script type="text/javaScript" src="search/search.js"></script>
10 <link href="doxygen.css" rel="stylesheet" type="text/css"/>
12 <body onload='searchBox.OnSelectItem(0);'>
13 <!-- Generated by Doxygen 1.6.3 -->
14 <script type="text/javascript"><!--
15 var searchBox = new SearchBox("searchBox", "search",false,'Search');
17 <div class="navigation" id="top">
20 <li><a href="index.html"><span>Main Page</span></a></li>
21 <li><a href="pages.html"><span>Related Pages</span></a></li>
22 <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
23 <li><a href="files.html"><span>Files</span></a></li>
25 <div id="MSearchBox" class="MSearchBoxInactive">
26 <img id="MSearchSelect" src="search/search.png"
27 onmouseover="return searchBox.OnSearchSelectShow()"
28 onmouseout="return searchBox.OnSearchSelectHide()"
30 <input type="text" id="MSearchField" value="Search" accesskey="S"
31 onfocus="searchBox.OnSearchFieldFocus(true)"
32 onblur="searchBox.OnSearchFieldFocus(false)"
33 onkeyup="searchBox.OnSearchFieldChange(event)"/>
34 <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
41 <li><a href="annotated.html"><span>Class List</span></a></li>
42 <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
43 <li><a href="functions.html"><span>Class Members</span></a></li>
47 <div class="contents">
48 <h1>ScreenLitKeeper Class Reference</h1><!-- doxytag: class="ScreenLitKeeper" -->
49 <p>Allows keeping the sreen lit by disabling the screensaver.
50 <a href="#_details">More...</a></p>
52 <p><code>#include <<a class="el" href="screenlitkeeper_8h_source.html">screenlitkeeper.h</a>></code></p>
54 <p><a href="class_screen_lit_keeper-members.html">List of all members.</a></p>
55 <table border="0" cellpadding="0" cellspacing="0">
56 <tr><td colspan="2"><h2>Public Slots</h2></td></tr>
57 <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_screen_lit_keeper.html#a41cc193e58d9b4b5c09eda79bbb095c8">keepScreenLit</a> (bool keepLit)</td></tr>
58 <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets whether the screen is to be kept lit. <a href="#a41cc193e58d9b4b5c09eda79bbb095c8"></a><br/></td></tr>
59 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
60 <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_screen_lit_keeper.html#a548195ffb1809ccb8f0277492a40a3fb">ScreenLitKeeper</a> (QObject *parent=0)</td></tr>
62 <hr/><a name="_details"></a><h2>Detailed Description</h2>
63 <p>Allows keeping the sreen lit by disabling the screensaver. </p>
64 <p>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</p>
65 <dl class="author"><dt><b>Author:</b></dt><dd>Heli Hyvättinen </dd></dl>
66 <dl class="date"><dt><b>Date:</b></dt><dd>2010-09-07 </dd></dl>
67 <dl class="version"><dt><b>Version:</b></dt><dd>1 </dd></dl>
69 <p>Definition at line <a class="el" href="screenlitkeeper_8h_source.html#l00047">47</a> of file <a class="el" href="screenlitkeeper_8h_source.html">screenlitkeeper.h</a>.</p>
70 <hr/><h2>Constructor & Destructor Documentation</h2>
71 <a class="anchor" id="a548195ffb1809ccb8f0277492a40a3fb"></a><!-- doxytag: member="ScreenLitKeeper::ScreenLitKeeper" ref="a548195ffb1809ccb8f0277492a40a3fb" args="(QObject *parent=0)" -->
73 <div class="memproto">
74 <table class="memname">
76 <td class="memname">ScreenLitKeeper::ScreenLitKeeper </td>
78 <td class="paramtype">QObject * </td>
79 <td class="paramname"> <em>parent</em> = <code>0</code></td>
80 <td> ) </td>
81 <td><code> [explicit]</code></td>
87 <p>Definition at line <a class="el" href="screenlitkeeper_8cpp_source.html#l00027">27</a> of file <a class="el" href="screenlitkeeper_8cpp_source.html">screenlitkeeper.cpp</a>.</p>
91 <hr/><h2>Member Function Documentation</h2>
92 <a class="anchor" id="a41cc193e58d9b4b5c09eda79bbb095c8"></a><!-- doxytag: member="ScreenLitKeeper::keepScreenLit" ref="a41cc193e58d9b4b5c09eda79bbb095c8" args="(bool keepLit)" -->
94 <div class="memproto">
95 <table class="memname">
97 <td class="memname">void ScreenLitKeeper::keepScreenLit </td>
99 <td class="paramtype">bool </td>
100 <td class="paramname"> <em>keepLit</em></td>
101 <td> ) </td>
102 <td><code> [slot]</code></td>
108 <p>Sets whether the screen is to be kept lit. </p>
109 <dl><dt><b>Parameters:</b></dt><dd>
110 <table border="0" cellspacing="2" cellpadding="0">
111 <tr><td valign="top"></td><td valign="top"><em>keepLit</em> </td><td>true for keeping lit, false for allowing blanking </td></tr>
116 <p>Definition at line <a class="el" href="screenlitkeeper_8cpp_source.html#l00034">34</a> of file <a class="el" href="screenlitkeeper_8cpp_source.html">screenlitkeeper.cpp</a>.</p>
120 <hr/>The documentation for this class was generated from the following files:<ul>
121 <li>/holvi/arto/ohjelmointi/ChessClock/chessclock/classes/<a class="el" href="screenlitkeeper_8h_source.html">screenlitkeeper.h</a></li>
122 <li>/holvi/arto/ohjelmointi/ChessClock/chessclock/classes/<a class="el" href="screenlitkeeper_8cpp_source.html">screenlitkeeper.cpp</a></li>
125 <!--- window showing the filter options -->
126 <div id="MSearchSelectWindow"
127 onmouseover="return searchBox.OnSearchSelectShow()"
128 onmouseout="return searchBox.OnSearchSelectHide()"
129 onkeydown="return searchBox.OnSearchSelectKey(event)">
130 <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerator</a></div>
132 <!-- iframe showing the search results (closed by default) -->
133 <div id="MSearchResultsWindow">
134 <iframe src="" frameborder="0"
135 name="MSearchResults" id="MSearchResults">
139 <hr class="footer"/><address style="text-align: right;"><small>Generated on Tue Oct 12 20:52:59 2010 for Chess Clock by
140 <a href="http://www.doxygen.org/index.html">
141 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>