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:
parent
adaf1fb107
commit
d3dad28a51
@ -123,7 +123,7 @@ QAbstractFileEngine *QFilePrivate::engine() const
|
|||||||
|
|
||||||
\snippet file/file.cpp 0
|
\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
|
Windows-style line terminators ("\\r\\n") into C++-style
|
||||||
terminators ("\\n"). By default, QFile assumes binary, i.e. it
|
terminators ("\\n"). By default, QFile assumes binary, i.e. it
|
||||||
doesn't perform any conversion on the bytes stored in the file.
|
doesn't perform any conversion on the bytes stored in the 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
|
The \a readFunc and \a writeFunc parameters are pointers to
|
||||||
functions that read and write a set of key/value pairs. The
|
functions that read and write a set of key/value pairs. The
|
||||||
QIODevice parameter to the read and write functions is always
|
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
|
The \a caseSensitivity parameter specifies whether keys are case
|
||||||
sensitive or not. This makes a difference when looking up values
|
sensitive or not. This makes a difference when looking up values
|
||||||
|
@ -2833,7 +2833,7 @@ QTextStream ¢er(QTextStream &stream)
|
|||||||
\snippet code/src_corelib_io_qtextstream.cpp 9
|
\snippet code/src_corelib_io_qtextstream.cpp 9
|
||||||
|
|
||||||
Note: On Windows, all '\\n' characters are written as '\\r\\n' if
|
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
|
\since 5.14
|
||||||
|
|
||||||
|
@ -352,7 +352,7 @@ QByteArray QImageWriter::format() const
|
|||||||
otherwise left unchanged.
|
otherwise left unchanged.
|
||||||
|
|
||||||
If the device is not already open, QImageWriter will attempt to
|
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
|
open(). Note that this does not work for certain devices, such as
|
||||||
QProcess, QTcpSocket and QUdpSocket, where more logic is required
|
QProcess, QTcpSocket and QUdpSocket, where more logic is required
|
||||||
to open the device.
|
to open the device.
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
allows you to establish a TCP connection and transfer streams of
|
allows you to establish a TCP connection and transfer streams of
|
||||||
data. See the QAbstractSocket documentation for details.
|
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,
|
\sa QTcpServer, QUdpSocket, QNetworkAccessManager,
|
||||||
{Fortune Server}, {Fortune Client},
|
{Fortune Server}, {Fortune Client},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user