summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Köhne <[email protected]>2024-12-05 17:11:34 +0100
committerKai Köhne <[email protected]>2024-12-13 09:10:15 +0000
commitd3dad28a51743bb408dee1cf997646a89eb6693b (patch)
tree8bf43269e3362d7d485de3a75027ba2a485628cf
parentadaf1fb107ceb7003313ceb67605f986b74763b1 (diff)
Doc: Fix links to QIODeviceBase:: flags
Pick-to: 6.8 6.9 Task-number: QTBUG-131484 Change-Id: Iee545986d4fb4765086fecce6532092d4b691ae8 Reviewed-by: Thiago Macieira <[email protected]>
-rw-r--r--src/corelib/io/qfile.cpp2
-rw-r--r--src/corelib/io/qsettings.cpp2
-rw-r--r--src/corelib/serialization/qtextstream.cpp2
-rw-r--r--src/gui/image/qimagewriter.cpp2
-rw-r--r--src/network/socket/qtcpsocket.cpp2
5 files changed, 5 insertions, 5 deletions
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 &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
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},