summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qbytearray.cpp
diff options
context:
space:
mode:
authorJonas Kvinge <jonas@jkvinge.net>2021-10-09 14:52:31 +0200
committerJonas Kvinge <jonas@jkvinge.net>2021-10-12 12:52:02 +0200
commit18e1711f7a6b240bde9b8dc5366394c9b01b3a7f (patch)
treef68883738aa9af198ca2de5bb2e83148759acdd1 /src/corelib/text/qbytearray.cpp
parent231fec7ca2f61da7d94c8aa072b41fd7ee893861 (diff)
corelib: Fix typos in documentation
Pick-to: 5.15 6.2 Change-Id: I64d63af708bc6ddaabd12450eb3089e5077f849e Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/text/qbytearray.cpp')
-rw-r--r--src/corelib/text/qbytearray.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/text/qbytearray.cpp b/src/corelib/text/qbytearray.cpp
index 8a7db6ebe4..03fbe2b139 100644
--- a/src/corelib/text/qbytearray.cpp
+++ b/src/corelib/text/qbytearray.cpp
@@ -1264,7 +1264,7 @@ QByteArray &QByteArray::operator=(const char *str)
you can use the return value of data() and constData() as arguments to
functions that expect '\\0'-terminated strings. If the QByteArray object was
created from a \l{fromRawData()}{raw data} that didn't include the trailing
- '\\0'-termination byte, then QByteArray doesn't add it automaticall unless a
+ '\\0'-termination byte, then QByteArray doesn't add it automatically unless a
\l{deep copy} is created.
Example:
@@ -4083,7 +4083,7 @@ QByteArray &QByteArray::setNum(qulonglong n, int base)
Represent the floating-point number \a n as text.
- Sets this byte array to a string representating \a n, with a given \a format
+ Sets this byte array to a string representing \a n, with a given \a format
and \a precision (with the same meanings as for \l {QString::number(double,
char, int)}), and returns a reference to this byte array.
@@ -4101,7 +4101,7 @@ QByteArray &QByteArray::setNum(double n, char format, int precision)
Represent the floating-point number \a n as text.
- Sets this byte array to a string representating \a n, with a given \a format
+ Sets this byte array to a string representing \a n, with a given \a format
and \a precision (with the same meanings as for \l {QString::number(double,
char, int)}), and returns a reference to this byte array.
@@ -4111,7 +4111,7 @@ QByteArray &QByteArray::setNum(double n, char format, int precision)
/*!
Returns a byte-array representing the whole number \a n as text.
- Returns a byte array containing a string representating \a n, using the
+ Returns a byte array containing a string representing \a n, using the
specified \a base (ten by default). Bases 2 through 36 are supported, using
letters for digits beyond 9: A is ten, B is eleven and so on.