Qt 4.8
|
Public Functions | |
void | advance () |
void | checkAndPushDirectory (const QFileInfo &) |
bool | entryMatches (const QString &fileName, const QFileInfo &fileInfo) |
bool | matchesFilters (const QString &fileName, const QFileInfo &fi) const |
This convenience function implements the iterator's filtering logics and applies then to the current directory entry. More... | |
void | pushDirectory (const QFileInfo &fileInfo) |
QDirIteratorPrivate (const QFileSystemEntry &entry, const QStringList &nameFilters, QDir::Filters filters, QDirIterator::IteratorFlags flags, bool resolveEngine=true) | |
Public Variables | |
QFileInfo | currentFileInfo |
QFileSystemEntry | dirEntry |
QScopedPointer< QAbstractFileEngine > | engine |
QDirIteratorPrivateIteratorStack< QAbstractFileEngineIterator > | fileEngineIterators |
const QDir::Filters | filters |
const QDirIterator::IteratorFlags | iteratorFlags |
const QStringList | nameFilters |
QVector< QRegExp > | nameRegExps |
QDirIteratorPrivateIteratorStack< QFileSystemIterator > | nativeIterators |
QFileInfo | nextFileInfo |
QSet< QString > | visitedLinks |
Definition at line 126 of file qdiriterator.cpp.
QDirIteratorPrivate::QDirIteratorPrivate | ( | const QFileSystemEntry & | entry, |
const QStringList & | nameFilters, | ||
QDir::Filters | filters, | ||
QDirIterator::IteratorFlags | flags, | ||
bool | resolveEngine = true |
||
) |
Definition at line 165 of file qdiriterator.cpp.
Referenced by QDirIterator::QDirIterator().
void QDirIteratorPrivate::advance | ( | ) |
Definition at line 241 of file qdiriterator.cpp.
Referenced by QDirIterator::next(), and QDirIteratorPrivate().
void QDirIteratorPrivate::checkAndPushDirectory | ( | const QFileInfo & | fileInfo | ) |
Definition at line 284 of file qdiriterator.cpp.
Referenced by entryMatches().
|
inline |
Definition at line 223 of file qdiriterator.cpp.
Referenced by advance().
This convenience function implements the iterator's filtering logics and applies then to the current directory entry.
It returns true if the current entry matches the filters (i.e., the current entry will be returned as part of the directory iteration); otherwise, false is returned.
Definition at line 329 of file qdiriterator.cpp.
Referenced by entryMatches().
void QDirIteratorPrivate::pushDirectory | ( | const QFileInfo & | fileInfo | ) |
Definition at line 193 of file qdiriterator.cpp.
Referenced by checkAndPushDirectory(), and QDirIteratorPrivate().
QFileInfo QDirIteratorPrivate::currentFileInfo |
Definition at line 155 of file qdiriterator.cpp.
Referenced by advance(), entryMatches(), QDirIterator::fileInfo(), QDirIterator::fileName(), and QDirIterator::filePath().
QFileSystemEntry QDirIteratorPrivate::dirEntry |
Definition at line 141 of file qdiriterator.cpp.
Referenced by QDirIterator::path(), and QDirIteratorPrivate().
QScopedPointer<QAbstractFileEngine> QDirIteratorPrivate::engine |
Definition at line 139 of file qdiriterator.cpp.
Referenced by advance(), QDirIterator::hasNext(), pushDirectory(), and QDirIteratorPrivate().
QDirIteratorPrivateIteratorStack<QAbstractFileEngineIterator> QDirIteratorPrivate::fileEngineIterators |
Definition at line 150 of file qdiriterator.cpp.
Referenced by advance(), QDirIterator::hasNext(), and pushDirectory().
const QDir::Filters QDirIteratorPrivate::filters |
Definition at line 143 of file qdiriterator.cpp.
Referenced by checkAndPushDirectory(), matchesFilters(), and pushDirectory().
const QDirIterator::IteratorFlags QDirIteratorPrivate::iteratorFlags |
Definition at line 144 of file qdiriterator.cpp.
Referenced by checkAndPushDirectory(), and pushDirectory().
const QStringList QDirIteratorPrivate::nameFilters |
Definition at line 142 of file qdiriterator.cpp.
Referenced by matchesFilters(), and pushDirectory().
Definition at line 147 of file qdiriterator.cpp.
Referenced by matchesFilters(), and QDirIteratorPrivate().
QDirIteratorPrivateIteratorStack<QFileSystemIterator> QDirIteratorPrivate::nativeIterators |
Definition at line 152 of file qdiriterator.cpp.
Referenced by advance(), QDirIterator::hasNext(), and pushDirectory().
QFileInfo QDirIteratorPrivate::nextFileInfo |
Definition at line 156 of file qdiriterator.cpp.
Referenced by advance(), and entryMatches().
Definition at line 159 of file qdiriterator.cpp.
Referenced by checkAndPushDirectory(), and pushDirectory().