It looks like you're new here. If you want to get involved, click one of these buttons!
Likes: MikeHart
Comments
http://docs.giderosmobile.com/reference/gideros/EventDispatcher/Event.APPLICATION_EXIT#Event.APPLICATION_EXIT
but it has more of notifying purpose and you can't prevent default behavior of not exiting to ask user for confirmation.
It is possible in plain QT however:
http://www.codeprogress.com/cpp/libraries/qt/HandlingQCloseEvent.php
just need to come up with proper way to transfer it to lua
Likes: MikeHart