harbour-boxing-timer/documentation/html/boxingtimer_8h_source.html

106 lines
28 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Boxing Timer: src/boxingtimer.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="harbour-boxing-timer.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Boxing Timer
&#160;<span id="projectnumber">0.1a</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">boxingtimer.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="boxingtimer_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef BOXINGTIMER_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define BOXINGTIMER_H</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &lt;QTimer&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &lt;QString&gt;</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#include &lt;QStringList&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#ifdef QT_DEBUG</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor"> #include &lt;QDebug&gt;</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="keyword">class </span>QSound;</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="keyword">class </span><a class="code" href="class_boxing_settings.html">BoxingSettings</a>;</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="class_boxing_timer.html"> 27</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_boxing_timer.html">BoxingTimer</a> : <span class="keyword">public</span> QTimer {</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; Q_OBJECT</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; Q_ENUMS(<a class="code" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">Status</a>)</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; Q_PROPERTY(QString <a class="code" href="class_boxing_timer.html#adddbecef36c86e650439141a7bf22ea4">remainingTimeToString</a> READ <a class="code" href="class_boxing_timer.html#adddbecef36c86e650439141a7bf22ea4">remainingTimeToString</a> NOTIFY <a class="code" href="class_boxing_timer.html#a3ef71d6ec54505732d9d5b96c5af1747">remainingTimeToStringChanged</a>)</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; Q_PROPERTY(QString <a class="code" href="class_boxing_timer.html#a808ea8addb66a3a6f9270e56ed2518cf">roundsToString</a> READ <a class="code" href="class_boxing_timer.html#a808ea8addb66a3a6f9270e56ed2518cf">roundsToString</a> NOTIFY <a class="code" href="class_boxing_timer.html#a2c8d9c3c9916fc1ed65fb9545565835f">roundsToStringChanged</a>)</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; Q_PROPERTY(<a class="code" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">Status</a> status READ <a class="code" href="class_boxing_timer.html#a091d7fb11525455766c19d6b9c250fa4">getStatus</a> WRITE <a class="code" href="class_boxing_timer.html#aa097f85ad7fd3602cc2583c3cc6c4d5e">setStatus</a> NOTIFY <a class="code" href="class_boxing_timer.html#ab3d16c454a2fac620bb84721c105485a">statusChanged</a>)</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; Q_PROPERTY(<span class="keywordtype">bool</span> isActive READ isActive NOTIFY <a class="code" href="class_boxing_timer.html#a4f2001335cd6249a350d87708b785de5">activeChanged</a>)</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; Q_PROPERTY(QString preset READ <a class="code" href="class_boxing_timer.html#aae9b18b16d38e1dd98a33ff0d0bed959">getPreset</a> NOTIFY <a class="code" href="class_boxing_timer.html#a96dae97c68363403d732d74461d01499">presetChanged</a>)</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; Q_INVOKABLE <span class="keywordtype">void</span> <a class="code" href="class_boxing_timer.html#a34f9e66cbe5bead806037a7ce882da4d">restore</a>();</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; Q_INVOKABLE <span class="keywordtype">void</span> <a class="code" href="class_boxing_timer.html#af8e0f0d2a34946e0a20562bfb187adbe">loadPreset</a>(<span class="keyword">const</span> QString &amp;preset);</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keyword">explicit</span> <a class="code" href="class_boxing_timer.html#ad5a57c7272222f91a75363bdad6543ba">BoxingTimer</a>();</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keyword">const</span> QString <a class="code" href="class_boxing_timer.html#a808ea8addb66a3a6f9270e56ed2518cf">roundsToString</a>();</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keyword">const</span> QString <a class="code" href="class_boxing_timer.html#adddbecef36c86e650439141a7bf22ea4">remainingTimeToString</a>();</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558"> 91</a></span>&#160; <span class="keyword">enum class</span> <a class="code" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">Status</a> : short {</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <a class="code" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a7a1920d61156abc05a60135aefe8bc67">Default</a> = 0,</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <a class="code" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558aa6122a65eaa676f700ae68d393054a37">Start</a>,</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <a class="code" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a55276c10d84e1df7713b441e76e141f9">Rest</a>,</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <a class="code" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a105b296a83f9c105355403f3332af50f">Pause</a>,</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <a class="code" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a526d688f37a86d3c3f27d0c5016eb71d">Reset</a>,</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <a class="code" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a11a755d598c0c417f9a36758c3da7481">Stop</a></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; };</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="class_boxing_timer.html#a091d7fb11525455766c19d6b9c250fa4"> 105</a></span>&#160; <a class="code" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">Status</a> <a class="code" href="class_boxing_timer.html#a091d7fb11525455766c19d6b9c250fa4">getStatus</a>() { <span class="keywordflow">return</span> this-&gt;mStatus; }</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_boxing_timer.html#aa097f85ad7fd3602cc2583c3cc6c4d5e">setStatus</a>(<span class="keyword">const</span> <a class="code" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">Status</a> &amp;status);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="keyword">const</span> QString <a class="code" href="class_boxing_timer.html#aae9b18b16d38e1dd98a33ff0d0bed959">getPreset</a>();</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="keyword">public</span> slots:</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_boxing_timer.html#add8675aed0b0f7f2a90482456c63c8f3">applyStatus</a>();</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_boxing_timer.html#a31cea07043d1be260db69767ccf96871">updateRemainingMilliseconds</a>();</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <span class="keyword">protected</span>:</div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_boxing_timer.html#aa294afc288608f91eb00d1680db67738">stop</a>();</div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_boxing_timer.html#a64ae1d3a8bfe52b225658bf4121dcdfa">start</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;milliseconds);</div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="keywordtype">int</span> mRound;</div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordtype">int</span> mRoundsMilliseconds;</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordtype">int</span> mRemainingMilliseconds;</div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;</div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; <span class="keywordtype">int</span> mInnerTime;</div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="keywordtype">int</span> mNumberOfInnerTimers;</div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keywordtype">int</span> mInnerRemainingMilliseconds;</div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <span class="keywordtype">void</span> setRemainingMilliseconds(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;milliseconds);</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keywordtype">void</span> setRound(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;round);</div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; QSound *playBell;</div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; QSound *restBell;</div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; QSound *stopBell;</div><div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; QSound *innerBell;</div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160;</div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <span class="keywordtype">void</span> songsBell();</div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160;</div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <a class="code" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">Status</a> mStatus;</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <a class="code" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">Status</a> mOldStatus;</div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <a class="code" href="class_boxing_settings.html">BoxingSettings</a> *settings;</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="keywordtype">void</span> nextRound();</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160;</div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <span class="keywordtype">void</span> updateInnerRemainingMilliseconds();</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; <span class="keywordtype">void</span> setInnerTimers();</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160;</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; signals:</div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_boxing_timer.html#a3ef71d6ec54505732d9d5b96c5af1747">remainingTimeToStringChanged</a>();</div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_boxing_timer.html#a2c8d9c3c9916fc1ed65fb9545565835f">roundsToStringChanged</a>();</div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160;</div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_boxing_timer.html#ab3d16c454a2fac620bb84721c105485a">statusChanged</a>();</div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_boxing_timer.html#a96dae97c68363403d732d74461d01499">presetChanged</a>();</div><div class="line"><a name="l00209"></a><span class="lineno"> 209</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_boxing_timer.html#a4f2001335cd6249a350d87708b785de5">activeChanged</a>();</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160;};</div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;</div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160;Q_DECLARE_METATYPE(<a class="code" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">BoxingTimer::Status</a>)</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;<span class="preprocessor">#endif // BOXINGTIMER_H</span></div><div class="ttc" id="class_boxing_timer_html_af2a4f0a0658b3685b2e0bcd965dca558aa6122a65eaa676f700ae68d393054a37"><div class="ttname"><a href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558aa6122a65eaa676f700ae68d393054a37">BoxingTimer::Status::Start</a></div></div>
<div class="ttc" id="class_boxing_timer_html_ad5a57c7272222f91a75363bdad6543ba"><div class="ttname"><a href="class_boxing_timer.html#ad5a57c7272222f91a75363bdad6543ba">BoxingTimer::BoxingTimer</a></div><div class="ttdeci">BoxingTimer()</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> boxingtimer.cpp:9</div></div>
<div class="ttc" id="class_boxing_timer_html_af2a4f0a0658b3685b2e0bcd965dca558a11a755d598c0c417f9a36758c3da7481"><div class="ttname"><a href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a11a755d598c0c417f9a36758c3da7481">BoxingTimer::Status::Stop</a></div></div>
<div class="ttc" id="class_boxing_timer_html_af8e0f0d2a34946e0a20562bfb187adbe"><div class="ttname"><a href="class_boxing_timer.html#af8e0f0d2a34946e0a20562bfb187adbe">BoxingTimer::loadPreset</a></div><div class="ttdeci">Q_INVOKABLE void loadPreset(const QString &amp;preset)</div><div class="ttdoc">Load the preset to change settings of timer. </div><div class="ttdef"><b>Definition:</b> boxingtimer.cpp:190</div></div>
<div class="ttc" id="class_boxing_timer_html_af2a4f0a0658b3685b2e0bcd965dca558a7a1920d61156abc05a60135aefe8bc67"><div class="ttname"><a href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a7a1920d61156abc05a60135aefe8bc67">BoxingTimer::Status::Default</a></div></div>
<div class="ttc" id="class_boxing_timer_html_adddbecef36c86e650439141a7bf22ea4"><div class="ttname"><a href="class_boxing_timer.html#adddbecef36c86e650439141a7bf22ea4">BoxingTimer::remainingTimeToString</a></div><div class="ttdeci">const QString remainingTimeToString()</div><div class="ttdoc">Convert remaining milliseconds in human readable time. </div><div class="ttdef"><b>Definition:</b> boxingtimer.cpp:155</div></div>
<div class="ttc" id="class_boxing_timer_html_a34f9e66cbe5bead806037a7ce882da4d"><div class="ttname"><a href="class_boxing_timer.html#a34f9e66cbe5bead806037a7ce882da4d">BoxingTimer::restore</a></div><div class="ttdeci">Q_INVOKABLE void restore()</div><div class="ttdoc">Start or restore the timer. </div><div class="ttdef"><b>Definition:</b> boxingtimer.cpp:169</div></div>
<div class="ttc" id="class_boxing_timer_html_aa294afc288608f91eb00d1680db67738"><div class="ttname"><a href="class_boxing_timer.html#aa294afc288608f91eb00d1680db67738">BoxingTimer::stop</a></div><div class="ttdeci">void stop()</div><div class="ttdoc">Override of stop function to emit statusChanged() signal. </div><div class="ttdef"><b>Definition:</b> boxingtimer.cpp:56</div></div>
<div class="ttc" id="class_boxing_timer_html_a808ea8addb66a3a6f9270e56ed2518cf"><div class="ttname"><a href="class_boxing_timer.html#a808ea8addb66a3a6f9270e56ed2518cf">BoxingTimer::roundsToString</a></div><div class="ttdeci">const QString roundsToString()</div><div class="ttdoc">Convert round and total rounds for view. </div><div class="ttdef"><b>Definition:</b> boxingtimer.cpp:177</div></div>
<div class="ttc" id="class_boxing_timer_html_af2a4f0a0658b3685b2e0bcd965dca558"><div class="ttname"><a href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">BoxingTimer::Status</a></div><div class="ttdeci">Status</div><div class="ttdoc">Define the status of the timer Some statuses are not saved, they are used to activate something...</div><div class="ttdef"><b>Definition:</b> boxingtimer.h:91</div></div>
<div class="ttc" id="class_boxing_timer_html_a64ae1d3a8bfe52b225658bf4121dcdfa"><div class="ttname"><a href="class_boxing_timer.html#a64ae1d3a8bfe52b225658bf4121dcdfa">BoxingTimer::start</a></div><div class="ttdeci">void start(const int &amp;milliseconds)</div><div class="ttdoc">Override of start function to emit statusChanged() signal. </div><div class="ttdef"><b>Definition:</b> boxingtimer.cpp:62</div></div>
<div class="ttc" id="class_boxing_timer_html_aa097f85ad7fd3602cc2583c3cc6c4d5e"><div class="ttname"><a href="class_boxing_timer.html#aa097f85ad7fd3602cc2583c3cc6c4d5e">BoxingTimer::setStatus</a></div><div class="ttdeci">void setStatus(const Status &amp;status)</div><div class="ttdef"><b>Definition:</b> boxingtimer.cpp:46</div></div>
<div class="ttc" id="class_boxing_timer_html_a4f2001335cd6249a350d87708b785de5"><div class="ttname"><a href="class_boxing_timer.html#a4f2001335cd6249a350d87708b785de5">BoxingTimer::activeChanged</a></div><div class="ttdeci">void activeChanged()</div></div>
<div class="ttc" id="class_boxing_timer_html_a2c8d9c3c9916fc1ed65fb9545565835f"><div class="ttname"><a href="class_boxing_timer.html#a2c8d9c3c9916fc1ed65fb9545565835f">BoxingTimer::roundsToStringChanged</a></div><div class="ttdeci">void roundsToStringChanged()</div></div>
<div class="ttc" id="class_boxing_timer_html_ab3d16c454a2fac620bb84721c105485a"><div class="ttname"><a href="class_boxing_timer.html#ab3d16c454a2fac620bb84721c105485a">BoxingTimer::statusChanged</a></div><div class="ttdeci">void statusChanged()</div></div>
<div class="ttc" id="class_boxing_timer_html_a091d7fb11525455766c19d6b9c250fa4"><div class="ttname"><a href="class_boxing_timer.html#a091d7fb11525455766c19d6b9c250fa4">BoxingTimer::getStatus</a></div><div class="ttdeci">Status getStatus()</div><div class="ttdef"><b>Definition:</b> boxingtimer.h:105</div></div>
<div class="ttc" id="class_boxing_timer_html_add8675aed0b0f7f2a90482456c63c8f3"><div class="ttname"><a href="class_boxing_timer.html#add8675aed0b0f7f2a90482456c63c8f3">BoxingTimer::applyStatus</a></div><div class="ttdeci">void applyStatus()</div><div class="ttdoc">Apply status and exec relative functions. </div><div class="ttdef"><b>Definition:</b> boxingtimer.cpp:68</div></div>
<div class="ttc" id="class_boxing_timer_html_a96dae97c68363403d732d74461d01499"><div class="ttname"><a href="class_boxing_timer.html#a96dae97c68363403d732d74461d01499">BoxingTimer::presetChanged</a></div><div class="ttdeci">void presetChanged()</div></div>
<div class="ttc" id="class_boxing_timer_html_a31cea07043d1be260db69767ccf96871"><div class="ttname"><a href="class_boxing_timer.html#a31cea07043d1be260db69767ccf96871">BoxingTimer::updateRemainingMilliseconds</a></div><div class="ttdeci">void updateRemainingMilliseconds()</div><div class="ttdoc">Switch milliseconds from round to rest and back. </div><div class="ttdef"><b>Definition:</b> boxingtimer.cpp:107</div></div>
<div class="ttc" id="class_boxing_settings_html"><div class="ttname"><a href="class_boxing_settings.html">BoxingSettings</a></div><div class="ttdoc">Handle settings about timer. Can save, load and delete a specific preset. </div><div class="ttdef"><b>Definition:</b> boxingsettings.h:20</div></div>
<div class="ttc" id="class_boxing_timer_html_af2a4f0a0658b3685b2e0bcd965dca558a105b296a83f9c105355403f3332af50f"><div class="ttname"><a href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a105b296a83f9c105355403f3332af50f">BoxingTimer::Status::Pause</a></div></div>
<div class="ttc" id="class_boxing_timer_html"><div class="ttname"><a href="class_boxing_timer.html">BoxingTimer</a></div><div class="ttdoc">Boxing timer class. </div><div class="ttdef"><b>Definition:</b> boxingtimer.h:27</div></div>
<div class="ttc" id="class_boxing_timer_html_a3ef71d6ec54505732d9d5b96c5af1747"><div class="ttname"><a href="class_boxing_timer.html#a3ef71d6ec54505732d9d5b96c5af1747">BoxingTimer::remainingTimeToStringChanged</a></div><div class="ttdeci">void remainingTimeToStringChanged()</div></div>
<div class="ttc" id="class_boxing_timer_html_aae9b18b16d38e1dd98a33ff0d0bed959"><div class="ttname"><a href="class_boxing_timer.html#aae9b18b16d38e1dd98a33ff0d0bed959">BoxingTimer::getPreset</a></div><div class="ttdeci">const QString getPreset()</div><div class="ttdef"><b>Definition:</b> boxingtimer.cpp:30</div></div>
<div class="ttc" id="class_boxing_timer_html_af2a4f0a0658b3685b2e0bcd965dca558a526d688f37a86d3c3f27d0c5016eb71d"><div class="ttname"><a href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a526d688f37a86d3c3f27d0c5016eb71d">BoxingTimer::Status::Reset</a></div></div>
<div class="ttc" id="class_boxing_timer_html_af2a4f0a0658b3685b2e0bcd965dca558a55276c10d84e1df7713b441e76e141f9"><div class="ttname"><a href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a55276c10d84e1df7713b441e76e141f9">BoxingTimer::Status::Rest</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>