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

97 lines
25 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/boxingsettings.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">boxingsettings.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="boxingsettings_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 BOXINGSETTINGS_H</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define BOXINGSETTINGS_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;QString&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &lt;QStringList&gt;</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#include &lt;QSettings&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#include &lt;QList&gt;</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="preprocessor">#ifdef QT_DEBUG</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="preprocessor"> #include &lt;QDebug&gt;</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_boxing_settings.html"> 20</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_boxing_settings.html">BoxingSettings</a> : <span class="keyword">public</span> QSettings {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; Q_OBJECT</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; Q_PROPERTY(QString preset READ <a class="code" href="class_boxing_settings.html#a2d03c793ed7ad6e97894e21b1f85105b">getPreset</a> WRITE <a class="code" href="class_boxing_settings.html#a71e6d017856266fa95b07ed0030ed05b">setPreset</a> NOTIFY <a class="code" href="class_boxing_settings.html#a811dbd6c80f86ad219bbb9166571a2e9">presetChanged</a>)</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; Q_PROPERTY(QString presetName READ <a class="code" href="class_boxing_settings.html#ac0641004a9f244dcce8056c722685065">getPresetName</a> NOTIFY presetChanged)</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; Q_PROPERTY(<span class="keywordtype">int</span> rounds READ <a class="code" href="class_boxing_settings.html#ae57079ed791d793bfb310712063b1dab">getRounds</a> WRITE <a class="code" href="class_boxing_settings.html#a5fee80840f4bfe8cb0fa95dea161e586">setRounds</a> NOTIFY presetChanged)</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; Q_PROPERTY(<span class="keywordtype">int</span> roundsMs READ <a class="code" href="class_boxing_settings.html#a2b9ff4ab1dbd14f5e8f37b88677e73f4">getRoundMilliseconds</a> WRITE <a class="code" href="class_boxing_settings.html#aaa691ab3a2fa5d1812975207b7e9f9ed">setRoundMilliseconds</a> NOTIFY presetChanged)</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; Q_PROPERTY(<span class="keywordtype">int</span> restMs READ <a class="code" href="class_boxing_settings.html#a84fd6052ef19488b015638c68fa2be72">getRestMilliseconds</a> WRITE <a class="code" href="class_boxing_settings.html#ad7c283d2b4ebe1333c1680a0fd19cb0c">setRestMilliseconds</a> NOTIFY presetChanged)</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; Q_PROPERTY(QList&lt;int&gt; innerTimers READ <a class="code" href="class_boxing_settings.html#abdabae9cd200706c2d207ada15b1c04c">getInnerTimers</a> NOTIFY presetChanged)</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> DefaultRounds = 12;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> DefaultRoundMilliseconds = 3 * 60 * 1000;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keyword">const</span> <span class="keywordtype">int</span> DefaultRestMilliseconds = 60 * 1000;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keyword">const</span> QString DefaultPreset = <span class="stringliteral">&quot;&quot;</span>;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keyword">const</span> QString DefaultPresetName = <span class="stringliteral">&quot;Default&quot;</span>;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; Q_INVOKABLE <span class="keyword">const</span> QStringList <a class="code" href="class_boxing_settings.html#a507b3038f2851cff0d17fffc027019de">presetsList</a>();</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; Q_INVOKABLE <span class="keywordtype">void</span> <a class="code" href="class_boxing_settings.html#a8402eca09f44d4b3773ac1fd12e8dcda">savePreset</a>(<span class="keyword">const</span> QString &amp;name, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;rounds, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;roundMilliseconds, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;restMilliseconds, <span class="keyword">const</span> QList&lt;int&gt; &amp;innerTimers);</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; Q_INVOKABLE <span class="keywordtype">void</span> <a class="code" href="class_boxing_settings.html#a6475be7b9b7eacc3b4a9ca853311b5a9">deletePreset</a>(<span class="keyword">const</span> QString &amp;name);</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; Q_INVOKABLE <span class="keywordtype">int</span> <a class="code" href="class_boxing_settings.html#a7ddc31fa4c9bea682674cb938d2d9e24">getInnerTimer</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;index);</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <a class="code" href="class_boxing_settings.html#a62af206ef42670b751e0cec59c206896">BoxingSettings</a>();</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <a class="code" href="class_boxing_settings.html#a62af206ef42670b751e0cec59c206896">BoxingSettings</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;rounds, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;roundMilliseconds, <span class="keyword">const</span> <span class="keywordtype">int</span> &amp;restMilliseconds);</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="class_boxing_settings.html#ae57079ed791d793bfb310712063b1dab"> 111</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="class_boxing_settings.html#ae57079ed791d793bfb310712063b1dab">getRounds</a>() { <span class="keywordflow">return</span> this-&gt;mRounds; }</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160;</div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="class_boxing_settings.html#a2b9ff4ab1dbd14f5e8f37b88677e73f4"> 118</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="class_boxing_settings.html#a2b9ff4ab1dbd14f5e8f37b88677e73f4">getRoundMilliseconds</a>() { <span class="keywordflow">return</span> this-&gt;mRoundMilliseconds; }</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="class_boxing_settings.html#a84fd6052ef19488b015638c68fa2be72"> 125</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">int</span> <a class="code" href="class_boxing_settings.html#a84fd6052ef19488b015638c68fa2be72">getRestMilliseconds</a>() { <span class="keywordflow">return</span> this-&gt;mRestMilliseconds; }</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="class_boxing_settings.html#abdabae9cd200706c2d207ada15b1c04c"> 132</a></span>&#160; <span class="keyword">inline</span> QList&lt;int&gt; <a class="code" href="class_boxing_settings.html#abdabae9cd200706c2d207ada15b1c04c">getInnerTimers</a>() { <span class="keywordflow">return</span> this-&gt;mInnerTimers; }</div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="class_boxing_settings.html#a2d03c793ed7ad6e97894e21b1f85105b"> 139</a></span>&#160; <span class="keyword">inline</span> QString <a class="code" href="class_boxing_settings.html#a2d03c793ed7ad6e97894e21b1f85105b">getPreset</a>() { <span class="keywordflow">return</span> this-&gt;mPreset; }</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="class_boxing_settings.html#ac0641004a9f244dcce8056c722685065"> 146</a></span>&#160; <span class="keyword">inline</span> QString <a class="code" href="class_boxing_settings.html#ac0641004a9f244dcce8056c722685065">getPresetName</a>() { <span class="keywordflow">return</span> this-&gt;mPresetName; }</div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;</div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="class_boxing_settings.html#a5fee80840f4bfe8cb0fa95dea161e586"> 154</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="class_boxing_settings.html#a5fee80840f4bfe8cb0fa95dea161e586">setRounds</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;rounds) { mRounds = rounds; }</div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="class_boxing_settings.html#aaa691ab3a2fa5d1812975207b7e9f9ed"> 162</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="class_boxing_settings.html#aaa691ab3a2fa5d1812975207b7e9f9ed">setRoundMilliseconds</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;roundMilliseconds) { mRoundMilliseconds = roundMilliseconds; }</div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="class_boxing_settings.html#ad7c283d2b4ebe1333c1680a0fd19cb0c"> 170</a></span>&#160; <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="class_boxing_settings.html#ad7c283d2b4ebe1333c1680a0fd19cb0c">setRestMilliseconds</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> &amp;restMilliseconds) { mRestMilliseconds = restMilliseconds; }</div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160;</div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_boxing_settings.html#a71e6d017856266fa95b07ed0030ed05b">setPreset</a>(<span class="keyword">const</span> QString &amp;preset);</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; <span class="keyword">private</span>:</div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="keywordtype">int</span> mRounds;</div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="keywordtype">int</span> mRoundMilliseconds;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordtype">int</span> mRestMilliseconds;</div><div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160;</div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; QList&lt;int&gt; mInnerTimers;</div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;</div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; QString mPreset;</div><div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; QString mPresetName;</div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;</div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; <span class="keywordtype">void</span> loadPreset();</div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160;</div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; <span class="keywordtype">void</span> setDefaultPreset();</div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;</div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span>&#160; <span class="keyword">inline</span> <span class="keyword">const</span> QString convertRichNameToGroup(<span class="keyword">const</span> QString &amp;richName) { <span class="keywordflow">return</span> richName.toLower().simplified().replace(<span class="stringliteral">&quot; &quot;</span>, <span class="stringliteral">&quot;&quot;</span>); }</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; signals:</div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_boxing_settings.html#a811dbd6c80f86ad219bbb9166571a2e9">presetChanged</a>();</div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;};</div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;</div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;<span class="preprocessor">#endif // BOXINGSETTINGS_H</span></div><div class="ttc" id="class_boxing_settings_html_ad7c283d2b4ebe1333c1680a0fd19cb0c"><div class="ttname"><a href="class_boxing_settings.html#ad7c283d2b4ebe1333c1680a0fd19cb0c">BoxingSettings::setRestMilliseconds</a></div><div class="ttdeci">void setRestMilliseconds(const int &amp;restMilliseconds)</div><div class="ttdoc">Setter for milliseconds of rest. </div><div class="ttdef"><b>Definition:</b> boxingsettings.h:170</div></div>
<div class="ttc" id="class_boxing_settings_html_a71e6d017856266fa95b07ed0030ed05b"><div class="ttname"><a href="class_boxing_settings.html#a71e6d017856266fa95b07ed0030ed05b">BoxingSettings::setPreset</a></div><div class="ttdeci">void setPreset(const QString &amp;preset)</div><div class="ttdoc">Setter for preset. </div><div class="ttdef"><b>Definition:</b> boxingsettings.cpp:26</div></div>
<div class="ttc" id="class_boxing_settings_html_a2d03c793ed7ad6e97894e21b1f85105b"><div class="ttname"><a href="class_boxing_settings.html#a2d03c793ed7ad6e97894e21b1f85105b">BoxingSettings::getPreset</a></div><div class="ttdeci">QString getPreset()</div><div class="ttdef"><b>Definition:</b> boxingsettings.h:139</div></div>
<div class="ttc" id="class_boxing_settings_html_a507b3038f2851cff0d17fffc027019de"><div class="ttname"><a href="class_boxing_settings.html#a507b3038f2851cff0d17fffc027019de">BoxingSettings::presetsList</a></div><div class="ttdeci">Q_INVOKABLE const QStringList presetsList()</div><div class="ttdef"><b>Definition:</b> boxingsettings.cpp:90</div></div>
<div class="ttc" id="class_boxing_settings_html_abdabae9cd200706c2d207ada15b1c04c"><div class="ttname"><a href="class_boxing_settings.html#abdabae9cd200706c2d207ada15b1c04c">BoxingSettings::getInnerTimers</a></div><div class="ttdeci">QList&lt; int &gt; getInnerTimers()</div><div class="ttdoc">gerInnerTimers() </div><div class="ttdef"><b>Definition:</b> boxingsettings.h:132</div></div>
<div class="ttc" id="class_boxing_settings_html_a5fee80840f4bfe8cb0fa95dea161e586"><div class="ttname"><a href="class_boxing_settings.html#a5fee80840f4bfe8cb0fa95dea161e586">BoxingSettings::setRounds</a></div><div class="ttdeci">void setRounds(const int &amp;rounds)</div><div class="ttdoc">Setter for number of rounds. </div><div class="ttdef"><b>Definition:</b> boxingsettings.h:154</div></div>
<div class="ttc" id="class_boxing_settings_html_a811dbd6c80f86ad219bbb9166571a2e9"><div class="ttname"><a href="class_boxing_settings.html#a811dbd6c80f86ad219bbb9166571a2e9">BoxingSettings::presetChanged</a></div><div class="ttdeci">void presetChanged()</div></div>
<div class="ttc" id="class_boxing_settings_html_a84fd6052ef19488b015638c68fa2be72"><div class="ttname"><a href="class_boxing_settings.html#a84fd6052ef19488b015638c68fa2be72">BoxingSettings::getRestMilliseconds</a></div><div class="ttdeci">int getRestMilliseconds()</div><div class="ttdef"><b>Definition:</b> boxingsettings.h:125</div></div>
<div class="ttc" id="class_boxing_settings_html_a2b9ff4ab1dbd14f5e8f37b88677e73f4"><div class="ttname"><a href="class_boxing_settings.html#a2b9ff4ab1dbd14f5e8f37b88677e73f4">BoxingSettings::getRoundMilliseconds</a></div><div class="ttdeci">int getRoundMilliseconds()</div><div class="ttdef"><b>Definition:</b> boxingsettings.h:118</div></div>
<div class="ttc" id="class_boxing_settings_html_a6475be7b9b7eacc3b4a9ca853311b5a9"><div class="ttname"><a href="class_boxing_settings.html#a6475be7b9b7eacc3b4a9ca853311b5a9">BoxingSettings::deletePreset</a></div><div class="ttdeci">Q_INVOKABLE void deletePreset(const QString &amp;name)</div><div class="ttdoc">Delete a specified preset. </div><div class="ttdef"><b>Definition:</b> boxingsettings.cpp:78</div></div>
<div class="ttc" id="class_boxing_settings_html_ac0641004a9f244dcce8056c722685065"><div class="ttname"><a href="class_boxing_settings.html#ac0641004a9f244dcce8056c722685065">BoxingSettings::getPresetName</a></div><div class="ttdeci">QString getPresetName()</div><div class="ttdef"><b>Definition:</b> boxingsettings.h:146</div></div>
<div class="ttc" id="class_boxing_settings_html_a7ddc31fa4c9bea682674cb938d2d9e24"><div class="ttname"><a href="class_boxing_settings.html#a7ddc31fa4c9bea682674cb938d2d9e24">BoxingSettings::getInnerTimer</a></div><div class="ttdeci">Q_INVOKABLE int getInnerTimer(const int &amp;index)</div><div class="ttdoc">getInnerTimer(const int &amp;index) </div><div class="ttdef"><b>Definition:</b> boxingsettings.cpp:100</div></div>
<div class="ttc" id="class_boxing_settings_html_a8402eca09f44d4b3773ac1fd12e8dcda"><div class="ttname"><a href="class_boxing_settings.html#a8402eca09f44d4b3773ac1fd12e8dcda">BoxingSettings::savePreset</a></div><div class="ttdeci">Q_INVOKABLE void savePreset(const QString &amp;name, const int &amp;rounds, const int &amp;roundMilliseconds, const int &amp;restMilliseconds, const QList&lt; int &gt; &amp;innerTimers)</div><div class="ttdoc">Save or override settings about specific preset. </div><div class="ttdef"><b>Definition:</b> boxingsettings.cpp:64</div></div>
<div class="ttc" id="class_boxing_settings_html_a62af206ef42670b751e0cec59c206896"><div class="ttname"><a href="class_boxing_settings.html#a62af206ef42670b751e0cec59c206896">BoxingSettings::BoxingSettings</a></div><div class="ttdeci">BoxingSettings()</div><div class="ttdef"><b>Definition:</b> boxingsettings.cpp:6</div></div>
<div class="ttc" id="class_boxing_settings_html_ae57079ed791d793bfb310712063b1dab"><div class="ttname"><a href="class_boxing_settings.html#ae57079ed791d793bfb310712063b1dab">BoxingSettings::getRounds</a></div><div class="ttdeci">int getRounds()</div><div class="ttdef"><b>Definition:</b> boxingsettings.h:111</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_settings_html_aaa691ab3a2fa5d1812975207b7e9f9ed"><div class="ttname"><a href="class_boxing_settings.html#aaa691ab3a2fa5d1812975207b7e9f9ed">BoxingSettings::setRoundMilliseconds</a></div><div class="ttdeci">void setRoundMilliseconds(const int &amp;roundMilliseconds)</div><div class="ttdoc">Setter for duration of round (in milliseconds) </div><div class="ttdef"><b>Definition:</b> boxingsettings.h:162</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>