Qt Expected Value