[SOLVED] Is their any Qt class which is equivalent to Unix Signal Handling
-
I want my application to exit cleanly, even if it recieves SIGTERM or SIGKILL signal from O/S. It can be done easily using Unix Signal handling, but is their any Qt way of doing the same!
-
Can QApplication::aboutToQuit do the job? Or take a look at "Calling Qt Functions From Unix Signal Handlers":http://doc.qt.digia.com/4.7/unix-signals.html
-
Thanks a lot! A very good tutorial
-
but through this we can not detect the pendrive. did you get it ?