diff --git a/src/corelib/io/qfile.cpp b/src/corelib/io/qfile.cpp index b427a0ef7ca..9295070dc8a 100644 --- a/src/corelib/io/qfile.cpp +++ b/src/corelib/io/qfile.cpp @@ -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. diff --git a/src/corelib/io/qsettings.cpp b/src/corelib/io/qsettings.cpp index 5dc18b5e6df..4da062502dc 100644 --- a/src/corelib/io/qsettings.cpp +++ b/src/corelib/io/qsettings.cpp @@ -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 diff --git a/src/corelib/serialization/qtextstream.cpp b/src/corelib/serialization/qtextstream.cpp index bd4d2156593..6373a500fa1 100644 --- a/src/corelib/serialization/qtextstream.cpp +++ b/src/corelib/serialization/qtextstream.cpp @@ -2833,7 +2833,7 @@ QTextStream ¢er(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 diff --git a/src/gui/image/qimagewriter.cpp b/src/gui/image/qimagewriter.cpp index 0fcc783e6d9..e63876d1962 100644 --- a/src/gui/image/qimagewriter.cpp +++ b/src/gui/image/qimagewriter.cpp @@ -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. diff --git a/src/network/socket/qtcpsocket.cpp b/src/network/socket/qtcpsocket.cpp index 979382f26c5..f90d0c5023b 100644 --- a/src/network/socket/qtcpsocket.cpp +++ b/src/network/socket/qtcpsocket.cpp @@ -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},