Port to new signal/slot syntax.

Authored by stikonas on Jun 3 2017, 2:55 PM.