Convert from Qt4 signal/slot syntax to the new Qt5 style