API documentation updated
[chessclock] / www / html / delayaftertimecontrol_8cpp_source.html
index a2c215c..6e2b11e 100644 (file)
@@ -84,27 +84,32 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 <a name="l00040"></a>00040     <span class="keywordflow">return</span> qApp-&gt;translate(<span class="stringliteral">&quot;Delay&quot;</span>,<span class="stringliteral">&quot;Time up to special increment is added after turn&quot;</span>);
 <a name="l00041"></a>00041 }
 <a name="l00042"></a>00042 
 <a name="l00040"></a>00040     <span class="keywordflow">return</span> qApp-&gt;translate(<span class="stringliteral">&quot;Delay&quot;</span>,<span class="stringliteral">&quot;Time up to special increment is added after turn&quot;</span>);
 <a name="l00041"></a>00041 }
 <a name="l00042"></a>00042 
-<a name="l00043"></a><a class="code" href="class_delay_after_time_control.html#a9261e9b06c1cc36b07c2d614fd800bce">00043</a> <a class="code" href="class_clocks_widget.html" title="Widget with two clocks.">ClocksWidget</a>* <a class="code" href="class_delay_after_time_control.html#a9261e9b06c1cc36b07c2d614fd800bce" title="Init new game.">DelayAfterTimeControl::initGame</a>(<span class="keywordtype">bool</span> useLastSettings)
+<a name="l00043"></a><a class="code" href="class_delay_after_time_control.html#ab4fe6ff19c6e5075521db55d9b9c8e73">00043</a> QIcon <a class="code" href="class_delay_after_time_control.html#ab4fe6ff19c6e5075521db55d9b9c8e73" title="Icon of the time control.">DelayAfterTimeControl::getIcon</a>()
 <a name="l00044"></a>00044 {
 <a name="l00044"></a>00044 {
-<a name="l00045"></a>00045     <a class="code" href="class_basic_dialog.html" title="Basic dialog for Time Control settings.">BasicDialog</a> dialog(<a class="code" href="class_delay_after_time_control.html#af8c89050571857e3f048a86a933fc6b6" title="Name of the time control.">getName</a>());
-<a name="l00046"></a>00046     dialog.<a class="code" href="class_basic_dialog.html#a61a6f0de3698da72f2ec10be6f41fd6b">disablePerTurns</a>();
-<a name="l00047"></a>00047     dialog.<a class="code" href="class_basic_dialog.html#af0a264bc2fb165a0264777d0b6ace16c" title="Load values from settings, or init to initial values.">init</a>();
-<a name="l00048"></a>00048 
-<a name="l00049"></a>00049     <span class="keywordflow">if</span>( useLastSettings || dialog.exec() == QDialog::Accepted)
-<a name="l00050"></a>00050     {
-<a name="l00051"></a>00051         dialog.<a class="code" href="class_basic_dialog.html#a39e8d5e6b6bb54da90b48542abf3c5ce" title="Store values to settings.">store</a>();
-<a name="l00052"></a>00052         <a class="code" href="class_delay_after_clock.html" title="Delay after (Bronstein delay).">DelayAfterClock</a>* white = <span class="keyword">new</span> <a class="code" href="class_delay_after_clock.html" title="Delay after (Bronstein delay).">DelayAfterClock</a>( <span class="keyword">true</span>, dialog.<a class="code" href="class_basic_dialog.html#a9efd7646f9ca831901f0c0f7db5196b7">getWhiteAddition</a>());
-<a name="l00053"></a>00053         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="l00054"></a>00054 
-<a name="l00055"></a>00055         <a class="code" href="class_delay_after_clock.html" title="Delay after (Bronstein delay).">DelayAfterClock</a>* black = <span class="keyword">new</span> <a class="code" href="class_delay_after_clock.html" title="Delay after (Bronstein delay).">DelayAfterClock</a>( <span class="keyword">false</span>, dialog.<a class="code" href="class_basic_dialog.html#a36de71762cce473db1b68b0d321c2771">getBlackAddition</a>());
-<a name="l00056"></a>00056         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="l00057"></a>00057 
-<a name="l00058"></a>00058         <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="l00045"></a>00045     <span class="keywordflow">return</span> QIcon(<span class="stringliteral">&quot;:/rc/pic/pauseafter.png&quot;</span>);
+<a name="l00046"></a>00046 }
+<a name="l00047"></a>00047 
+<a name="l00048"></a><a class="code" href="class_delay_after_time_control.html#a9261e9b06c1cc36b07c2d614fd800bce">00048</a> <a class="code" href="class_clocks_widget.html" title="Widget with two clocks.">ClocksWidget</a>* <a class="code" href="class_delay_after_time_control.html#a9261e9b06c1cc36b07c2d614fd800bce" title="Init new game.">DelayAfterTimeControl::initGame</a>(<span class="keywordtype">bool</span> useLastSettings)
+<a name="l00049"></a>00049 {
+<a name="l00050"></a>00050     <a class="code" href="class_basic_dialog.html" title="Basic dialog for Time Control settings.">BasicDialog</a> dialog(<a class="code" href="class_delay_after_time_control.html#af8c89050571857e3f048a86a933fc6b6" title="Name of the time control.">getName</a>());
+<a name="l00051"></a>00051     dialog.<a class="code" href="class_basic_dialog.html#a61a6f0de3698da72f2ec10be6f41fd6b">disablePerTurns</a>();
+<a name="l00052"></a>00052     dialog.<a class="code" href="class_basic_dialog.html#af0a264bc2fb165a0264777d0b6ace16c" title="Load values from settings, or init to initial values.">init</a>();
+<a name="l00053"></a>00053 
+<a name="l00054"></a>00054     <span class="keywordflow">if</span>( useLastSettings || dialog.exec() == QDialog::Accepted)
+<a name="l00055"></a>00055     {
+<a name="l00056"></a>00056         dialog.<a class="code" href="class_basic_dialog.html#a39e8d5e6b6bb54da90b48542abf3c5ce" title="Store values to settings.">store</a>();
+<a name="l00057"></a>00057         <a class="code" href="class_delay_after_clock.html" title="Delay after (Bronstein delay).">DelayAfterClock</a>* white = <span class="keyword">new</span> <a class="code" href="class_delay_after_clock.html" title="Delay after (Bronstein delay).">DelayAfterClock</a>( <span class="keyword">true</span>, dialog.<a class="code" href="class_basic_dialog.html#a9efd7646f9ca831901f0c0f7db5196b7">getWhiteAddition</a>());
+<a name="l00058"></a>00058         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="l00059"></a>00059 
 <a name="l00059"></a>00059 
-<a name="l00060"></a>00060     }
-<a name="l00061"></a>00061     <span class="keywordflow">else</span>
-<a name="l00062"></a>00062         <span class="keywordflow">return</span> 0;
-<a name="l00063"></a>00063 }
+<a name="l00060"></a>00060         <a class="code" href="class_delay_after_clock.html" title="Delay after (Bronstein delay).">DelayAfterClock</a>* black = <span class="keyword">new</span> <a class="code" href="class_delay_after_clock.html" title="Delay after (Bronstein delay).">DelayAfterClock</a>( <span class="keyword">false</span>, dialog.<a class="code" href="class_basic_dialog.html#a36de71762cce473db1b68b0d321c2771">getBlackAddition</a>());
+<a name="l00061"></a>00061         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="l00062"></a>00062 
+<a name="l00063"></a>00063         <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="l00064"></a>00064 
+<a name="l00065"></a>00065     }
+<a name="l00066"></a>00066     <span class="keywordflow">else</span>
+<a name="l00067"></a>00067         <span class="keywordflow">return</span> 0;
+<a name="l00068"></a>00068 }
 </pre></div></div>
 <!--- window showing the filter options -->
 <div id="MSearchSelectWindow"
 </pre></div></div>
 <!--- window showing the filter options -->
 <div id="MSearchSelectWindow"
@@ -120,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
 </iframe>
 </div>
 
 </iframe>
 </div>
 
-<hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Aug 19 21:04:20 2010 for Chess Clock by&nbsp;
+<hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Sep 27 18:30:33 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>
 <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
 </body>