576 lines
25 KiB
HTML
576 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: BoxingSettings 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
|
||
|
 <span id="projectnumber">1.0</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="#signals">Signals</a> |
|
||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||
|
<a href="class_boxing_settings-members.html">List of all members</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<div class="title">BoxingSettings Class Reference</div> </div>
|
||
|
</div><!--header-->
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Handle settings about timer. Can save, load and delete a specific preset.
|
||
|
<a href="class_boxing_settings.html#details">More...</a></p>
|
||
|
|
||
|
<p><code>#include <<a class="el" href="boxingsettings_8h_source.html">boxingsettings.h</a>></code></p>
|
||
|
<div class="dynheader">
|
||
|
Inheritance diagram for BoxingSettings:</div>
|
||
|
<div class="dyncontent">
|
||
|
<div class="center">
|
||
|
<img src="class_boxing_settings.png" usemap="#BoxingSettings_map" alt=""/>
|
||
|
<map id="BoxingSettings_map" name="BoxingSettings_map">
|
||
|
</map>
|
||
|
</div></div>
|
||
|
<table class="memberdecls">
|
||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
|
||
|
Signals</h2></td></tr>
|
||
|
<tr class="memitem:a811dbd6c80f86ad219bbb9166571a2e9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_settings.html#a811dbd6c80f86ad219bbb9166571a2e9">presetChanged</a> ()</td></tr>
|
||
|
<tr class="separator:a811dbd6c80f86ad219bbb9166571a2e9"><td class="memSeparator" colspan="2"> </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:a507b3038f2851cff0d17fffc027019de"><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE const QStringList </td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_settings.html#a507b3038f2851cff0d17fffc027019de">presetsList</a> ()</td></tr>
|
||
|
<tr class="separator:a507b3038f2851cff0d17fffc027019de"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a24906b544896052c08f0b93ded92823b"><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_settings.html#a24906b544896052c08f0b93ded92823b">savePreset</a> (const QString &name, const int &rounds, const int &roundMilliseconds, const int &restMilliseconds)</td></tr>
|
||
|
<tr class="memdesc:a24906b544896052c08f0b93ded92823b"><td class="mdescLeft"> </td><td class="mdescRight">Save or override settings about specific preset. <a href="#a24906b544896052c08f0b93ded92823b">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a24906b544896052c08f0b93ded92823b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6475be7b9b7eacc3b4a9ca853311b5a9"><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_settings.html#a6475be7b9b7eacc3b4a9ca853311b5a9">deletePreset</a> (const QString &name)</td></tr>
|
||
|
<tr class="memdesc:a6475be7b9b7eacc3b4a9ca853311b5a9"><td class="mdescLeft"> </td><td class="mdescRight">Delete a specified preset. <a href="#a6475be7b9b7eacc3b4a9ca853311b5a9">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a6475be7b9b7eacc3b4a9ca853311b5a9"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a62af206ef42670b751e0cec59c206896"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_settings.html#a62af206ef42670b751e0cec59c206896">BoxingSettings</a> ()</td></tr>
|
||
|
<tr class="separator:a62af206ef42670b751e0cec59c206896"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a6dc7071565573dbd59d3eb94613b2433"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_settings.html#a6dc7071565573dbd59d3eb94613b2433">BoxingSettings</a> (const int &rounds, const int &roundMilliseconds, const int &restMilliseconds)</td></tr>
|
||
|
<tr class="separator:a6dc7071565573dbd59d3eb94613b2433"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ae57079ed791d793bfb310712063b1dab"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_settings.html#ae57079ed791d793bfb310712063b1dab">getRounds</a> ()</td></tr>
|
||
|
<tr class="separator:ae57079ed791d793bfb310712063b1dab"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a2b9ff4ab1dbd14f5e8f37b88677e73f4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_settings.html#a2b9ff4ab1dbd14f5e8f37b88677e73f4">getRoundMilliseconds</a> ()</td></tr>
|
||
|
<tr class="separator:a2b9ff4ab1dbd14f5e8f37b88677e73f4"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a84fd6052ef19488b015638c68fa2be72"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_settings.html#a84fd6052ef19488b015638c68fa2be72">getRestMilliseconds</a> ()</td></tr>
|
||
|
<tr class="separator:a84fd6052ef19488b015638c68fa2be72"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a2d03c793ed7ad6e97894e21b1f85105b"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_settings.html#a2d03c793ed7ad6e97894e21b1f85105b">getPreset</a> ()</td></tr>
|
||
|
<tr class="separator:a2d03c793ed7ad6e97894e21b1f85105b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ac0641004a9f244dcce8056c722685065"><td class="memItemLeft" align="right" valign="top">QString </td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_settings.html#ac0641004a9f244dcce8056c722685065">getPresetName</a> ()</td></tr>
|
||
|
<tr class="separator:ac0641004a9f244dcce8056c722685065"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a5fee80840f4bfe8cb0fa95dea161e586"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_settings.html#a5fee80840f4bfe8cb0fa95dea161e586">setRounds</a> (const int &rounds)</td></tr>
|
||
|
<tr class="memdesc:a5fee80840f4bfe8cb0fa95dea161e586"><td class="mdescLeft"> </td><td class="mdescRight">Setter for number of rounds. <a href="#a5fee80840f4bfe8cb0fa95dea161e586">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a5fee80840f4bfe8cb0fa95dea161e586"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:aaa691ab3a2fa5d1812975207b7e9f9ed"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_settings.html#aaa691ab3a2fa5d1812975207b7e9f9ed">setRoundMilliseconds</a> (const int &roundMilliseconds)</td></tr>
|
||
|
<tr class="memdesc:aaa691ab3a2fa5d1812975207b7e9f9ed"><td class="mdescLeft"> </td><td class="mdescRight">Setter for duration of round (in milliseconds) <a href="#aaa691ab3a2fa5d1812975207b7e9f9ed">More...</a><br /></td></tr>
|
||
|
<tr class="separator:aaa691ab3a2fa5d1812975207b7e9f9ed"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:ad7c283d2b4ebe1333c1680a0fd19cb0c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_settings.html#ad7c283d2b4ebe1333c1680a0fd19cb0c">setRestMilliseconds</a> (const int &restMilliseconds)</td></tr>
|
||
|
<tr class="memdesc:ad7c283d2b4ebe1333c1680a0fd19cb0c"><td class="mdescLeft"> </td><td class="mdescRight">Setter for milliseconds of rest. <a href="#ad7c283d2b4ebe1333c1680a0fd19cb0c">More...</a><br /></td></tr>
|
||
|
<tr class="separator:ad7c283d2b4ebe1333c1680a0fd19cb0c"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
<tr class="memitem:a71e6d017856266fa95b07ed0030ed05b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_boxing_settings.html#a71e6d017856266fa95b07ed0030ed05b">setPreset</a> (const QString &preset)</td></tr>
|
||
|
<tr class="memdesc:a71e6d017856266fa95b07ed0030ed05b"><td class="mdescLeft"> </td><td class="mdescRight">Setter for preset. <a href="#a71e6d017856266fa95b07ed0030ed05b">More...</a><br /></td></tr>
|
||
|
<tr class="separator:a71e6d017856266fa95b07ed0030ed05b"><td class="memSeparator" colspan="2"> </td></tr>
|
||
|
</table>
|
||
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||
|
<div class="textblock"><p>Handle settings about timer. Can save, load and delete a specific preset. </p>
|
||
|
<p>QML Part of view </p>
|
||
|
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||
|
<a id="a62af206ef42670b751e0cec59c206896"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a62af206ef42670b751e0cec59c206896">◆ </a></span>BoxingSettings() <span class="overload">[1/2]</span></h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">BoxingSettings::BoxingSettings </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a6dc7071565573dbd59d3eb94613b2433"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a6dc7071565573dbd59d3eb94613b2433">◆ </a></span>BoxingSettings() <span class="overload">[2/2]</span></h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">BoxingSettings::BoxingSettings </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const int & </td>
|
||
|
<td class="paramname"><em>rounds</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const int & </td>
|
||
|
<td class="paramname"><em>roundMilliseconds</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const int & </td>
|
||
|
<td class="paramname"><em>restMilliseconds</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<h2 class="groupheader">Member Function Documentation</h2>
|
||
|
<a id="a6475be7b9b7eacc3b4a9ca853311b5a9"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a6475be7b9b7eacc3b4a9ca853311b5a9">◆ </a></span>deletePreset()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void BoxingSettings::deletePreset </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const QString & </td>
|
||
|
<td class="paramname"><em>name</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Delete a specified preset. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">name</td><td>string name of preset</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<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="a2d03c793ed7ad6e97894e21b1f85105b"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a2d03c793ed7ad6e97894e21b1f85105b">◆ </a></span>getPreset()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">QString BoxingSettings::getPreset </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>the loaded preset </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="ac0641004a9f244dcce8056c722685065"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#ac0641004a9f244dcce8056c722685065">◆ </a></span>getPresetName()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">QString BoxingSettings::getPresetName </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>the human readable name of preset </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a84fd6052ef19488b015638c68fa2be72"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a84fd6052ef19488b015638c68fa2be72">◆ </a></span>getRestMilliseconds()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int BoxingSettings::getRestMilliseconds </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>milliseconds of rest </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a2b9ff4ab1dbd14f5e8f37b88677e73f4"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a2b9ff4ab1dbd14f5e8f37b88677e73f4">◆ </a></span>getRoundMilliseconds()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int BoxingSettings::getRoundMilliseconds </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>duration in milliseconds of a rounds </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="ae57079ed791d793bfb310712063b1dab"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#ae57079ed791d793bfb310712063b1dab">◆ </a></span>getRounds()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">int BoxingSettings::getRounds </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>number of rounds </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a811dbd6c80f86ad219bbb9166571a2e9"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a811dbd6c80f86ad219bbb9166571a2e9">◆ </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 BoxingSettings::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="a507b3038f2851cff0d17fffc027019de"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a507b3038f2851cff0d17fffc027019de">◆ </a></span>presetsList()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">const QStringList BoxingSettings::presetsList </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramname"></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
<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>a list with available (probably saved) presets </dd></dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a24906b544896052c08f0b93ded92823b"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a24906b544896052c08f0b93ded92823b">◆ </a></span>savePreset()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void BoxingSettings::savePreset </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const QString & </td>
|
||
|
<td class="paramname"><em>name</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const int & </td>
|
||
|
<td class="paramname"><em>rounds</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const int & </td>
|
||
|
<td class="paramname"><em>roundMilliseconds</em>, </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="paramkey"></td>
|
||
|
<td></td>
|
||
|
<td class="paramtype">const int & </td>
|
||
|
<td class="paramname"><em>restMilliseconds</em> </td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td></td>
|
||
|
<td>)</td>
|
||
|
<td></td><td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Save or override settings about specific preset. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">name</td><td>string name of preset </td></tr>
|
||
|
<tr><td class="paramname">rounds</td><td>int number of rounds </td></tr>
|
||
|
<tr><td class="paramname">roundMilliseconds</td><td>int duration of round </td></tr>
|
||
|
<tr><td class="paramname">restMilliseconds</td><td>int duration of rest</td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<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="a71e6d017856266fa95b07ed0030ed05b"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a71e6d017856266fa95b07ed0030ed05b">◆ </a></span>setPreset()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void BoxingSettings::setPreset </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const QString & </td>
|
||
|
<td class="paramname"><em>preset</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div><div class="memdoc">
|
||
|
|
||
|
<p>Setter for preset. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">preset</td><td>QString </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="ad7c283d2b4ebe1333c1680a0fd19cb0c"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#ad7c283d2b4ebe1333c1680a0fd19cb0c">◆ </a></span>setRestMilliseconds()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void BoxingSettings::setRestMilliseconds </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const int & </td>
|
||
|
<td class="paramname"><em>restMilliseconds</em></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">
|
||
|
|
||
|
<p>Setter for milliseconds of rest. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">restMilliseconds</td><td>int </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="aaa691ab3a2fa5d1812975207b7e9f9ed"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#aaa691ab3a2fa5d1812975207b7e9f9ed">◆ </a></span>setRoundMilliseconds()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void BoxingSettings::setRoundMilliseconds </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const int & </td>
|
||
|
<td class="paramname"><em>roundMilliseconds</em></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">
|
||
|
|
||
|
<p>Setter for duration of round (in milliseconds) </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">roundMilliseconds</td><td>int </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a id="a5fee80840f4bfe8cb0fa95dea161e586"></a>
|
||
|
<h2 class="memtitle"><span class="permalink"><a href="#a5fee80840f4bfe8cb0fa95dea161e586">◆ </a></span>setRounds()</h2>
|
||
|
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="mlabels">
|
||
|
<tr>
|
||
|
<td class="mlabels-left">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">void BoxingSettings::setRounds </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">const int & </td>
|
||
|
<td class="paramname"><em>rounds</em></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">
|
||
|
|
||
|
<p>Setter for number of rounds. </p>
|
||
|
<dl class="params"><dt>Parameters</dt><dd>
|
||
|
<table class="params">
|
||
|
<tr><td class="paramname">rounds</td><td>int </td></tr>
|
||
|
</table>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
||
|
<li>src/<a class="el" href="boxingsettings_8h_source.html">boxingsettings.h</a></li>
|
||
|
<li>src/<a class="el" href="boxingsettings_8cpp.html">boxingsettings.cpp</a></li>
|
||
|
</ul>
|
||
|
</div><!-- contents -->
|
||
|
<!-- start footer part -->
|
||
|
<hr class="footer"/><address class="footer"><small>
|
||
|
Generated by  <a href="http://www.doxygen.org/index.html">
|
||
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
||
|
</a> 1.8.13
|
||
|
</small></address>
|
||
|
</body>
|
||
|
</html>
|