[Qt-interest] QCoreApplication::closingDown?

Eric Clark eclark at ara.com
Tue Jul 7 23:31:23 CEST 2009


Thanks Stephen. I did read the docs... I was a little more interested in being able to set it, and the docs did not say I could. Thanks again for your reply!

-----Original Message-----
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Stephen Jackson
Sent: Tuesday, July 07, 2009 4:08 PM
To: qt-interest
Subject: Re: [Qt-interest] QCoreApplication::closingDown?

On Tue, Jul 7, 2009 at 9:23 PM, Eric Clark wrote:
>
> Can anyone tell me exactly what causes the QCoreApplication::closingDown
> flag to get set? I thought that closing of the main window would cause it to
> get set, but it does not seem to be happening. Is there any way to set the
> flag myself?
>

The documentation says, "Returns true if the application objects are
being *destroyed*".

The source code reveals that it is set to true on entry by
QCoreApplication's destructor - just as I would expect from the
documentation.

You cannot set this specific flag yourself.

Regards,

Stephen Jackson
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list