[Qt-qml] Signal when application goes to background

Artem Marchenko artem.marchenko at gmail.com
Mon Oct 24 13:20:44 CEST 2011


Hmm, I think Qt.application worked already in Qt 4.7 Not 100% sure, but you can give it a try.

Artem.

On Oct 24, 2011, at 1:58 PM, Matti Mäki wrote:

> 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> <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
>>> 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
> _______________________________________________
> 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/17ca4c7a/attachment.html 


More information about the Qt-qml mailing list