summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstringview.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-04-30 15:15:56 +0200
committerLars Knoll <lars.knoll@qt.io>2020-05-14 07:51:26 +0200
commitb88720eb82056f5435f48dff728572126c04ca6a (patch)
tree88dbf20cf3d675646b5ceea5fc650fe4719e514e /src/corelib/text/qstringview.cpp
parent2b8863a98c912806fd4e47bd2f2a6d81ec1d71b9 (diff)
Remove QTextCodec references from QString docs
Change-Id: I2882f8aed61d92ed5eff6efd2e65679e6688454f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/text/qstringview.cpp')
-rw-r--r--src/corelib/text/qstringview.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/corelib/text/qstringview.cpp b/src/corelib/text/qstringview.cpp
index 9df656dc59..16ccfa8352 100644
--- a/src/corelib/text/qstringview.cpp
+++ b/src/corelib/text/qstringview.cpp
@@ -810,7 +810,7 @@ QT_BEGIN_NAMESPACE
The behavior is undefined if the string contains non-Latin1 characters.
- \sa toUtf8(), toLocal8Bit(), QTextCodec
+ \sa toUtf8(), toLocal8Bit(), QStringEncoder
*/
/*!
@@ -818,14 +818,13 @@ QT_BEGIN_NAMESPACE
Returns a local 8-bit representation of the string as a QByteArray.
- QTextCodec::codecForLocale() is used to perform the conversion from
- Unicode. If the locale's encoding could not be determined, this function
- does the same as toLatin1().
+ On Unix systems this is equivalen to toUtf8(), on Windows the systems
+ current code page is being used.
The behavior is undefined if the string contains characters not
supported by the locale's 8-bit encoding.
- \sa toLatin1(), toUtf8(), QTextCodec
+ \sa toLatin1(), toUtf8(), QStringEncoder
*/
/*!
@@ -836,7 +835,7 @@ QT_BEGIN_NAMESPACE
UTF-8 is a Unicode codec and can represent all characters in a Unicode
string like QString.
- \sa toLatin1(), toLocal8Bit(), QTextCodec
+ \sa toLatin1(), toLocal8Bit(), QStringEncoder
*/
/*!
@@ -851,7 +850,7 @@ QT_BEGIN_NAMESPACE
The returned vector is not 0-terminated.
- \sa toUtf8(), toLatin1(), toLocal8Bit(), QTextCodec
+ \sa toUtf8(), toLatin1(), toLocal8Bit(), QStringEncoder
*/
/*!