replace a SLOT macro with SIGNAL where a signal is triggered