diff options
| author | Kai Köhne <kai.koehne@qt.io> | 2024-12-05 17:11:34 +0100 |
|---|---|---|
| committer | Kai Köhne <kai.koehne@qt.io> | 2024-12-13 09:10:15 +0000 |
| commit | d3dad28a51743bb408dee1cf997646a89eb6693b (patch) | |
| tree | 8bf43269e3362d7d485de3a75027ba2a485628cf /src/corelib | |
| parent | adaf1fb107ceb7003313ceb67605f986b74763b1 (diff) | |
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>
Diffstat (limited to 'src/corelib')
| -rw-r--r-- | src/corelib/io/qfile.cpp | 2 | ||||
| -rw-r--r-- | src/corelib/io/qsettings.cpp | 2 | ||||
| -rw-r--r-- | src/corelib/serialization/qtextstream.cpp | 2 |
3 files changed, 3 insertions, 3 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 ¢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 |
