PosChange::PosChange(Pos from, Pos to, int repeats) :Change(repeats) ,from(from) ,to(to) ,step(from.stepTo(to)) ,isRelative(false) { resetData(); }