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:
system("dcop kdesktop KDesktopIface switchDesktops theDesktopMyAppIsRunningOn");
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 :
qDebug() << "Desktop is virtual? " << desk->isVirtualDesktop();
QDesktopWidget *desk = QApplication::desktop();
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".
Bookmarks