Make these headers includable directly, on all systems
authorThiago Macieira <thiago.macieira@intel.com>
Sat, 22 Dec 2012 21:07:11 +0000 (13:07 -0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 1 Jan 2013 22:50:00 +0000 (23:50 +0100)
commit2119c8f291e586b44f97f757097c2cc047bd61d1
tree97bade90c85d9afae9c0d5d227508a4b30abf406
parentd443953e6a08ceea809ada6efbada4cd55cac4f3
Make these headers includable directly, on all systems

For qwineventnotifier.h, just wrap the code around #ifdef Q_OS_WIN. This
has the added benefit of fixing the current qt_no_master_include problem
(that is, even if you #include <QtCore> on Windows, you wouldn't get
it).

For qtypetraits.h, it requires qglobal.h first.

Change-Id: If1ba09a0a29de429a5b87e9878c8ac6a62a443c4
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/corelib/global/qtypetraits.h
src/corelib/kernel/qwineventnotifier.h