porting to 2.0: sub isEmpty() QString method with == ""