summaryrefslogtreecommitdiff
path: root/src/serialport/qserialport_p.h
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2015-06-15 22:34:41 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2015-06-23 18:27:58 +0000
commitb577aeabc42b8df4f8486edf96cf9a90e6fc9f2e (patch)
treeb58d151d73e8a260dd4a6fb95568a52c99a62567 /src/serialport/qserialport_p.h
parent71c38793265fc2966cde5ef64ef21c4bb122bd0f (diff)
downloadqtserialport-b577aeabc42b8df4f8486edf96cf9a90e6fc9f2e.tar.gz
Do not use the queued connection to handle an I/O events on Windows
... that simplifies the code of waitForXX() methods. In this case we do not need to call the completion methods, because it does the _q_notified() slot automatically even without an event loop. Tested with the virtual com0com serial ports, using auto tests and examples. Change-Id: I33d6c91d1842fd3eff1673d60e8413d471725f74 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src/serialport/qserialport_p.h')
-rw-r--r--src/serialport/qserialport_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/serialport/qserialport_p.h b/src/serialport/qserialport_p.h
index ad8d9d0..7da2204 100644
--- a/src/serialport/qserialport_p.h
+++ b/src/serialport/qserialport_p.h
@@ -202,7 +202,6 @@ public:
bool initialize();
bool updateDcb();
bool updateCommTimeouts();
- qint64 overlappedResult(OVERLAPPED *overlapped);
void handleLineStatusErrors();
OVERLAPPED *waitForNotified(int msecs);