[maemo-developers] How to activate application

From: Artem Semenov artsemenov at xenzu.com
Date: Fri Oct 16 23:37:52 EEST 2009
Tried "osso_application_top()", but without success: "top_application"
D-BUS event is received by my application, but application is not
activated.

Any help is much appreciated.

-  
Artem Semenov,
Xenzu Technologies


-----Original Message-----
From: Artem Semenov <artsemenov at xenzu.com>
To: maemo-developers at maemo.org
Subject: How to activate application
Date: Fri, 16 Oct 2009 16:56:20 +0400

Hi All,
Does anybody know how can I activate QT application in maemo?

I have a desktop widget and I want to activate main application when
user clicks on widget.
I use OSSO lib in order to send event from widget to my QT application
and when event is received by main application I perform the following
actions for main window:

{
raise();
activateWindow();
setWindowState( Qt::WindowActive );
}

but nothing happens if application is already open.

Thanks,
Artem



_______________________________________________
maemo-developers mailing list
maemo-developers at maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

More information about the maemo-developers mailing list