qt6-bb10/qmake/generators/win32
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
..
mingw_make.cpp Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
mingw_make.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
msbuild_objectmodel.cpp QMake: Fix generation of Visual Studio filter files 2024-04-19 12:47:42 +02:00
msbuild_objectmodel.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
msvc_nmake.cpp QDirListing: add flags to handle entries filtering 2024-06-27 01:31:40 +00:00
msvc_nmake.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
msvc_objectmodel.cpp qmake: use [[fallthrough]] 2024-02-12 03:01:48 +00:00
msvc_objectmodel.h Set GenerateDebugInformation to true in vcproj if at least /DEBUG is set 2023-01-13 14:29:37 +01:00
msvc_vcproj.cpp QDirListing: add flags to handle entries filtering 2024-06-27 01:31:40 +00:00
msvc_vcproj.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
msvc_vcxproj.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
msvc_vcxproj.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
winmakefile.cpp Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
winmakefile.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00