Move QScopedLoopLevelCounter to qthread_p.h
authorBradley T. Hughes <bradley.hughes@nokia.com>
Mon, 21 Nov 2011 14:28:57 +0000 (15:28 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 24 Nov 2011 14:06:31 +0000 (15:06 +0100)
commit722cbfe7384aa5692af4c3f03b562082fadcb93c
tree3e0c75c4a7a81d73faf7b88103ec7b3769f1254a
parent90b67743d1bdcb6d98e7d10d2b304b500285ec58
Move QScopedLoopLevelCounter to qthread_p.h

... and use it in QCoreApplication::notifyInterna() instead of
"reinventing" the wheel there. The constructor and destructor for
QScopedLoopLevelCounter are inline, so the class does not need to be
exported.

Change-Id: I7af5a4ef0987f277bcc50c1057f3c74152f3d79d
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/corelib/kernel/qcoreapplication.cpp
src/corelib/thread/qthread_p.h
src/widgets/kernel/qapplication_p.h