use new Qt 5 signal/slot syntax - http://qt-project.org/wiki/New_Signal_Slot_Syntax