QT5: Port notificator and macnotificationhandler from bitcoin