boxingsettings.cpp
#include "boxingsettings.h"
BoxingSettings::BoxingSettings() :
mRounds(DefaultRounds),
mRoundMilliseconds(DefaultRoundMilliseconds),
mRestMilliseconds(DefaultRestMilliseconds),
mPreset(DefaultPreset){
}
BoxingSettings::BoxingSettings(const int &rounds, const int &roundMilliseconds, const int &restMilliseconds) :
mRounds(rounds),
mRoundMilliseconds(roundMilliseconds),
mRestMilliseconds(restMilliseconds),
mPreset(DefaultPreset) {
}
bool BoxingSettings::setPreset(const QString &preset) {
this->mPreset = preset;
return true;
}