I want to avoid the red "hang-up" button to close my Qt app. I want to intercept the button and do something with it... Is it possible?
I want to avoid the red "hang-up" button to close my Qt app. I want to intercept the button and do something with it... Is it possible?
Yes & no... you should be able to get it via:
QApplication::symbianEventFilter()
But it looks like it might not work in recent devices/versions see:
http://bugreports.qt.nokia.com/browse/QTBUG-10230
Worth investigating further. However, note that if you're application can't be closed by the normal methods it may fail Symbian Signing. You need a very good reason to get a waiver for this.
I will check into this...
but i guess i will just leave as it is. I do not want to mess too much with specific symbian stuff, not for somthing that anyway has been removed in newer phones...