API documentation updated
[chessclock] / www / html / notimecontrol_8cpp_source.html
index e2c27ba..3413aa9 100644 (file)
@@ -82,28 +82,33 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 <a name="l00038"></a>00038     <span class="keywordflow">return</span> qApp-&gt;translate(<span class="stringliteral">&quot;NoneTimeControl&quot;</span>,<span class="stringliteral">&quot;Never add time.&quot;</span>);
 <a name="l00039"></a>00039 }
 <a name="l00040"></a>00040 
-<a name="l00041"></a><a class="code" href="class_no_time_control.html#ab59e0d665a961614b2e54e3f8dd2f53b">00041</a> <a class="code" href="class_clocks_widget.html" title="Widget with two clocks.">ClocksWidget</a>* <a class="code" href="class_no_time_control.html#ab59e0d665a961614b2e54e3f8dd2f53b" title="Init new game.">NoTimeControl::initGame</a>(<span class="keywordtype">bool</span> useLastSettings)
+<a name="l00041"></a><a class="code" href="class_no_time_control.html#a9a639c9343f95a4deb4d0b7d044dab67">00041</a> QIcon <a class="code" href="class_no_time_control.html#a9a639c9343f95a4deb4d0b7d044dab67" title="Icon of the time control.">NoTimeControl::getIcon</a>()
 <a name="l00042"></a>00042 {
-<a name="l00043"></a>00043     <a class="code" href="class_basic_dialog.html" title="Basic dialog for Time Control settings.">BasicDialog</a> dialog(<a class="code" href="class_no_time_control.html#ad31a2c12256bc897c0fe8ed2aabe9cd2" title="Name of the time control.">getName</a>());
-<a name="l00044"></a>00044 
-<a name="l00045"></a>00045     dialog.<a class="code" href="class_basic_dialog.html#a925bc8d9375043b89cb06ee3c01c22e2">disableAddition</a>();
-<a name="l00046"></a>00046     dialog.<a class="code" href="class_basic_dialog.html#af0a264bc2fb165a0264777d0b6ace16c" title="Load values from settings, or init to initial values.">init</a>();
-<a name="l00047"></a>00047 
-<a name="l00048"></a>00048     <span class="keywordflow">if</span>( useLastSettings || dialog.exec() == QDialog::Accepted)
-<a name="l00049"></a>00049     {
-<a name="l00050"></a>00050         dialog.<a class="code" href="class_basic_dialog.html#a39e8d5e6b6bb54da90b48542abf3c5ce" title="Store values to settings.">store</a>();
-<a name="l00051"></a>00051         <a class="code" href="class_chess_clock_widget.html" title="Simple chess clock widget.">ChessClockWidget</a>* white = <span class="keyword">new</span> <a class="code" href="class_chess_clock_widget.html" title="Simple chess clock widget.">ChessClockWidget</a>(<span class="keyword">true</span>);
-<a name="l00052"></a>00052         white-&gt;<a class="code" href="class_chess_clock.html#af0415d0184abb73d9ee3348635c3e0d8" title="Set time available.">setTimeAvailable</a>(dialog.<a class="code" href="class_basic_dialog.html#ac680841face51be8730863bea159bb4e">getWhiteInitial</a>());
-<a name="l00053"></a>00053 
-<a name="l00054"></a>00054         <a class="code" href="class_chess_clock_widget.html" title="Simple chess clock widget.">ChessClockWidget</a>* black = <span class="keyword">new</span> <a class="code" href="class_chess_clock_widget.html" title="Simple chess clock widget.">ChessClockWidget</a>(<span class="keyword">false</span>);
-<a name="l00055"></a>00055         black-&gt;<a class="code" href="class_chess_clock.html#af0415d0184abb73d9ee3348635c3e0d8" title="Set time available.">setTimeAvailable</a>( dialog.<a class="code" href="class_basic_dialog.html#a305905fa63b9a29649d35feda04161ad">getBlackInitial</a>());
-<a name="l00056"></a>00056 
-<a name="l00057"></a>00057         <span class="keywordflow">return</span>( <span class="keyword">new</span> <a class="code" href="class_clocks_widget.html" title="Widget with two clocks.">ClocksWidget</a>(white,black));
+<a name="l00043"></a>00043     <span class="keywordflow">return</span> QIcon(<span class="stringliteral">&quot;:/rc/pic/oldclock.png&quot;</span>);
+<a name="l00044"></a>00044 }
+<a name="l00045"></a>00045 
+<a name="l00046"></a><a class="code" href="class_no_time_control.html#ab59e0d665a961614b2e54e3f8dd2f53b">00046</a> <a class="code" href="class_clocks_widget.html" title="Widget with two clocks.">ClocksWidget</a>* <a class="code" href="class_no_time_control.html#ab59e0d665a961614b2e54e3f8dd2f53b" title="Init new game.">NoTimeControl::initGame</a>(<span class="keywordtype">bool</span> useLastSettings)
+<a name="l00047"></a>00047 {
+<a name="l00048"></a>00048     <a class="code" href="class_basic_dialog.html" title="Basic dialog for Time Control settings.">BasicDialog</a> dialog(<a class="code" href="class_no_time_control.html#ad31a2c12256bc897c0fe8ed2aabe9cd2" title="Name of the time control.">getName</a>());
+<a name="l00049"></a>00049 
+<a name="l00050"></a>00050     dialog.<a class="code" href="class_basic_dialog.html#a925bc8d9375043b89cb06ee3c01c22e2">disableAddition</a>();
+<a name="l00051"></a>00051     dialog.<a class="code" href="class_basic_dialog.html#af0a264bc2fb165a0264777d0b6ace16c" title="Load values from settings, or init to initial values.">init</a>();
+<a name="l00052"></a>00052 
+<a name="l00053"></a>00053     <span class="keywordflow">if</span>( useLastSettings || dialog.exec() == QDialog::Accepted)
+<a name="l00054"></a>00054     {
+<a name="l00055"></a>00055         dialog.<a class="code" href="class_basic_dialog.html#a39e8d5e6b6bb54da90b48542abf3c5ce" title="Store values to settings.">store</a>();
+<a name="l00056"></a>00056         <a class="code" href="class_chess_clock_widget.html" title="Simple chess clock widget.">ChessClockWidget</a>* white = <span class="keyword">new</span> <a class="code" href="class_chess_clock_widget.html" title="Simple chess clock widget.">ChessClockWidget</a>(<span class="keyword">true</span>);
+<a name="l00057"></a>00057         white-&gt;<a class="code" href="class_chess_clock.html#af0415d0184abb73d9ee3348635c3e0d8" title="Set time available.">setTimeAvailable</a>(dialog.<a class="code" href="class_basic_dialog.html#ac680841face51be8730863bea159bb4e">getWhiteInitial</a>());
 <a name="l00058"></a>00058 
-<a name="l00059"></a>00059     }
-<a name="l00060"></a>00060     <span class="keywordflow">else</span>
-<a name="l00061"></a>00061         <span class="keywordflow">return</span> 0;
-<a name="l00062"></a>00062 }
+<a name="l00059"></a>00059         <a class="code" href="class_chess_clock_widget.html" title="Simple chess clock widget.">ChessClockWidget</a>* black = <span class="keyword">new</span> <a class="code" href="class_chess_clock_widget.html" title="Simple chess clock widget.">ChessClockWidget</a>(<span class="keyword">false</span>);
+<a name="l00060"></a>00060         black-&gt;<a class="code" href="class_chess_clock.html#af0415d0184abb73d9ee3348635c3e0d8" title="Set time available.">setTimeAvailable</a>( dialog.<a class="code" href="class_basic_dialog.html#a305905fa63b9a29649d35feda04161ad">getBlackInitial</a>());
+<a name="l00061"></a>00061 
+<a name="l00062"></a>00062         <span class="keywordflow">return</span>( <span class="keyword">new</span> <a class="code" href="class_clocks_widget.html" title="Widget with two clocks.">ClocksWidget</a>(white,black));
+<a name="l00063"></a>00063 
+<a name="l00064"></a>00064     }
+<a name="l00065"></a>00065     <span class="keywordflow">else</span>
+<a name="l00066"></a>00066         <span class="keywordflow">return</span> 0;
+<a name="l00067"></a>00067 }
 </pre></div></div>
 <!--- window showing the filter options -->
 <div id="MSearchSelectWindow"
@@ -119,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 </iframe>
 </div>
 
-<hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Aug 16 21:44:24 2010 for Chess Clock by&nbsp;
+<hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by&nbsp;
 <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
 </body>