Re: [Development] Handling specific platform events in Qt

2013-07-01 Thread Tomasz Olszak
2013/7/1 Alan Alpert <4163654...@gmail.com> > On Mon, Jul 1, 2013 at 3:41 AM, Tor Arne Vestbø > wrote: > > On 6/28/13 18:59 , Alan Alpert wrote: > >> > >> This should be accessible via Qt.application.active (false if > >> paused/minimized or otherwise not visible). > > > > > > Qt.application.acti

Re: [Development] Handling specific platform events in Qt

2013-07-01 Thread Tomasz Olszak
2013/7/1 Friedemann Kleint > Hi, > > So question are: > > > 1. Where should I put the code which will handle receiving events > from Tizen and propagate them to Qt? > > That sounds like QXcbIntegration ..is there an #ifdef for Tizen? > > >2. Where should I put code which will handle RESUME (in

Re: [Development] Handling specific platform events in Qt

2013-06-28 Thread Tomasz Olszak
2013/6/28 Alan Alpert <4163654...@gmail.com> > On Fri, Jun 28, 2013 at 3:23 AM, Friedemann Kleint > wrote: > > Hi, > > > > QApplicationStateChangeEvent and enumeration Qt::ApplicationState are > > intended for this purpose. Feel free to propose additional states if > > they are not sufficient for

Re: [Development] Handling specific platform events in Qt

2013-06-28 Thread Tomasz Olszak
2013/6/28 Friedemann Kleint > Hi, > > QApplicationStateChangeEvent and enumeration Qt::ApplicationState are > intended for this purpose. Feel free to propose additional states if > they are not sufficient for your purposes. > > On the QPA side, they are triggered by > QWindowSystemInterface::hand

[Development] Handling specific platform events in Qt

2013-06-28 Thread Tomasz Olszak
Hi, I need to handle some specific system/wm events in Tizen OS [1]. Events are as follows: 1. Create 2. Reset- Is called at every launch or re-launch request 3. Pause - Is called when the window of the application becomes invisible. The application's tasks can be suspended in PAUSE s