summaryrefslogtreecommitdiff
path: root/src/serialport/qserialport.h
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2016-07-26 15:20:17 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2016-07-28 06:50:26 +0000
commitb2dcacddabb5bcfbc031a0681a0e90996092a506 (patch)
treea3ab70acb7b7cd5d47a2319954bcc5729b968549 /src/serialport/qserialport.h
parenta7a1c6042c547c484b8443f94076f4f1a5d7f7ae (diff)
downloadqtserialport-b2dcacddabb5bcfbc031a0681a0e90996092a506.tar.gz
Add missng default parameters to waitFor() methods
... and adjust their documentation a bit. [ChangeLog][QtSerialPort][QSerialPort] Added missing parameters for waitFor() methods Change-Id: I95d7076bfef47dd75d37960ca8a719ae779737d6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/serialport/qserialport.h')
-rw-r--r--src/serialport/qserialport.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialport/qserialport.h b/src/serialport/qserialport.h
index 3289ca1..0a7ab0f 100644
--- a/src/serialport/qserialport.h
+++ b/src/serialport/qserialport.h
@@ -262,8 +262,8 @@ public:
qint64 bytesToWrite() const Q_DECL_OVERRIDE;
bool canReadLine() const Q_DECL_OVERRIDE;
- bool waitForReadyRead(int msecs) Q_DECL_OVERRIDE;
- bool waitForBytesWritten(int msecs) Q_DECL_OVERRIDE;
+ bool waitForReadyRead(int msecs = 30000) Q_DECL_OVERRIDE;
+ bool waitForBytesWritten(int msecs = 30000) Q_DECL_OVERRIDE;
#if QT_DEPRECATED_SINCE(5, 5)
QT_DEPRECATED bool sendBreak(int duration = 0);