QDirIterator Class Reference

QDirIterator Class Reference

#include <qdiriterator.h>

Class Description

Definition at line 54 of file qdiriterator.h.

Public Types

enum  IteratorFlag { NoIteratorFlags = 0x0, FollowSymlinks = 0x1, Subdirectories = 0x2 }
 

Public Member Functions

 QDirIterator (const QDir &dir, IteratorFlags flags=NoIteratorFlags)
 
 QDirIterator (const QString &path, IteratorFlags flags=NoIteratorFlags)
 
 QDirIterator (const QString &path, QDir::Filters filter, IteratorFlags flags=NoIteratorFlags)
 
 QDirIterator (const QString &path, const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, IteratorFlags flags=NoIteratorFlags)
 
virtual ~QDirIterator ()
 
QString next ()
 
bool hasNext () const
 
QString fileName () const
 
QString filePath () const
 
QFileInfo fileInfo () const
 
QString path () const
 

Friends

class QDir
 

Member Enumeration Documentation

Enumerator
NoIteratorFlags 
FollowSymlinks 
Subdirectories 

Definition at line 56 of file qdiriterator.h.

Constructor & Destructor Documentation

QDirIterator ( const QDir dir,
IteratorFlags  flags = NoIteratorFlags 
)
QDirIterator ( const QString path,
IteratorFlags  flags = NoIteratorFlags 
)
QDirIterator ( const QString path,
QDir::Filters  filter,
IteratorFlags  flags = NoIteratorFlags 
)
QDirIterator ( const QString path,
const QStringList nameFilters,
QDir::Filters  filters = QDir::NoFilter,
IteratorFlags  flags = NoIteratorFlags 
)
virtual ~QDirIterator ( )
virtual

Member Function Documentation

QString next ( )
bool hasNext ( ) const
QString fileName ( ) const
QString filePath ( ) const
QFileInfo fileInfo ( ) const
QString path ( ) const

Friends And Related Function Documentation

friend class QDir
friend

Definition at line 88 of file qdiriterator.h.


The documentation for this class was generated from the following file: