A replacement for QCoreApplication::watchUnixSignal() and QCoreApplication::unixSignal().