[Qt-qml] Signal when application goes to background

Matti Mäki matti.maki at iki.fi
Mon Oct 24 12:58:28 CEST 2011


Oh, that's a nice feature in Qt Quick 1.1.

With 1.0 on Symbian I've implemented the symbianEventFilter function in 
my QApplication as instructed at [1] (requires some C++).

/matti

[1] 
http://www.developer.nokia.com/Community/Wiki/TSQ001585_-_Detecting_focus_lost_&_gained_events_in_Qt_for_Symbian

24.10.2011 11:19, Artem Marchenko kirjoitti:
> Hi Juha
>
> You can monitor Qt.application.active - 
> http://doc.qt.nokia.com/4.7-snapshot/qml-qt.html#application-prop
>
> BR,
> Artem.
>
> On Oct 24, 2011, at 8:57 AM, <ext-juha.sarkijarvi at nokia.com 
> <mailto:ext-juha.sarkijarvi at nokia.com>> <ext-juha.sarkijarvi at nokia.com 
> <mailto:ext-juha.sarkijarvi at nokia.com>> wrote:
>
>> Hi,
>>
>> Is there some signal in QT/QML which tells that application goes to 
>> background or comes to the foreground. I would need this signal for 
>> releasing memory of a specific high memory consumption use case when 
>> application goes to background and then reserving memory again when 
>> application comes to the foreground.
>>
>> -Juha
>> _______________________________________________
>> Qt-qml mailing list
>> Qt-qml at qt.nokia.com <mailto:Qt-qml at qt.nokia.com>
>> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>
>
>
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20111024/da347c3c/attachment.html 


More information about the Qt-qml mailing list