Linux KDE QT4.4

When I click my app's systray icon it pops up a dialog. If I am not working on the virtual desktop the app is running on, the app and hence the dialog are hidden.

I want to switch to the virtual desktop automatically:

Qt Code:
  1. system("dcop kdesktop KDesktopIface switchDesktops theDesktopMyAppIsRunningOn");
To copy to clipboard, switch view to plain text mode 

How can I find "theDesktopMyAppIsRunningOn"?

Any suggestions please?
NOTE: Using a QDesktopWidget :

Qt Code:
  1. QDesktopWidget *desk = QApplication::desktop();
  2.  
  3. qDebug() << "Desktop is virtual? " << desk->isVirtualDesktop();
To copy to clipboard, switch view to plain text mode 

says : Desktop is virtual? false so I'm thinking QT isn't "virtual desktop aware".