summaryrefslogtreecommitdiff
path: root/src/serialport/qwinoverlappedionotifier_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialport/qwinoverlappedionotifier_p.h')
-rw-r--r--src/serialport/qwinoverlappedionotifier_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/serialport/qwinoverlappedionotifier_p.h b/src/serialport/qwinoverlappedionotifier_p.h
index 0cd0e4c..9ee998b 100644
--- a/src/serialport/qwinoverlappedionotifier_p.h
+++ b/src/serialport/qwinoverlappedionotifier_p.h
@@ -53,6 +53,7 @@
#include <QtCore/private/qglobal_p.h>
#include <qobject.h>
+#include <qdeadlinetimer.h>
typedef struct _OVERLAPPED OVERLAPPED;
@@ -75,8 +76,8 @@ public:
Qt::HANDLE handle() const;
void setEnabled(bool enabled);
- OVERLAPPED *waitForAnyNotified(int msecs);
- bool waitForNotified(int msecs, OVERLAPPED *overlapped);
+ OVERLAPPED *waitForAnyNotified(QDeadlineTimer deadline);
+ bool waitForNotified(QDeadlineTimer deadline, OVERLAPPED *overlapped);
Q_SIGNALS:
void notified(quint32 numberOfBytes, quint32 errorCode, OVERLAPPED *overlapped);