[Interest] Order of events on shutdown...
bo at vikingsoft.eu
Fri Jan 23 17:37:57 CET 2015
Den 23-01-2015 kl. 17:15 skrev Igor Mironchik:
> Does somebody know what is the order of events on shutdown of application?
> Say, if I click close button on window - close event occurs... What next?
> What signals will be emitted from QApplication? What events?
> And the same question for mobile platforms? If I press "Home" button what
> will be with application?
> I need it to carefully close application, close sockets, etc...
QCoreApplication::aboutToQuit() is your friend. If you connect a slot to
that, you can close everything there.
Director, Viking Software.
Qt and C++ developers for hire
More information about the Interest