1 #include "boxingsettings.h" 3 BoxingSettings::BoxingSettings() :
4 mRounds(DefaultRounds),
5 mRoundMilliseconds(DefaultRoundMilliseconds),
6 mRestMilliseconds(DefaultRestMilliseconds),
7 mPreset(DefaultPreset){
10 BoxingSettings::BoxingSettings(
const int &rounds,
const int &roundMilliseconds,
const int &restMilliseconds) :
12 mRoundMilliseconds(roundMilliseconds),
13 mRestMilliseconds(restMilliseconds),
14 mPreset(DefaultPreset) {
17 bool BoxingSettings::setPreset(
const QString &preset) {
18 this->mPreset = preset;