diff options
| author | Ahmad Samir <a.samirh78@gmail.com> | 2025-07-13 11:48:23 +0300 |
|---|---|---|
| committer | Ahmad Samir <a.samirh78@gmail.com> | 2025-08-10 12:51:37 +0300 |
| commit | 05dccecef09cafb04c812fb13dbbedc8dbd4ea35 (patch) | |
| tree | 38781cfa8c58a3df07b71ee828ce1c016a528931 /src/corelib/io | |
| parent | 1c0dc86fc745e42e7f96884d5e643839062d60e3 (diff) | |
QDirListing: add a QDirIterator to QDirListing porting guide
Pick-to: 6.10 6.9 6.8
Task-number: QTBUG-138403
Change-Id: I3a7980c1a9b455f92722943b27034b02d2c203cc
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io')
| -rw-r--r-- | src/corelib/io/qdiriterator.cpp | 2 | ||||
| -rw-r--r-- | src/corelib/io/qdirlisting.cpp | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/corelib/io/qdiriterator.cpp b/src/corelib/io/qdiriterator.cpp index afeaf123f8d..7fc9ad9b252 100644 --- a/src/corelib/io/qdiriterator.cpp +++ b/src/corelib/io/qdiriterator.cpp @@ -37,7 +37,7 @@ access. \note This class is deprecated and may be removed in a Qt release. Use - QDirListing instead. + QDirListing instead, see \l {Porting QDirIterator to QDirListing}. \sa QDir, QDir::entryList() */ diff --git a/src/corelib/io/qdirlisting.cpp b/src/corelib/io/qdirlisting.cpp index 024aec8b0d4..9d3141d0406 100644 --- a/src/corelib/io/qdirlisting.cpp +++ b/src/corelib/io/qdirlisting.cpp @@ -63,8 +63,9 @@ of QDirListing. Values from this enumerator can be bitwise OR'ed together. \value Default - List all files, directories and symbolic links, including broken - symlinks (where the target doesn't exist). + List all entries, that is, files, directories, symbolic links including broken + symbolic links (where the target doesn't exist) and special (\e other) system + files, see ExcludeOther for details. Hidden files and directories and the special entries \c{.} and \c{..} aren't listed by default. |
