Fixes to make code compile with qt 5.0.1

Open-webOS-DCO-1.0-Signed-off-by: Jukka Honkela <jukka.honkela@palm.com>

Change-Id: Ibada20be453c5d6663ca0b58d09d913aa6773718