diff options
Diffstat (limited to 'src/corelib/serialization')
-rw-r--r-- | src/corelib/serialization/qcborcommon.cpp | 4 | ||||
-rw-r--r-- | src/corelib/serialization/qcbormap.cpp | 2 | ||||
-rw-r--r-- | src/corelib/serialization/qcborstreamreader.cpp | 2 | ||||
-rw-r--r-- | src/corelib/serialization/qdatastream.cpp | 8 | ||||
-rw-r--r-- | src/corelib/serialization/qxmlstream.cpp | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/src/corelib/serialization/qcborcommon.cpp b/src/corelib/serialization/qcborcommon.cpp index 40caf9e3a4..0ebefe38d7 100644 --- a/src/corelib/serialization/qcborcommon.cpp +++ b/src/corelib/serialization/qcborcommon.cpp @@ -145,7 +145,7 @@ QDataStream &operator>>(QDataStream &ds, QCborSimpleType &st) \value PositiveBignum A positive number of arbitrary length, encoded as a byte array in network byte order. For example, the number 2\sup{64} is represented by a byte array containing the byte value 0x01 followed by 8 zero bytes. - \value NegativeBignum A negative number of arbirary length, encoded as the absolute value + \value NegativeBignum A negative number of arbitrary length, encoded as the absolute value of that number, minus one. For example, a byte array containing byte value 0x02 followed by 8 zero bytes represents the number -2\sup{65} - 1. @@ -230,7 +230,7 @@ QDataStream &operator>>(QDataStream &ds, QCborSimpleType &st) element. \value UnexpectedBreak The CBOR stream contains a Break where it is not allowed (data is corrupt and the error is not recoverable). - \value UnknownType The CBOR stream contains an unknown/unparseable Type (data is corrupt + \value UnknownType The CBOR stream contains an unknown/unparsable Type (data is corrupt and the and the error is not recoverable). \value IllegalType The CBOR stream contains a known type in a position it is not allowed to exist (data is corrupt and the error is not recoverable). diff --git a/src/corelib/serialization/qcbormap.cpp b/src/corelib/serialization/qcbormap.cpp index 2ffd0e1025..b178018b7c 100644 --- a/src/corelib/serialization/qcbormap.cpp +++ b/src/corelib/serialization/qcbormap.cpp @@ -1591,7 +1591,7 @@ void QCborMap::detach(qsizetype reserved) /*! \fn QCborMap::ConstIterator::value_type QCborMap::ConstIterator::operator*() const - Returns a pair containing the curent item's key and value. + Returns a pair containing the current item's key and value. \sa key(), value() */ diff --git a/src/corelib/serialization/qcborstreamreader.cpp b/src/corelib/serialization/qcborstreamreader.cpp index 551d083d11..cf90f3e397 100644 --- a/src/corelib/serialization/qcborstreamreader.cpp +++ b/src/corelib/serialization/qcborstreamreader.cpp @@ -830,7 +830,7 @@ QCborStreamReader::QCborStreamReader(const QByteArray &data) Creates a QCborStreamReader object that will parse the CBOR stream found by reading from \a device. QCborStreamReader does not take ownership of \a - device, so it must remain valid until this oject is destroyed. + device, so it must remain valid until this object is destroyed. */ QCborStreamReader::QCborStreamReader(QIODevice *device) : d(new QCborStreamReaderPrivate(device)) diff --git a/src/corelib/serialization/qdatastream.cpp b/src/corelib/serialization/qdatastream.cpp index cb44bf620a..ec3bd06a34 100644 --- a/src/corelib/serialization/qdatastream.cpp +++ b/src/corelib/serialization/qdatastream.cpp @@ -138,9 +138,9 @@ QT_BEGIN_NAMESPACE \snippet code/src_corelib_io_qdatastream.cpp 4 You can select which byte order to use when serializing data. The - default setting is big endian (MSB first). Changing it to little - endian breaks the portability (unless the reader also changes to - little endian). We recommend keeping this setting unless you have + default setting is big-endian (MSB first). Changing it to little-endian + breaks the portability (unless the reader also changes to + little-endian). We recommend keeping this setting unless you have special requirements. \target raw @@ -500,7 +500,7 @@ void QDataStream::setStatus(Status status) The \a bo parameter can be QDataStream::BigEndian or QDataStream::LittleEndian. - The default setting is big endian. We recommend leaving this + The default setting is big-endian. We recommend leaving this setting unless you have special requirements. \sa byteOrder() diff --git a/src/corelib/serialization/qxmlstream.cpp b/src/corelib/serialization/qxmlstream.cpp index 5f9bed99b8..68c06eb0bd 100644 --- a/src/corelib/serialization/qxmlstream.cpp +++ b/src/corelib/serialization/qxmlstream.cpp @@ -3199,7 +3199,7 @@ void QXmlStreamWriter::setAutoFormatting(bool enable) /*! \since 4.4 - Returns \c true if auto formattting is enabled, otherwise \c false. + Returns \c true if auto formatting is enabled, otherwise \c false. */ bool QXmlStreamWriter::autoFormatting() const { |