[Kde-games-devel] deprecated queryExit

Wolfgang Rohdewald wolfgang at rohdewald.de
Sun Apr 27 17:25:59 UTC 2014


Am Sonntag, 27. April 2014, 15:00:49 schrieb David Faure:
> > Where can I read more about that?
> 
> If you wonder why it was removed, see the huge comment in kmainwindow.h, in 
> kdelibs 4 :-)

OK, thank you.

Getting the abort/exit code right in kajongg (Python, using an asynchronous
networking library with its own event loop and synchronous kdelibs) has
always been difficult.

The current working solution reimplements aboutToQuit, closeEvent,
queryClose and queryExit, trying everything to avoid a hanging process.

-- 
Wolfgang


More information about the kde-games-devel mailing list