modified all for qt 5.0 and bluez 4.1