I believe that this is windowing system specific functionality. I doubt there is a Qt way (or a nice cross-platform way at all) to do this.

Bojan