Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
Public Member Functions | |
AndroidAbstractFileEngineIterator (QDir::Filters filters, const QStringList &nameFilters, const QString &path) | |
QFileInfo | currentFileInfo () const override |
The virtual function returns a QFileInfo for the current directory entry. | |
QString | currentFileName () const override |
This pure virtual function returns the name of the current directory entry, excluding the path. | |
QString | currentFilePath () const override |
Returns the path to the current directory entry. | |
bool | advance () override |
This pure virtual function advances the iterator to the next directory entry; if the operation was successful this method returns true , otherwise it returs false . | |
Public Member Functions inherited from QAbstractFileEngineIterator | |
QAbstractFileEngineIterator (const QString &path, QDir::Filters filters, const QStringList &nameFilters) | |
Constructs a QAbstractFileEngineIterator, using the entry filters filters, and wildcard name filters nameFilters. | |
virtual | ~QAbstractFileEngineIterator () |
Destroys the QAbstractFileEngineIterator. | |
QString | path () const |
Returns the path for this iterator. | |
QStringList | nameFilters () const |
Returns the name filters for this iterator. | |
QDir::Filters | filters () const |
Returns the entry filters for this iterator. | |
Additional Inherited Members | |
Protected Attributes inherited from QAbstractFileEngineIterator | |
QFileInfo | m_fileInfo |
Definition at line 164 of file qandroidassetsfileenginehandler.cpp.
|
inline |
Definition at line 167 of file qandroidassetsfileenginehandler.cpp.
References cleanedAssetPath(), and FolderIterator::fromCache().
|
inlineoverridevirtual |
This pure virtual function advances the iterator to the next directory entry; if the operation was successful this method returns true
, otherwise it returs false
.
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 194 of file qandroidassetsfileenginehandler.cpp.
References FolderIterator::advance().
|
inlineoverridevirtual |
The virtual function returns a QFileInfo for the current directory entry.
This function is provided for convenience. It can also be slightly faster than creating a QFileInfo object yourself, as the object returned by this function might contain cached information that QFileInfo otherwise would have to access through the file engine.
Reimplemented from QAbstractFileEngineIterator.
Definition at line 175 of file qandroidassetsfileenginehandler.cpp.
References currentFilePath().
|
inlineoverridevirtual |
This pure virtual function returns the name of the current directory entry, excluding the path.
Implements QAbstractFileEngineIterator.
Definition at line 180 of file qandroidassetsfileenginehandler.cpp.
References FolderIterator::currentFileName().
|
inlineoverridevirtual |
Returns the path to the current directory entry.
It's the same as prepending path() to the return value of currentFileName().
Reimplemented from QAbstractFileEngineIterator.
Definition at line 187 of file qandroidassetsfileenginehandler.cpp.
References FolderIterator::currentFilePath().
Referenced by currentFileInfo().