![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qandroidapkfileengine.h>
Public Member Functions | |
QAndroidApkFileEngineIterator (const QString &path, QDirListing::IteratorFlags filters, const QStringList &filterNames) | |
~QAndroidApkFileEngineIterator () | |
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 . | |
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. | |
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. | |
QAbstractFileEngineIterator (const QString &path, QDirListing::IteratorFlags filters, const QStringList &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. | |
virtual QFileInfo | currentFileInfo () const |
The virtual function returns a QFileInfo for the current directory entry. |
Additional Inherited Members | |
Protected Attributes inherited from QAbstractFileEngineIterator | |
QFileInfo | m_fileInfo |
Definition at line 59 of file qandroidapkfileengine.h.
QAndroidApkFileEngineIterator::QAndroidApkFileEngineIterator | ( | const QString & | path, |
QDirListing::IteratorFlags | filters, | ||
const QStringList & | filterNames ) |
Definition at line 223 of file qandroidapkfileengine.cpp.
References QAndroidApkFileEngineIterator().
Referenced by QAndroidApkFileEngineIterator().
QAndroidApkFileEngineIterator::~QAndroidApkFileEngineIterator | ( | ) |
Definition at line 234 of file qandroidapkfileengine.cpp.
|
overridevirtual |
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 236 of file qandroidapkfileengine.cpp.
|
overridevirtual |
This pure virtual function returns the name of the current directory entry, excluding the path.
Implements QAbstractFileEngineIterator.
Definition at line 246 of file qandroidapkfileengine.cpp.
|
overridevirtual |
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 251 of file qandroidapkfileengine.cpp.