X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=addstep.cpp;h=21e64b1d4b411624a57dd62302651c8ac8fb4db4;hb=21742648dd3e2b32675adb583f409c745c875c00;hp=bc05e5fa47fe24486f8cd46deee4aabcfaa94af1;hpb=6f0e06a23515e795b75e08161487d60c9fc4f933;p=confmgr diff --git a/addstep.cpp b/addstep.cpp index bc05e5f..21e64b1 100644 --- a/addstep.cpp +++ b/addstep.cpp @@ -26,3 +26,12 @@ void AddStep::clear() ui->addStepDelay->setText(QString::null); ui->addStepValue->setText(QString::null); } + +void AddStep::showStep(Steps &step) +{ + mStep = step; + clear(); + ui->addStepDelay->setText(QString::number(mStep.delay())); + ui->addStepValue->setText(mStep.value()); + this->show(); +}