Doc: Fix links to QIODeviceBase:: flags

Pick-to: 6.8 6.9
Task-number: QTBUG-131484
Change-Id: Iee545986d4fb4765086fecce6532092d4b691ae8
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Kai Köhne 2024-12-05 17:11:34 +01:00
parent adaf1fb107
commit d3dad28a51
5 changed files with 5 additions and 5 deletions

View File

@ -123,7 +123,7 @@ QAbstractFileEngine *QFilePrivate::engine() const
\snippet file/file.cpp 0
The QIODevice::Text flag passed to open() tells Qt to convert
The \l{QIODeviceBase::}{Text} flag passed to open() tells Qt to convert
Windows-style line terminators ("\\r\\n") into C++-style
terminators ("\\n"). By default, QFile assumes binary, i.e. it
doesn't perform any conversion on the bytes stored in the file.

View File

@ -3491,7 +3491,7 @@ void QSettings::setPath(Format format, Scope scope, const QString &path)
The \a readFunc and \a writeFunc parameters are pointers to
functions that read and write a set of key/value pairs. The
QIODevice parameter to the read and write functions is always
opened in binary mode (i.e., without the QIODevice::Text flag).
opened in binary mode (i.e., without the \l QIODeviceBase::Text flag).
The \a caseSensitivity parameter specifies whether keys are case
sensitive or not. This makes a difference when looking up values

View File

@ -2833,7 +2833,7 @@ QTextStream &center(QTextStream &stream)
\snippet code/src_corelib_io_qtextstream.cpp 9
Note: On Windows, all '\\n' characters are written as '\\r\\n' if
QTextStream's device or string is opened using the QIODevice::Text flag.
QTextStream's device or string is opened using the \l QIODeviceBase::Text flag.
\since 5.14

View File

@ -352,7 +352,7 @@ QByteArray QImageWriter::format() const
otherwise left unchanged.
If the device is not already open, QImageWriter will attempt to
open the device in \l QIODevice::WriteOnly mode by calling
open the device in \l QIODeviceBase::WriteOnly mode by calling
open(). Note that this does not work for certain devices, such as
QProcess, QTcpSocket and QUdpSocket, where more logic is required
to open the device.

View File

@ -20,7 +20,7 @@
allows you to establish a TCP connection and transfer streams of
data. See the QAbstractSocket documentation for details.
\note TCP sockets cannot be opened in QIODevice::Unbuffered mode.
\note TCP sockets cannot be opened in \l QIODeviceBase::Unbuffered mode.
\sa QTcpServer, QUdpSocket, QNetworkAccessManager,
{Fortune Server}, {Fortune Client},