summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfileinfo.h
diff options
context:
space:
mode:
authorJoão Abecasis <joao.abecasis@nokia.com>2010-09-10 15:25:14 (GMT)
committerJoão Abecasis <joao.abecasis@nokia.com>2010-09-10 17:12:49 (GMT)
commit8f40161a7932e901a9f6fe59b5b3d2666c5482c5 (patch)
tree459955fe34ff30159d60169d3d88edb20e616e4c /src/corelib/io/qfileinfo.h
parentcc23ac99d68af5c9bf537e5451b7ee7c7698e954 (diff)
downloadQt-8f40161a7932e901a9f6fe59b5b3d2666c5482c5.zip
Qt-8f40161a7932e901a9f6fe59b5b3d2666c5482c5.tar.gz
Qt-8f40161a7932e901a9f6fe59b5b3d2666c5482c5.tar.bz2
QDirIterator: Use new native iterators when possible
Native iterators interface allows propagation of meta data gathered during directory traversal. Reviewed-by: Shane Kearns
Diffstat (limited to 'src/corelib/io/qfileinfo.h')
-rw-r--r--src/corelib/io/qfileinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/io/qfileinfo.h b/src/corelib/io/qfileinfo.h
index f0128b1..273a5f7 100644
--- a/src/corelib/io/qfileinfo.h
+++ b/src/corelib/io/qfileinfo.h
@@ -53,11 +53,15 @@ QT_BEGIN_NAMESPACE
QT_MODULE(Core)
class QDir;
+class QDirIteratorPrivate;
class QDateTime;
class QFileInfoPrivate;
class Q_CORE_EXPORT QFileInfo
{
+ friend class QDirIteratorPrivate;
+ explicit QFileInfo(QFileInfoPrivate *d);
+
public:
QFileInfo();
QFileInfo(const QString &file);