changing string to char* on sender::getSignal