Replace old-style signal/slots with new-style signal/slots