From 652bd1efca34b7e114836f79c33b5e4a248faaee Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 3 Sep 2020 15:04:16 +0200 Subject: Make QStringList an alias to QList Fix our API, so that QStringList and QList are the same thing. This required a bit of refactoring in QList and moving the indexOf(), lastIndexOf() and contains() method into QListSpecialMethods. In addition, we need to ensure that the QStringList(const QString&) constructor is still available for compatibility with Qt 5. Once those two are done, all methods in QStringList can be moved into QListSpecialMethods. Change-Id: Ib8afbf5b6d9df4d0d47051252233506f62335fa3 Reviewed-by: Andrei Golubev Reviewed-by: Thiago Macieira --- examples/widgets/tools/plugandpaint/app/interfaces.h | 1 - examples/widgets/tools/plugandpaint/app/plugindialog.h | 1 - 2 files changed, 2 deletions(-) (limited to 'examples') diff --git a/examples/widgets/tools/plugandpaint/app/interfaces.h b/examples/widgets/tools/plugandpaint/app/interfaces.h index 705e578809..5e92b01dc3 100644 --- a/examples/widgets/tools/plugandpaint/app/interfaces.h +++ b/examples/widgets/tools/plugandpaint/app/interfaces.h @@ -61,7 +61,6 @@ class QPainterPath; class QPoint; class QRect; class QString; -class QStringList; QT_END_NAMESPACE //! [0] diff --git a/examples/widgets/tools/plugandpaint/app/plugindialog.h b/examples/widgets/tools/plugandpaint/app/plugindialog.h index b18b30e62c..d480fe4283 100644 --- a/examples/widgets/tools/plugandpaint/app/plugindialog.h +++ b/examples/widgets/tools/plugandpaint/app/plugindialog.h @@ -57,7 +57,6 @@ QT_BEGIN_NAMESPACE class QLabel; class QPushButton; -class QStringList; class QTreeWidget; class QTreeWidgetItem; QT_END_NAMESPACE -- cgit v1.2.3