summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qdir.h
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <br@blankpage.ch>2010-03-23 15:27:42 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-03-23 15:27:42 (GMT)
commitc6ef7c0cbd2ad7ac486cd6bcabaac4d090df0c03 (patch)
treea01625662210a0d2ce629463bb52be5e164d9852 /src/corelib/io/qdir.h
parentb4996ab8e3a26d45ee55593da281e4b798c04dd2 (diff)
downloadQt-c6ef7c0cbd2ad7ac486cd6bcabaac4d090df0c03.zip
Qt-c6ef7c0cbd2ad7ac486cd6bcabaac4d090df0c03.tar.gz
Qt-c6ef7c0cbd2ad7ac486cd6bcabaac4d090df0c03.tar.bz2
Split QDir::NoDotAndDotDot into QDir::NoDot and QDir::NoDotDot
This creates QDir::NoDot and QDir::NoDotDot filters -- in many cases, one may want the .. entry (e.g. to navigate to the parent directory) but not the . entry (useless for navigation). Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
Diffstat (limited to 'src/corelib/io/qdir.h')
-rw-r--r--src/corelib/io/qdir.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/io/qdir.h b/src/corelib/io/qdir.h
index 186dd2f..28da271 100644
--- a/src/corelib/io/qdir.h
+++ b/src/corelib/io/qdir.h
@@ -88,7 +88,9 @@ public:
AllDirs = 0x400,
CaseSensitive = 0x800,
- NoDotAndDotDot = 0x1000,
+ NoDotAndDotDot = 0x1000, // ### Qt5 NoDotAndDotDot = NoDot|NoDotDot
+ NoDot = 0x2000,
+ NoDotDot = 0x4000,
NoFilter = -1
#ifdef QT3_SUPPORT