path: root/src/corelib/text/qstringalgorithms.h
diff options
authorLars Knoll <>2020-05-27 09:58:12 +0200
committerLars Knoll <>2020-06-20 20:01:33 +0200
commit03326a2fec416405b437089874f6439e937bbada (patch)
tree48d7137c3cd5e6f537e06e97380d3c1e76a56af9 /src/corelib/text/qstringalgorithms.h
parent1a9a4af388477efd9f7008d5c0bb74432c20279d (diff)
Move implementation of QVector/List back to qlist.h
And name the main class QList. That's also the one we document. This gives less porting pain for our users, and a lot less churn in our API, as we use QList in Qt 5 in 95% of our API. In addition, it gives more consistent naming with QStringList and QByteArrayList and disambiguates QList vs QVector(2|3|4)D. Fixes: QTBUG-84468 Change-Id: I3cba9d1d3179969d8bf9320b31be2230d021d1a9 Reviewed-by: Volker Hilsheimer <>
Diffstat (limited to 'src/corelib/text/qstringalgorithms.h')
1 files changed, 1 insertions, 2 deletions
diff --git a/src/corelib/text/qstringalgorithms.h b/src/corelib/text/qstringalgorithms.h
index f1aa052eac..3b67739232 100644
--- a/src/corelib/text/qstringalgorithms.h
+++ b/src/corelib/text/qstringalgorithms.h
@@ -41,7 +41,7 @@
#include <QtCore/qnamespace.h>
+#include <QtCore/qcontainerfwd.h>
#if 0
#pragma qt_class(QStringAlgorithms)
@@ -52,7 +52,6 @@ class QByteArray;
class QLatin1String;
class QStringView;
class QChar;
-template <typename T> class QVector;
namespace QtPrivate {