Boxing Timer  1.0
boxingsettings.cpp
1 #include "boxingsettings.h"
2 
3 BoxingSettings::BoxingSettings() :
4  mRounds(DefaultRounds),
5  mRoundMilliseconds(DefaultRoundMilliseconds),
6  mRestMilliseconds(DefaultRestMilliseconds),
7  mPreset(DefaultPreset){
8 }
9 
10 BoxingSettings::BoxingSettings(const int &rounds, const int &roundMilliseconds, const int &restMilliseconds) :
11  mRounds(rounds),
12  mRoundMilliseconds(roundMilliseconds),
13  mRestMilliseconds(restMilliseconds),
14  mPreset(DefaultPreset) {
15 }
16 
17 bool BoxingSettings::setPreset(const QString &preset) {
18  this->mPreset = preset;
19 
20  return true;
21 }