Refactor: convert to new signal-connection style.

Authored by johanneszarl on Sep 14 2019, 10:18 PM.