qt6-bb10/tests/benchmarks/corelib
Ahmad Samir 7c663d04d7 QDirListing: add flags to handle entries filtering
By extending IteratorFlag so that it replaces both QDir::Filter and
QDirIterator::IteratorFlag enums, but with better defaults (based on how
QDir/Iterator is used in 15-20 years worth of code in Qt and KDE).

Make the QDirListing(QDir ~~) ctor private, also change it to use
QDirIterator::IteratatorFlags; it will be used to port existing code.

If QDir is ported to use QDirListing::IteratorFlags, instead of
QDir::Filters, a public QDirListing(QDir) constructor can then be added.

Fixes: QTBUG-125504
Task-number: QTBUG-125859
Change-Id: Ide4ff8279f554029ac30d0579b0e8373ed4337f7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit e583c3d5163a5512abac85e32359652e28a053f7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-06-27 01:31:40 +00:00
..
io QDirListing: add flags to handle entries filtering 2024-06-27 01:31:40 +00:00
itemmodels Add copyright and licensing to build system files missing it 2024-05-21 17:23:21 +02:00
json Change license for tests files 2024-02-04 09:56:42 +01:00
kernel Change license for tests files 2024-02-04 09:56:42 +01:00
mimetypes Change license for tests files 2024-02-04 09:56:42 +01:00
plugin Change license for tests files 2024-02-04 09:56:42 +01:00
serialization Change license for tests files 2024-02-04 09:56:42 +01:00
text Change license for tests files 2024-02-04 09:56:42 +01:00
thread Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
time Add benchmarks for QDate::fromString() 2024-04-22 18:56:21 +02:00
tools qHash: implement an AES hasher for QLatin1StringView 2024-03-12 18:23:09 -07:00
CMakeLists.txt Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00