diff options
Diffstat (limited to 'src/serialport/qserialport.cpp')
-rw-r--r-- | src/serialport/qserialport.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/serialport/qserialport.cpp b/src/serialport/qserialport.cpp index fb5615fc..531dc39c 100644 --- a/src/serialport/qserialport.cpp +++ b/src/serialport/qserialport.cpp @@ -315,8 +315,8 @@ int QSerialPortPrivateData::timeoutValue(int msecs, int elapsed) e.g. when the device is unexpectedly removed from the system. \value UnsupportedOperationError The requested device operation is not supported or prohibited by the running operating system. + \value TimeoutError A timeout error occurred. This value was introduced in QtSerialPort 5.2. \value UnknownError An unidentified error occurred. - \sa QSerialPort::error */ @@ -1081,6 +1081,18 @@ bool QSerialPort::waitForReadyRead(int msecs) } /*! + \fn QSerialPort::Handle QSerialPort::handle() + \since 5.2 + + Returns the native serial port descriptor of the object. If the serial port + is not open or the platform is not supported, handle() returns -1. + + \warning This function is for expert use only; use it at your own risk. + Furthermore, this function carries no compatibility promise between minor + Qt releases. +*/ + +/*! \reimp */ bool QSerialPort::waitForBytesWritten(int msecs) |