[Development] Allowing event delivery prior to and after QCoreApplication

Matthew Woehlke mw_triad at users.sourceforge.net
Tue Apr 14 20:37:25 CEST 2015


On 2015-04-14 12:27, Thiago Macieira wrote:
> The problem is the public, *user* class if they derived from QApplication.
> 
> If they've overridden notify(), then I need to know when the *user* class 
> begins destruction so that we stop calling notify().

Would it be horrible to add a new method, e.g. shutdown(), which
subclasses are required to call in their dtor? It won't fix existing
applications, but it at least provides a mechanism to make things work.

-- 
Matthew




More information about the Development mailing list