Right on the money. Thanks!

-----Original Message-----
From: surreal.w...@gmail.com [mailto:surreal.w...@gmail.com] On Behalf Of
Robin Burchell
Sent: Monday, June 28, 2010 7:02 PM
To: Felipe Crochik
Cc: maemo-developers
Subject: Re: Bring an application to focus

On Mon, Jun 28, 2010 at 11:54 PM, Felipe Crochik <fel...@crochik.com> wrote:
> Is there a way to make my application after receiving a dbus signal become
> active and visible? If the application is not running it starts
> automatically on the top and it is visible/focused, but if my application
is
> already running how can I make its main window become visible/focused when
> it is "behind some other application"? I tried setFocus() (qt) but it does
> not seem to make any difference.

>From memory, QWidget::activateWindow() and possibly QWidget::raise()
could be relevant.

> Thanks
>
> Felipe

HTH,

--
Robin Burchell
http://rburchell.com

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

Reply via email to