From 4f5301171b19c74f6e7284c978a2f13f4ffa7a19 Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Mon, 18 Mar 2019 02:27:56 +0100 Subject: Correct typos in qmodbuspdu.cpp's doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8bbb3baaa568c1331d8945df158d062d68d2eed4 Reviewed-by: André Hartmann --- src/serialbus/qmodbuspdu.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/serialbus/qmodbuspdu.cpp b/src/serialbus/qmodbuspdu.cpp index 57398b9..c42352d 100644 --- a/src/serialbus/qmodbuspdu.cpp +++ b/src/serialbus/qmodbuspdu.cpp @@ -320,7 +320,7 @@ static QDataStream &pduFromStream(QDataStream &stream, QModbusPdu &pdu, Type typ \note Usage is limited \c quint8 and \c quint16 only. This is because \c QDataStream stream operators will not only append raw data, but also - e.g. size, count etc. for complex types. + e.g. size, count, etc. for complex types. */ /*! @@ -412,7 +412,7 @@ static QDataStream &pduFromStream(QDataStream &stream, QModbusPdu &pdu, Type typ \note Usage is limited \c quint8 and \c quint16 only. This is because \c QDataStream stream operators will not only append raw data, but also - e.g. size, count etc. for complex types. + e.g. size, count, etc. for complex types. */ /*! @@ -428,7 +428,7 @@ static QDataStream &pduFromStream(QDataStream &stream, QModbusPdu &pdu, Type typ \note Usage is limited \c quint8 and \c quint16 only. This is because \c QDataStream stream operators will not only append raw data, but also - e.g. size, count etc. for complex types. + e.g. size, count, etc. for complex types. */ /*! @@ -481,7 +481,7 @@ QDataStream &operator<<(QDataStream &stream, const QModbusPdu &pdu) \note When using the constructor taking the \c QByteArray, please make sure to convert the containing data to big-endian byte order before creating the request. - The same request can be created like this, if the values are know at compile time: + The same request can be created like this, if the values are known at compile time: \code quint16 startAddress = 19, numberOfCoils = 10; quint8 payloadInBytes = 2, outputHigh = 0xcd, outputLow = 0x01; @@ -517,7 +517,7 @@ QDataStream &operator<<(QDataStream &stream, const QModbusPdu &pdu) \note Usage is limited \c quint8 and \c quint16 only. This is because \c QDataStream stream operators will not only append raw data, but also - e.g. size, count etc. for complex types. + e.g. size, count, etc. for complex types. */ /*! @@ -638,7 +638,7 @@ QDataStream &operator>>(QDataStream &stream, QModbusRequest &pdu) \note When using the constructor taking the \c QByteArray, please make sure to convert the containing data to big-endian byte order before creating the request. - The same response can be created like this, if the values are know at compile time: + The same response can be created like this, if the values are known at compile time: \code quint8 payloadInBytes = 2, outputHigh = 0xcd, outputLow = 0x01; QModbusResponse response(QModbusResponse::ReadCoils, payloadInBytes, outputHigh, outputLow); @@ -673,7 +673,7 @@ QDataStream &operator>>(QDataStream &stream, QModbusRequest &pdu) \note Usage is limited \c quint8 and \c quint16 only. This is because \c QDataStream stream operators will not only append raw data, but also - e.g. size, count etc. for complex types. + e.g. size, count, etc. for complex types. */ /*! -- cgit v1.2.3