summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstring.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-01-24 08:53:55 +0000
committerMarc Mutz <marc.mutz@qt.io>2022-01-25 11:59:02 +0000
commit1f118a54f8c5518328d7492c86ed1fc9b2a6ebcd (patch)
treec37660b49ffeb5467802c28db051ed1e9874c67c /src/corelib/text/qstring.cpp
parentc532a576708254e725bf87e3b4f74d29749e709a (diff)
Revert "QLatin1String: Add overloads taking QLatin1Char"
This reverts commit 1c164ec7f21a78025475c561a70b94d1e3dd6bb6, except for the test additions. Reason for revert: We need to optimize the implementation, not complicate the API. Found during the 6.3 API review. Pick-to: 6.3 Change-Id: I91c3f65ed6d1fc438deb0e028d578a07c0005362 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/text/qstring.cpp')
-rw-r--r--src/corelib/text/qstring.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp
index 437b31089d..8fd9dc96cf 100644
--- a/src/corelib/text/qstring.cpp
+++ b/src/corelib/text/qstring.cpp
@@ -9301,12 +9301,6 @@ QString &QString::setRawData(const QChar *unicode, qsizetype size)
\sa operator==(), operator<(), operator>()
*/
-/*!
- \fn int QLatin1String::compare(QLatin1Char ch, Qt::CaseSensitivity cs) const
- \since 6.3
- \overload
-*/
-
/*!
\fn bool QLatin1String::startsWith(QStringView str, Qt::CaseSensitivity cs) const
@@ -9329,12 +9323,6 @@ QString &QString::setRawData(const QChar *unicode, qsizetype size)
*/
/*!
- \fn bool QLatin1String::startsWith(QLatin1Char ch, Qt::CaseSensitivity cs) const
- \since 6.3
- \overload
-*/
-
-/*!
\fn bool QLatin1String::endsWith(QStringView str, Qt::CaseSensitivity cs) const
\since 5.10
\fn bool QLatin1String::endsWith(QLatin1String l1, Qt::CaseSensitivity cs) const
@@ -9355,12 +9343,6 @@ QString &QString::setRawData(const QChar *unicode, qsizetype size)
*/
/*!
- \fn bool QLatin1String::endsWith(QLatin1Char ch, Qt::CaseSensitivity cs) const
- \since 6.3
- \overload
-*/
-
-/*!
\fn qsizetype QLatin1String::indexOf(QStringView str, qsizetype from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const
\fn qsizetype QLatin1String::indexOf(QLatin1String l1, qsizetype from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const
\fn qsizetype QLatin1String::indexOf(QChar c, qsizetype from = 0, Qt::CaseSensitivity cs = Qt::CaseSensitive) const
@@ -9381,12 +9363,6 @@ QString &QString::setRawData(const QChar *unicode, qsizetype size)
*/
/*!
- \fn qsizetype QLatin1String::indexOf(QLatin1Char ch, qsizetype from, Qt::CaseSensitivity cs) const
- \since 6.3
- \overload
-*/
-
-/*!
\fn bool QLatin1String::contains(QStringView str, Qt::CaseSensitivity cs) const
\fn bool QLatin1String::contains(QLatin1String l1, Qt::CaseSensitivity cs) const
\fn bool QLatin1String::contains(QChar c, Qt::CaseSensitivity cs) const
@@ -9404,12 +9380,6 @@ QString &QString::setRawData(const QChar *unicode, qsizetype size)
*/
/*!
- \fn bool QLatin1String::contains(QLatin1Char ch, Qt::CaseSensitivity cs) const
- \since 6.3
- \overload
-*/
-
-/*!
\fn qsizetype QLatin1String::lastIndexOf(QStringView str, qsizetype from, Qt::CaseSensitivity cs) const
\fn qsizetype QLatin1String::lastIndexOf(QLatin1String l1, qsizetype from, Qt::CaseSensitivity cs) const
\fn qsizetype QLatin1String::lastIndexOf(QChar c, qsizetype from, Qt::CaseSensitivity cs) const
@@ -9454,7 +9424,6 @@ QString &QString::setRawData(const QChar *unicode, qsizetype size)
/*!
\fn qsizetype QLatin1String::lastIndexOf(QChar ch, Qt::CaseSensitivity cs) const
- \fn qsizetype QLatin1String::lastIndexOf(QLatin1Char ch, qsizetype from, Qt::CaseSensitivity cs) const
\since 6.3
\overload
*/