qt5base-lts/tests/auto/widgets/itemviews
Giuseppe D'Angelo 784a290c4b QFileInfo: mark constructors as explicit
These look like leftovers (API flaws).

Construction of QFileInfo from QString (or similar) should be not
implicit, as QFileInfo construction is expensive (might hit the file
system), and this may have users overlook APIs (for instance build a
QFileInfo out of QDirIterator::next(), instead of using ::fileInfo();
using QDir::entryList instead of entryInfoList; etc.).

Leave an opt-out mechanism to ease porting.

Fix a handful of usages around qtbase, with at least a couple of them
likely to be actual "sloppy" code.

[ChangeLog][Potentially Source-Incompatible Changes][QFileInfo] Most
QFileInfo constructors are now explicit. The
QT_IMPLICIT_QFILEINFO_CONSTRUCTION macro is provided to keep old code
working.

Change-Id: Ic580e6316e67edbc840aa0c60d98c7aaabaf1af6
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-11-15 18:30:16 +01:00
..
qabstractitemview Fix a mistake when using QLatin1String::arg 2020-11-07 06:25:36 +01:00
qcolumnview CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qdatawidgetmapper CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qfileiconprovider QFileInfo: mark constructors as explicit 2020-11-15 18:30:16 +01:00
qheaderview QChar: make construction from integral explicit 2020-11-15 14:41:05 +01:00
qitemdelegate Deprecate QVariant::Type 2020-10-23 09:58:57 +02:00
qitemeditorfactory Deprecate QVariant::Type 2020-10-23 09:58:57 +02:00
qitemview CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qlistview Use QTRY_COMPARE in an attempt to make the test less flaky 2020-11-10 23:05:23 +01:00
qlistwidget CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qtableview Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
qtablewidget Stop copying events in tests 2020-11-12 15:25:06 +01:00
qtreeview Fix a mistake when using QLatin1String::arg 2020-11-07 06:25:36 +01:00
qtreewidget Deprecate QVariant::Type 2020-10-23 09:58:57 +02:00
qtreewidgetitemiterator CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
itemviews.pro Remove the deprecated QDirModel 2020-06-04 19:11:19 +02:00