Fix duplicated words in documentation

Only did instances where two-and-two words are duplicated,
easy to see when wrong.

Task-number: QTBUG-107777
Pick-to: 6.4
Change-Id: I11593728acc386e7ef9aba9b39a0a4d9c60a532f
Reviewed-by: Ievgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
Mårten Nordheim 2022-10-19 14:07:06 +02:00
parent c238a78846
commit b4ad658fa0
4 changed files with 6 additions and 6 deletions

View File

@ -647,7 +647,7 @@ inline QRandomGenerator::SystemGenerator &QRandomGenerator::SystemGenerator::sel
\fn bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2) \fn bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
\relates QRandomGenerator \relates QRandomGenerator
Returns true if the two the two engines \a rng1 and \a rng2 are at the same Returns true if the two engines \a rng1 and \a rng2 are at the same
state or if they are both reading from the operating system facilities, state or if they are both reading from the operating system facilities,
false otherwise. false otherwise.
*/ */
@ -655,7 +655,7 @@ inline QRandomGenerator::SystemGenerator &QRandomGenerator::SystemGenerator::sel
/*! /*!
\fn bool QRandomGenerator::operator!=(const QRandomGenerator &rng1, const QRandomGenerator &rng2) \fn bool QRandomGenerator::operator!=(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
Returns \c true if the two the two engines \a rng1 and \a rng2 are at Returns \c true if the two engines \a rng1 and \a rng2 are at
different states or if one of them is reading from the operating system different states or if one of them is reading from the operating system
facilities and the other is not, \c false otherwise. facilities and the other is not, \c false otherwise.
*/ */

View File

@ -198,7 +198,7 @@ QDataStream &operator>>(QDataStream &ds, QCborSimpleType &st)
\value UnexpectedBreak The CBOR stream contains a Break where it is not allowed (data is \value UnexpectedBreak The CBOR stream contains a Break where it is not allowed (data is
corrupt and the error is not recoverable). corrupt and the error is not recoverable).
\value UnknownType The CBOR stream contains an unknown/unparsable 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). and the error is not recoverable).
\value IllegalType The CBOR stream contains a known type in a position it is not allowed \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). to exist (data is corrupt and the error is not recoverable).
\value IllegalNumber The CBOR stream appears to be encoding a number larger than 64-bit \value IllegalNumber The CBOR stream appears to be encoding a number larger than 64-bit

View File

@ -2075,7 +2075,7 @@ QContextMenuEvent::QContextMenuEvent(Reason reason, const QPoint &pos)
has to be inserted to the widgets text directly before the preedit has to be inserted to the widgets text directly before the preedit
string. string.
If the commitString() should replace parts of the of the text in If the commitString() should replace parts of the text in
the editor, replacementLength() will contain the number of the editor, replacementLength() will contain the number of
characters to be replaced. replacementStart() contains the position characters to be replaced. replacementStart() contains the position
at which characters are to be replaced relative from the start of at which characters are to be replaced relative from the start of
@ -2241,7 +2241,7 @@ Q_IMPL_EVENT_COMMON(QInputMethodEvent)
result of the input operations and has to be inserted to the result of the input operations and has to be inserted to the
widgets text directly before the preedit string. widgets text directly before the preedit string.
If the commit string should replace parts of the of the text in If the commit string should replace parts of the text in
the editor, \a replaceLength specifies the number of the editor, \a replaceLength specifies the number of
characters to be replaced. \a replaceFrom specifies the position characters to be replaced. \a replaceFrom specifies the position
at which characters are to be replaced relative from the start of at which characters are to be replaced relative from the start of

View File

@ -32,7 +32,7 @@
nextPendingConnection() function to fetch the next incoming connection and nextPendingConnection() function to fetch the next incoming connection and
take it out of the pending connection queue. The QSslSocket is a child of take it out of the pending connection queue. The QSslSocket is a child of
the QSslServer and will be deleted when the QSslServer is deleted. It is the QSslServer and will be deleted when the QSslServer is deleted. It is
still a good a good idea to destroy the object explicitly when you are done still a good idea to destroy the object explicitly when you are done
with it, to avoid wasting memory. with it, to avoid wasting memory.
\sa QTcpServer, QSslConfiguration, QSslSocket \sa QTcpServer, QSslConfiguration, QSslSocket