diff options
author | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-09-15 17:10:21 +0200 |
---|---|---|
committer | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2010-09-15 18:56:43 +0200 |
commit | 6bc165d0fbbc4704d87e59cc0795dc2769228dc3 (patch) | |
tree | 39e63f6e92eb3c11afc8fd3ac1a8408b5121abab /src/corelib/io/qfsfileengine_iterator_p.h | |
parent | fd4463c07f577d9df212388062028f9119e19add (diff) |
Implement QFileSystemIterator for windows.
The search is implemented using FindFirstFileEx(). Following
optimizations are done
* Using large Fetch buffer on Windows 7
* Querying only the long file name
* Querying for directories only, depending on QDir::Filters
Reviewed-by: Joao
Diffstat (limited to 'src/corelib/io/qfsfileengine_iterator_p.h')
-rw-r--r-- | src/corelib/io/qfsfileengine_iterator_p.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/corelib/io/qfsfileengine_iterator_p.h b/src/corelib/io/qfsfileengine_iterator_p.h index 7940fbdbaf..ac9598db81 100644 --- a/src/corelib/io/qfsfileengine_iterator_p.h +++ b/src/corelib/io/qfsfileengine_iterator_p.h @@ -77,21 +77,11 @@ public: QFileInfo currentFileInfo() const; private: -#ifdef Q_OS_UNIX void advance() const; mutable QScopedPointer<QFileSystemIterator> nativeIterator; mutable QFileInfo currentInfo; mutable QFileInfo nextInfo; mutable bool done; -#else - QFSFileEngineIteratorPlatformSpecificData *platform; - friend class QFSFileEngineIteratorPlatformSpecificData; - void newPlatformSpecifics(); - void deletePlatformSpecifics(); - void advance(); - - QString currentEntry; -#endif }; QT_END_NAMESPACE |