Trolltech Home | Qtopia-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qtopia-interest Archive, June 2007
How to hide an application and keep it still running


Message 1 in thread

Hi,

I want to hide an application using QWidget::hide().

I can achieve it on Greenphone SDK 4.1.7

But it doesn¡¯t work since Greenphone SDK 4.2.0 (I have tried 4.2.1/4.2.2).

And I also call QtopiaApplication::setquitonlastwindowclosed(false) when 
creating the QWidget.

Anyone knows how to achieve it on 4.2.0 above?



Thanks in advance.


--
 [ signature omitted ] 

Message 2 in thread

Anyone can help? It's urgent.
Thanks

"raulf" <raulftang@xxxxxxx> wrote in message 
news:f4kvae$guh$1@xxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I want to hide an application using QWidget::hide().
>
> I can achieve it on Greenphone SDK 4.1.7
>
> But it doesn¡¯t work since Greenphone SDK 4.2.0 (I have tried 
> 4.2.1/4.2.2).
>
> And I also call QtopiaApplication::setquitonlastwindowclosed(false) when 
> creating the QWidget.
>
> Anyone knows how to achieve it on 4.2.0 above?
>
>
>
> Thanks in advance.
>
> 


--
 [ signature omitted ] 

Message 3 in thread

I suggest registering a task with QtopiaApplication::registerRunningTask(const 
QString &, QObject * = 0)

When you're ready to exit call QtopiaApplication::unregisterRunningTask(const 
QString &)

On Friday 15 June 2007 12:01, raulf wrote:
> Anyone can help? It's urgent.
> Thanks
>
> "raulf" <raulftang@xxxxxxx> wrote in message
> news:f4kvae$guh$1@xxxxxxxxxxxxxxxxxxxxx
>
> > Hi,
> >
> > I want to hide an application using QWidget::hide().
> >
> > I can achieve it on Greenphone SDK 4.1.7
> >
> > But it doesn¡¯t work since Greenphone SDK 4.2.0 (I have tried
> > 4.2.1/4.2.2).
> >
> > And I also call QtopiaApplication::setquitonlastwindowclosed(false) when
> > creating the QWidget.
> >
> > Anyone knows how to achieve it on 4.2.0 above?
> >
> >
> >
> > Thanks in advance.
>
> --
> To unsubscribe - send "unsubscribe" in the subject to
> qtopia-interest-request@xxxxxxxxxxxxx

-- 
 [ signature omitted ]