2017-08-21 21:04:30 +02:00
<!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;" >
2017-08-30 10:11:11 +02:00
< td id = "projectlogo" > < img alt = "Logo" src = "harbour-boxing-timer.png" / > < / td >
2017-08-21 21:04:30 +02:00
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > Boxing Timer
2017-08-24 23:13:58 +02:00
  < span id = "projectnumber" > 0.1a< / span >
2017-08-21 21:04:30 +02:00
< / 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" >
2017-08-30 10:11:11 +02:00
< 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 >   < span class = "preprocessor" > #ifndef BOXINGSETTINGS_H< / span > < / div > < div class = "line" > < a name = "l00002" > < / a > < span class = "lineno" > 2< / span >   < span class = "preprocessor" > #define BOXINGSETTINGS_H< / span > < / div > < div class = "line" > < a name = "l00003" > < / a > < span class = "lineno" > 3< / span >   < / div > < div class = "line" > < a name = "l00004" > < / a > < span class = "lineno" > 4< / span >   < span class = "preprocessor" > #include < QString> < / span > < / div > < div class = "line" > < a name = "l00005" > < / a > < span class = "lineno" > 5< / span >   < span class = "preprocessor" > #include < QStringList> < / span > < / div > < div class = "line" > < a name = "l00006" > < / a > < span class = "lineno" > 6< / span >   < span class = "preprocessor" > #include < QSettings> < / span > < / div > < div class = "line" > < a name = "l00007" > < / a > < span class = "lineno" > 7< / span >   < span class = "preprocessor" > #include < QList> < / span > < / div > < div class = "line" > < a name = "l00008" > < / a > < span class = "lineno" > 8< / span >   < / div > < div class = "line" > < a name = "l00009" > < / a > < span class = "lineno" > 9< / span >   < span class = "preprocessor" > #ifdef QT_DEBUG< / span > < / div > < div class = "line" > < a name = "l00010" > < / a > < span class = "lineno" > 10< / span >   < span class = "preprocessor" > #include < QDebug> < / span > < / div > < div class = "line" > < a name = "l00011" > < / a > < span class = "lineno" > 11< / span >   < span class = "preprocessor" > #endif< / span > < / div > < div class = "line" > < a name = "l00012" > < / a > < span class = "lineno" > 12< / span >   < / div > < div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > < a class = "line" href = "class_boxing_settings.html" > 20< / a > < / span >   < 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 >   Q_OBJECT< / div > < div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > 22< / span >   < / div > < div class = "line" > < a name = "l00024" > < / a > < span class = "lineno" > 24< / span >   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 >   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 >   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 >   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 >   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 >   Q_PROPERTY(QList< int> innerTimers READ < a class = "code" href = "class_bo
< 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 & 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< int > 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 & rounds)< / div > < div class = "ttdoc" > Setter for number of rounds. < / div > < div class = "ttdef" > < b > Definition:< / b > boxingsettings.h:154< / div > < / div >
2017-08-21 21:04:30 +02:00
< 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 >
2017-08-30 10:11:11 +02:00
< 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 & 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 & index)< / div > < div class = "ttdoc" > getInnerTimer(const int & 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 & name, const int & rounds, const int & roundMilliseconds, const int & restMilliseconds, const QList< int > & 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 & roundMilliseconds)< / div > < div class = "ttdoc" > Setter for duration of round (in milliseconds) < / div > < div class = "ttdef" > < b > Definition:< / b > boxingsettings.h:162< / div > < / div >
2017-08-21 21:04:30 +02:00
< / div > <!-- fragment --> < / 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 >