diff options
author | Joerg Bornemann <joerg.bornemann@digia.com> | 2014-01-08 13:18:17 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-15 18:43:20 +0100 |
commit | 5ca6039b7738415b8beeced4d34039ee2edbd903 (patch) | |
tree | ff0c3fda8643f094175a4263643d874bef25faf1 /src/corelib/io/qwinoverlappedionotifier_p.h | |
parent | 022f0a020a90e7073236e887ad614130af7c32ef (diff) |
remove qt_windows.h from qwinoverlappedionotifier_p.h
Preparation for making QWinOverlappedIoNotifier public.
Change-Id: Id443514a134b5c13e64d4d89450a7912ab38d40f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/corelib/io/qwinoverlappedionotifier_p.h')
-rw-r--r-- | src/corelib/io/qwinoverlappedionotifier_p.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/corelib/io/qwinoverlappedionotifier_p.h b/src/corelib/io/qwinoverlappedionotifier_p.h index 545d7bba84..f90fd2e615 100644 --- a/src/corelib/io/qwinoverlappedionotifier_p.h +++ b/src/corelib/io/qwinoverlappedionotifier_p.h @@ -54,7 +54,8 @@ // #include <qobject.h> -#include <qt_windows.h> + +typedef struct _OVERLAPPED OVERLAPPED; QT_BEGIN_NAMESPACE @@ -71,14 +72,14 @@ public: QWinOverlappedIoNotifier(QObject *parent = 0); ~QWinOverlappedIoNotifier(); - void setHandle(HANDLE h); - HANDLE handle() const; + void setHandle(Qt::HANDLE h); + Qt::HANDLE handle() const; void setEnabled(bool enabled); bool waitForNotified(int msecs, OVERLAPPED *overlapped); Q_SIGNALS: - void notified(DWORD numberOfBytes, DWORD errorCode, OVERLAPPED *overlapped); + void notified(quint32 numberOfBytes, quint32 errorCode, OVERLAPPED *overlapped); #if !defined(Q_QDOC) void _q_notify(); #endif |