summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2013-10-23 14:50:45 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-29 19:59:17 +0100
commit721ec985011489b35ec9fd4f3c3cb9d51864f003 (patch)
treec6d678bae5c1fe68559149c594a810ef3bc2bdd2 /src
parent5dfda7a556485ff07448f5bc2006ac4132e33e7d (diff)
remove qt_windows.h include from qwineventnotifier.h
We must not include qt_windows.h in public headers, otherwise we're cluttering the environment with a colorful bouquet of Windows API preprocessor macros and typedefs. Task-number: QTBUG-34058 Change-Id: I415717ea2a47f39e7f4b7ce1c1df9d49afc99278 Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qwineventnotifier.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qwineventnotifier.h b/src/corelib/kernel/qwineventnotifier.h
index 56605d9aaa..cddb9d73be 100644
--- a/src/corelib/kernel/qwineventnotifier.h
+++ b/src/corelib/kernel/qwineventnotifier.h
@@ -45,7 +45,6 @@
#include "QtCore/qobject.h"
#ifdef Q_OS_WIN
-#include "QtCore/qt_windows.h"
QT_BEGIN_NAMESPACE
@@ -54,6 +53,7 @@ class Q_CORE_EXPORT QWinEventNotifier : public QObject
{
Q_OBJECT
Q_DECLARE_PRIVATE(QWinEventNotifier)
+ typedef Qt::HANDLE HANDLE;
public:
explicit QWinEventNotifier(QObject *parent = 0);