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>.
|
[2] More...
Public Member Functions | |
CustomIterator (const QString &path, const QStringList &nameFilters, QDir::Filters filters) | |
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 () override |
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. | |
virtual QString | currentFileName () const =0 |
This pure virtual function returns the name of the current directory entry, excluding the path. | |
virtual QFileInfo | currentFileInfo () const |
The virtual function returns a QFileInfo for the current directory entry. | |
virtual QString | currentFilePath () const |
Returns the path to the current directory entry. | |
Additional Inherited Members | |
Protected Attributes inherited from QAbstractFileEngineIterator | |
QFileInfo | m_fileInfo |
|
inline |
Definition at line 60 of file src_corelib_io_qabstractfileengine.cpp.
|
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 68 of file src_corelib_io_qabstractfileengine.cpp.
|
inlineoverride |
Definition at line 79 of file src_corelib_io_qabstractfileengine.cpp.
References QString::at().