Pause application in QML when app is in background Symbian
问题 I want to know of any pure QML way to find out whether the application is in the background or not and then accordingly stop or play music. In meego the alternate way to do is through the PlatformWindow Element but it does not exist in Symbian QML. Help needed please 回答1: Finally I got it working :) and i did it though Qt way... here are the steps 1) Create a class MyEventFilter class myEventFilter : public QObject { bool eventFilter(QObject *obj, QEvent *event) { switch(event->type()) { case