QDirListing: properly deprecate ExcludeSpecial
Add "since 6.10" to ExcludeOther's docs. Found in API review. Amends c553f39e3d3cd02854850da0dfc639acbae59299. Pick-to: 6.10 Change-Id: I3edb32d4d50864ddbdde03aaca750d590a0e0854 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
94f0ff704e
commit
cee8ea7c13
@ -76,7 +76,7 @@
|
|||||||
links to directories will be excluded too.
|
links to directories will be excluded too.
|
||||||
|
|
||||||
\omitvalue ExcludeSpecial
|
\omitvalue ExcludeSpecial
|
||||||
\value ExcludeOther
|
\value ExcludeOther [since 6.10]
|
||||||
Don't list file system entries that are \e not directories, regular files,
|
Don't list file system entries that are \e not directories, regular files,
|
||||||
or symbolic links.
|
or symbolic links.
|
||||||
\list
|
\list
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#ifndef QDIRLISTING_H
|
#ifndef QDIRLISTING_H
|
||||||
#define QDIRLISTING_H
|
#define QDIRLISTING_H
|
||||||
|
|
||||||
|
#include <QtCore/qtdeprecationmarkers.h>
|
||||||
#include <QtCore/qfiledevice.h>
|
#include <QtCore/qfiledevice.h>
|
||||||
#include <QtCore/qflags.h>
|
#include <QtCore/qflags.h>
|
||||||
#include <QtCore/qtclasshelpermacros.h>
|
#include <QtCore/qtclasshelpermacros.h>
|
||||||
@ -28,7 +29,9 @@ public:
|
|||||||
Default = 0x000000,
|
Default = 0x000000,
|
||||||
ExcludeFiles = 0x000004,
|
ExcludeFiles = 0x000004,
|
||||||
ExcludeDirs = 0x000008,
|
ExcludeDirs = 0x000008,
|
||||||
QT6_ONLY(ExcludeSpecial = 0x000010,)
|
#if QT_DEPRECATED_SINCE(6, 14)
|
||||||
|
ExcludeSpecial QT_DEPRECATED_VERSION_X_6_14("Use ExcludeOther instead.") = 0x000010,
|
||||||
|
#endif
|
||||||
ExcludeOther = 0x000010,
|
ExcludeOther = 0x000010,
|
||||||
ResolveSymlinks = 0x000020,
|
ResolveSymlinks = 0x000020,
|
||||||
FilesOnly = ExcludeDirs | ExcludeOther,
|
FilesOnly = ExcludeDirs | ExcludeOther,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user