qt5base-lts/tests/auto/widgets/kernel/qapplication
Stephen Kelly a512e210ac Add the event loop quitlock feature to QtCore.
A feature of a ref-counted quit (managed by a quit-lock class)
is added to both QEventLoop and QCoreApplication.

This allows, for example, an event loop to quit() when there is
no more work for it to do.

quitOnLastWindowClosed is implemented in terms of the refcount in
QCoreApplication so that jobs can be completed before the
application quits.

Change-Id: I14c8f4e7ee12bbf81a6e5849290d4c8ff37fa110
Reviewed-by: David Faure <faure@kde.org>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
2012-01-31 23:22:15 +01:00
..
desktopsettingsaware Changed qapplication unittest to work from installation directory 2012-01-31 04:55:38 +01:00
modal Changed qapplication unittest to work from installation directory 2012-01-31 04:55:38 +01:00
test Changed qapplication unittest to work from installation directory 2012-01-31 04:55:38 +01:00
tmp Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
wincmdline Changed qapplication unittest to work from installation directory 2012-01-31 04:55:38 +01:00
.gitignore Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
heart.svg Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00
qapplication.pro Changed qapplication unittest to work from installation directory 2012-01-31 04:55:38 +01:00
tst_qapplication.cpp Add the event loop quitlock feature to QtCore. 2012-01-31 23:22:15 +01:00