summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2011-02-25 10:22:00 (GMT)
committerMorten Sorvig <msorvig@trolltech.com>2011-03-16 09:49:59 (GMT)
commitf0fc5b8a9ab3f4bca0022771e576722d63a78ca2 (patch)
tree1df0f1316970c77d84609f198fe86a91a2be506a /src/corelib/global
parent468142db15fe99c70505f507f6c2941706172853 (diff)
downloadQt-f0fc5b8a9ab3f4bca0022771e576722d63a78ca2.zip
Qt-f0fc5b8a9ab3f4bca0022771e576722d63a78ca2.tar.gz
Qt-f0fc5b8a9ab3f4bca0022771e576722d63a78ca2.tar.bz2
Add QT_NO_FILESYSTEMITERATOR.
This makes it possible to use the file-related classes on platforms that does not have a native QFileSystemIterator implementation. One use case is that we want to use the Qt resource system even if the platform file system support is limited. Reviewed-by: joao
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qfeatures.h3
-rw-r--r--src/corelib/global/qfeatures.txt8
2 files changed, 11 insertions, 0 deletions
diff --git a/src/corelib/global/qfeatures.h b/src/corelib/global/qfeatures.h
index d1a73a6..604d08a 100644
--- a/src/corelib/global/qfeatures.h
+++ b/src/corelib/global/qfeatures.h
@@ -79,6 +79,9 @@
// Effects
//#define QT_NO_EFFECTS
+// QFileSystemIterator
+//#define QT_NO_FILESYSTEMITERATOR
+
// QFileSystemWatcher
//#define QT_NO_FILESYSTEMWATCHER
diff --git a/src/corelib/global/qfeatures.txt b/src/corelib/global/qfeatures.txt
index 4d938a9..6b861d4 100644
--- a/src/corelib/global/qfeatures.txt
+++ b/src/corelib/global/qfeatures.txt
@@ -242,6 +242,14 @@ Requires:
Name: QFileSystemWatcher
SeeAlso: ???
+Feature: FILESYSTEMITERATOR
+Description: Provides fast file-system iteration.
+for modications.
+Section: File I/O
+Requires:
+Name: QFileSystemIterator
+SeeAlso: ???
+
# Widgets
Feature: TREEWIDGET