diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2015-11-02 13:18:27 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@theqtcompany.com> | 2015-11-04 20:47:07 +0000 |
commit | 10cb96d96d62b70d9bd5839d1572bd31d795d8a2 (patch) | |
tree | bd88428a4028943a8f2c18dff4b4b8aed8317131 /src/serialbus/qmodbuspdu.cpp | |
parent | f0cd212bc50c406c6cba32f3fdb1bdf26b3ec897 (diff) |
Move exceptionCode() from QModbusExceptionResponse to QModbusPdu
Change-Id: I8e50417ba4973721f7d9f40f4d87d11c0b705925
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'src/serialbus/qmodbuspdu.cpp')
-rw-r--r-- | src/serialbus/qmodbuspdu.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/serialbus/qmodbuspdu.cpp b/src/serialbus/qmodbuspdu.cpp index 1ae622b..eb6cd7e 100644 --- a/src/serialbus/qmodbuspdu.cpp +++ b/src/serialbus/qmodbuspdu.cpp @@ -234,6 +234,12 @@ static quint8 minimumDataSize(QModbusPdu::FunctionCode code, Type type) */ /*! + ExceptionCode QModbusExceptionResponse::execeptionCode() const + + Returns the response's exception code. +*/ + +/*! \fn qint16 QModbusPdu::size() const Returns the PDU's full size, including function code and data size. @@ -642,10 +648,4 @@ QDataStream &operator>>(QDataStream &stream, QModbusResponse &pdu) Sets the response's exception code to \a ec. */ -/*! - ExceptionCode QModbusExceptionResponse::execeptionCode() const - - Returns the response's exception code. -*/ - QT_END_NAMESPACE |