Qt 4.8
|
#include <qresource_iterator_p.h>
Public Functions | |
QString | currentFileName () const |
This pure virtual function returns the name of the current directory entry, excluding the path. More... | |
bool | hasNext () const |
This pure virtual function returns true if there is at least one more entry in the current directory (i. More... | |
QString | next () |
This pure virtual function advances the iterator to the next directory entry, and returns the file path to the current entry. More... | |
QResourceFileEngineIterator (QDir::Filters filters, const QStringList &filterNames) | |
~QResourceFileEngineIterator () | |
Public Functions inherited from QAbstractFileEngineIterator | |
virtual QFileInfo | currentFileInfo () const |
The virtual function returns a QFileInfo for the current directory entry. More... | |
QString | currentFilePath () const |
Returns the path to the current directory entry. More... | |
QDir::Filters | filters () const |
Returns the entry filters for this iterator. More... | |
QStringList | nameFilters () const |
Returns the name filters for this iterator. More... | |
QString | path () const |
Returns the path for this iterator. More... | |
QAbstractFileEngineIterator (QDir::Filters filters, const QStringList &nameFilters) | |
Constructs a QAbstractFileEngineIterator, using the entry filters filters, and wildcard name filters nameFilters. More... | |
virtual | ~QAbstractFileEngineIterator () |
Destroys the QAbstractFileEngineIterator. More... | |
Properties | |
QStringList | entries |
int | index |
Additional Inherited Members | |
Protected Types inherited from QAbstractFileEngineIterator | |
enum | EntryInfoType |
This enum describes the different types of information that can be requested through the QAbstractFileEngineIterator::entryInfo() function. More... | |
Protected Functions inherited from QAbstractFileEngineIterator | |
virtual QVariant | entryInfo (EntryInfoType type) const |
Returns the entry info type for this iterator's current directory entry as a QVariant. More... | |
Definition at line 62 of file qresource_iterator_p.h.
QResourceFileEngineIterator::QResourceFileEngineIterator | ( | QDir::Filters | filters, |
const QStringList & | filterNames | ||
) |
Definition at line 49 of file qresource_iterator.cpp.
QResourceFileEngineIterator::~QResourceFileEngineIterator | ( | ) |
Definition at line 55 of file qresource_iterator.cpp.
|
virtual |
This pure virtual function returns the name of the current directory entry, excluding the path.
Implements QAbstractFileEngineIterator.
Definition at line 83 of file qresource_iterator.cpp.
|
virtual |
This pure virtual function returns true if there is at least one more entry in the current directory (i.
e., the iterator path is valid and accessible, and the iterator has not reached the end of the entry list).
Implements QAbstractFileEngineIterator.
Definition at line 67 of file qresource_iterator.cpp.
Referenced by next().
|
virtual |
This pure virtual function advances the iterator to the next directory entry, and returns the file path to the current entry.
This function can optionally make use of nameFilters() and filters() to optimize its performance.
Reimplement this function in a subclass to advance the iterator.
Implements QAbstractFileEngineIterator.
Definition at line 59 of file qresource_iterator.cpp.
|
mutableprivate |
Definition at line 74 of file qresource_iterator_p.h.
Referenced by currentFileName(), and hasNext().
|
mutableprivate |
Definition at line 75 of file qresource_iterator_p.h.
Referenced by currentFileName(), hasNext(), and next().