How to set Task Bar icon depending on state of Qt app?