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

629 lines
31 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: BoxingTimer Class Reference</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="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><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="class_boxing_timer-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">BoxingTimer Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Boxing timer class.
<a href="class_boxing_timer.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="boxingtimer_8h_source.html">boxingtimer.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for BoxingTimer:</div>
<div class="dyncontent">
<div class="center">
<img src="class_boxing_timer.png" usemap="#BoxingTimer_map" alt=""/>
<map id="BoxingTimer_map" name="BoxingTimer_map">
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:af2a4f0a0658b3685b2e0bcd965dca558"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">Status</a> : short { <br />
&#160;&#160;<a class="el" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a7a1920d61156abc05a60135aefe8bc67">Status::Default</a> = 0,
<a class="el" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558aa6122a65eaa676f700ae68d393054a37">Status::Start</a>,
<a class="el" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a55276c10d84e1df7713b441e76e141f9">Status::Rest</a>,
<a class="el" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a105b296a83f9c105355403f3332af50f">Status::Pause</a>,
<br />
&#160;&#160;<a class="el" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a526d688f37a86d3c3f27d0c5016eb71d">Status::Reset</a>,
<a class="el" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558a11a755d598c0c417f9a36758c3da7481">Status::Stop</a>
<br />
}<tr class="memdesc:af2a4f0a0658b3685b2e0bcd965dca558"><td class="mdescLeft">&#160;</td><td class="mdescRight">Define the status of the timer Some statuses are not saved, they are used to activate something. <a href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:af2a4f0a0658b3685b2e0bcd965dca558"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr class="memitem:add8675aed0b0f7f2a90482456c63c8f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#add8675aed0b0f7f2a90482456c63c8f3">applyStatus</a> ()</td></tr>
<tr class="memdesc:add8675aed0b0f7f2a90482456c63c8f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Apply status and exec relative functions. <a href="#add8675aed0b0f7f2a90482456c63c8f3">More...</a><br /></td></tr>
<tr class="separator:add8675aed0b0f7f2a90482456c63c8f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31cea07043d1be260db69767ccf96871"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#a31cea07043d1be260db69767ccf96871">updateRemainingMilliseconds</a> ()</td></tr>
<tr class="memdesc:a31cea07043d1be260db69767ccf96871"><td class="mdescLeft">&#160;</td><td class="mdescRight">Switch milliseconds from round to rest and back. <a href="#a31cea07043d1be260db69767ccf96871">More...</a><br /></td></tr>
<tr class="separator:a31cea07043d1be260db69767ccf96871"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:a3ef71d6ec54505732d9d5b96c5af1747"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#a3ef71d6ec54505732d9d5b96c5af1747">remainingTimeToStringChanged</a> ()</td></tr>
<tr class="separator:a3ef71d6ec54505732d9d5b96c5af1747"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c8d9c3c9916fc1ed65fb9545565835f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#a2c8d9c3c9916fc1ed65fb9545565835f">roundsToStringChanged</a> ()</td></tr>
<tr class="separator:a2c8d9c3c9916fc1ed65fb9545565835f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3d16c454a2fac620bb84721c105485a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#ab3d16c454a2fac620bb84721c105485a">statusChanged</a> ()</td></tr>
<tr class="separator:ab3d16c454a2fac620bb84721c105485a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96dae97c68363403d732d74461d01499"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#a96dae97c68363403d732d74461d01499">presetChanged</a> ()</td></tr>
<tr class="separator:a96dae97c68363403d732d74461d01499"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f2001335cd6249a350d87708b785de5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#a4f2001335cd6249a350d87708b785de5">activeChanged</a> ()</td></tr>
<tr class="separator:a4f2001335cd6249a350d87708b785de5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a34f9e66cbe5bead806037a7ce882da4d"><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#a34f9e66cbe5bead806037a7ce882da4d">restore</a> ()</td></tr>
<tr class="memdesc:a34f9e66cbe5bead806037a7ce882da4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start or restore the timer. <a href="#a34f9e66cbe5bead806037a7ce882da4d">More...</a><br /></td></tr>
<tr class="separator:a34f9e66cbe5bead806037a7ce882da4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8e0f0d2a34946e0a20562bfb187adbe"><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#af8e0f0d2a34946e0a20562bfb187adbe">loadPreset</a> (const QString &amp;preset)</td></tr>
<tr class="memdesc:af8e0f0d2a34946e0a20562bfb187adbe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Load the preset to change settings of timer. <a href="#af8e0f0d2a34946e0a20562bfb187adbe">More...</a><br /></td></tr>
<tr class="separator:af8e0f0d2a34946e0a20562bfb187adbe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5a57c7272222f91a75363bdad6543ba"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#ad5a57c7272222f91a75363bdad6543ba">BoxingTimer</a> ()</td></tr>
<tr class="memdesc:ad5a57c7272222f91a75363bdad6543ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <a href="#ad5a57c7272222f91a75363bdad6543ba">More...</a><br /></td></tr>
<tr class="separator:ad5a57c7272222f91a75363bdad6543ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a808ea8addb66a3a6f9270e56ed2518cf"><td class="memItemLeft" align="right" valign="top">const QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#a808ea8addb66a3a6f9270e56ed2518cf">roundsToString</a> ()</td></tr>
<tr class="memdesc:a808ea8addb66a3a6f9270e56ed2518cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert round and total rounds for view. <a href="#a808ea8addb66a3a6f9270e56ed2518cf">More...</a><br /></td></tr>
<tr class="separator:a808ea8addb66a3a6f9270e56ed2518cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adddbecef36c86e650439141a7bf22ea4"><td class="memItemLeft" align="right" valign="top">const QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#adddbecef36c86e650439141a7bf22ea4">remainingTimeToString</a> ()</td></tr>
<tr class="memdesc:adddbecef36c86e650439141a7bf22ea4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert remaining milliseconds in human readable time. <a href="#adddbecef36c86e650439141a7bf22ea4">More...</a><br /></td></tr>
<tr class="separator:adddbecef36c86e650439141a7bf22ea4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a091d7fb11525455766c19d6b9c250fa4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">Status</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#a091d7fb11525455766c19d6b9c250fa4">getStatus</a> ()</td></tr>
<tr class="separator:a091d7fb11525455766c19d6b9c250fa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa097f85ad7fd3602cc2583c3cc6c4d5e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#aa097f85ad7fd3602cc2583c3cc6c4d5e">setStatus</a> (const <a class="el" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">Status</a> &amp;status)</td></tr>
<tr class="separator:aa097f85ad7fd3602cc2583c3cc6c4d5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae9b18b16d38e1dd98a33ff0d0bed959"><td class="memItemLeft" align="right" valign="top">const QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#aae9b18b16d38e1dd98a33ff0d0bed959">getPreset</a> ()</td></tr>
<tr class="separator:aae9b18b16d38e1dd98a33ff0d0bed959"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:aa294afc288608f91eb00d1680db67738"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#aa294afc288608f91eb00d1680db67738">stop</a> ()</td></tr>
<tr class="memdesc:aa294afc288608f91eb00d1680db67738"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override of stop function to emit <a class="el" href="class_boxing_timer.html#ab3d16c454a2fac620bb84721c105485a">statusChanged()</a> signal. <a href="#aa294afc288608f91eb00d1680db67738">More...</a><br /></td></tr>
<tr class="separator:aa294afc288608f91eb00d1680db67738"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64ae1d3a8bfe52b225658bf4121dcdfa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_timer.html#a64ae1d3a8bfe52b225658bf4121dcdfa">start</a> (const int &amp;milliseconds)</td></tr>
<tr class="memdesc:a64ae1d3a8bfe52b225658bf4121dcdfa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override of start function to emit <a class="el" href="class_boxing_timer.html#ab3d16c454a2fac620bb84721c105485a">statusChanged()</a> signal. <a href="#a64ae1d3a8bfe52b225658bf4121dcdfa">More...</a><br /></td></tr>
<tr class="separator:a64ae1d3a8bfe52b225658bf4121dcdfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Boxing timer class. </p>
<dl class="section author"><dt>Author</dt><dd>Claudio Maradonna <a href="#" onclick="location.href='mai'+'lto:'+'cla'+'ud'+'io@'+'un'+'ito'+'o.'+'pw'; return false;">claud<span style="display: none;">.nosp@m.</span>io@u<span style="display: none;">.nosp@m.</span>nitoo<span style="display: none;">.nosp@m.</span>.pw</a></dd></dl>
<p>Inherit QTimer class and add some properties to handle rest and rounds for training </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="af2a4f0a0658b3685b2e0bcd965dca558"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2a4f0a0658b3685b2e0bcd965dca558">&#9670;&nbsp;</a></span>Status</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">BoxingTimer::Status</a> : short</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Define the status of the timer Some statuses are not saved, they are used to activate something. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="af2a4f0a0658b3685b2e0bcd965dca558a7a1920d61156abc05a60135aefe8bc67"></a>Default&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="af2a4f0a0658b3685b2e0bcd965dca558aa6122a65eaa676f700ae68d393054a37"></a>Start&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="af2a4f0a0658b3685b2e0bcd965dca558a55276c10d84e1df7713b441e76e141f9"></a>Rest&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="af2a4f0a0658b3685b2e0bcd965dca558a105b296a83f9c105355403f3332af50f"></a>Pause&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="af2a4f0a0658b3685b2e0bcd965dca558a526d688f37a86d3c3f27d0c5016eb71d"></a>Reset&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="af2a4f0a0658b3685b2e0bcd965dca558a11a755d598c0c417f9a36758c3da7481"></a>Stop&#160;</td><td class="fielddoc"></td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad5a57c7272222f91a75363bdad6543ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5a57c7272222f91a75363bdad6543ba">&#9670;&nbsp;</a></span>BoxingTimer()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">BoxingTimer::BoxingTimer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Default constructor. </p>
<dl class="section author"><dt>Author</dt><dd>Claudio Maradonna <a href="#" onclick="location.href='mai'+'lto:'+'cla'+'ud'+'io@'+'un'+'ito'+'o.'+'pw'; return false;">claud<span style="display: none;">.nosp@m.</span>io@u<span style="display: none;">.nosp@m.</span>nitoo<span style="display: none;">.nosp@m.</span>.pw</a></dd></dl>
<p>mRound set to 0 with a very coarse timer. Load default settings. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a4f2001335cd6249a350d87708b785de5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f2001335cd6249a350d87708b785de5">&#9670;&nbsp;</a></span>activeChanged</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BoxingTimer::activeChanged </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="add8675aed0b0f7f2a90482456c63c8f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add8675aed0b0f7f2a90482456c63c8f3">&#9670;&nbsp;</a></span>applyStatus</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BoxingTimer::applyStatus </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Apply status and exec relative functions. </p>
</div>
</div>
<a id="aae9b18b16d38e1dd98a33ff0d0bed959"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae9b18b16d38e1dd98a33ff0d0bed959">&#9670;&nbsp;</a></span>getPreset()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const QString BoxingTimer::getPreset </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the loaded preset for timer </dd></dl>
</div>
</div>
<a id="a091d7fb11525455766c19d6b9c250fa4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a091d7fb11525455766c19d6b9c250fa4">&#9670;&nbsp;</a></span>getStatus()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">Status</a> BoxingTimer::getStatus </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>actual status - enum value </dd></dl>
</div>
</div>
<a id="af8e0f0d2a34946e0a20562bfb187adbe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8e0f0d2a34946e0a20562bfb187adbe">&#9670;&nbsp;</a></span>loadPreset()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void BoxingTimer::loadPreset </td>
<td>(</td>
<td class="paramtype">const QString &amp;&#160;</td>
<td class="paramname"><em>preset</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Load the preset to change settings of timer. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">preset</td><td>a const QString </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a96dae97c68363403d732d74461d01499"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96dae97c68363403d732d74461d01499">&#9670;&nbsp;</a></span>presetChanged</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BoxingTimer::presetChanged </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="adddbecef36c86e650439141a7bf22ea4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adddbecef36c86e650439141a7bf22ea4">&#9670;&nbsp;</a></span>remainingTimeToString()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const QString BoxingTimer::remainingTimeToString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert remaining milliseconds in human readable time. </p>
<dl class="section author"><dt>Author</dt><dd>Claudio Maradonna <a href="#" onclick="location.href='mai'+'lto:'+'cla'+'ud'+'io@'+'un'+'ito'+'o.'+'pw'; return false;">claud<span style="display: none;">.nosp@m.</span>io@u<span style="display: none;">.nosp@m.</span>nitoo<span style="display: none;">.nosp@m.</span>.pw</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>the remaining time as const QString of remaining milliseconds </dd></dl>
</div>
</div>
<a id="a3ef71d6ec54505732d9d5b96c5af1747"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ef71d6ec54505732d9d5b96c5af1747">&#9670;&nbsp;</a></span>remainingTimeToStringChanged</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BoxingTimer::remainingTimeToStringChanged </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a34f9e66cbe5bead806037a7ce882da4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34f9e66cbe5bead806037a7ce882da4d">&#9670;&nbsp;</a></span>restore()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void BoxingTimer::restore </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Start or restore the timer. </p>
<dl class="section author"><dt>Author</dt><dd>Claudio Maradonna <a href="#" onclick="location.href='mai'+'lto:'+'cla'+'ud'+'io@'+'un'+'ito'+'o.'+'pw'; return false;">claud<span style="display: none;">.nosp@m.</span>io@u<span style="display: none;">.nosp@m.</span>nitoo<span style="display: none;">.nosp@m.</span>.pw</a> </dd></dl>
</div>
</div>
<a id="a808ea8addb66a3a6f9270e56ed2518cf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a808ea8addb66a3a6f9270e56ed2518cf">&#9670;&nbsp;</a></span>roundsToString()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const QString BoxingTimer::roundsToString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert round and total rounds for view. </p>
<dl class="section author"><dt>Author</dt><dd>Claudio Maradonna <a href="#" onclick="location.href='mai'+'lto:'+'cla'+'ud'+'io@'+'un'+'ito'+'o.'+'pw'; return false;">claud<span style="display: none;">.nosp@m.</span>io@u<span style="display: none;">.nosp@m.</span>nitoo<span style="display: none;">.nosp@m.</span>.pw</a></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>the number as const QString of actual round and total rounds for QML </dd></dl>
</div>
</div>
<a id="a2c8d9c3c9916fc1ed65fb9545565835f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c8d9c3c9916fc1ed65fb9545565835f">&#9670;&nbsp;</a></span>roundsToStringChanged</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BoxingTimer::roundsToStringChanged </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa097f85ad7fd3602cc2583c3cc6c4d5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa097f85ad7fd3602cc2583c3cc6c4d5e">&#9670;&nbsp;</a></span>setStatus()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void BoxingTimer::setStatus </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="class_boxing_timer.html#af2a4f0a0658b3685b2e0bcd965dca558">Status</a> &amp;&#160;</td>
<td class="paramname"><em>status</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">status</td><td>const Status</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Setter for status </dd></dl>
</div>
</div>
<a id="a64ae1d3a8bfe52b225658bf4121dcdfa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64ae1d3a8bfe52b225658bf4121dcdfa">&#9670;&nbsp;</a></span>start()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BoxingTimer::start </td>
<td>(</td>
<td class="paramtype">const int &amp;&#160;</td>
<td class="paramname"><em>milliseconds</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Override of start function to emit <a class="el" href="class_boxing_timer.html#ab3d16c454a2fac620bb84721c105485a">statusChanged()</a> signal. </p>
</div>
</div>
<a id="ab3d16c454a2fac620bb84721c105485a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3d16c454a2fac620bb84721c105485a">&#9670;&nbsp;</a></span>statusChanged</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BoxingTimer::statusChanged </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="aa294afc288608f91eb00d1680db67738"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa294afc288608f91eb00d1680db67738">&#9670;&nbsp;</a></span>stop()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BoxingTimer::stop </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Override of stop function to emit <a class="el" href="class_boxing_timer.html#ab3d16c454a2fac620bb84721c105485a">statusChanged()</a> signal. </p>
</div>
</div>
<a id="a31cea07043d1be260db69767ccf96871"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31cea07043d1be260db69767ccf96871">&#9670;&nbsp;</a></span>updateRemainingMilliseconds</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void BoxingTimer::updateRemainingMilliseconds </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Switch milliseconds from round to rest and back. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="boxingtimer_8h_source.html">boxingtimer.h</a></li>
<li>src/<a class="el" href="boxingtimer_8cpp.html">boxingtimer.cpp</a></li>
</ul>
</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>