![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
QQmlPreviewFileEngineIterator (const QString &path, QDirListing::IteratorFlags filters, const QStringList &filterNames, const QStringList &m_entries) | |
~QQmlPreviewFileEngineIterator () | |
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. | |
QQmlPreviewFileEngineIterator (const QString &path, QDirListing::IteratorFlags filters, const QStringList &filterNames, const QStringList &m_entries) | |
~QQmlPreviewFileEngineIterator () | |
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. | |
![]() | |
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. | |
virtual QString | currentFilePath () const |
Returns the path to the current directory entry. | |
Additional Inherited Members | |
![]() | |
QFileInfo | m_fileInfo |
Definition at line 40 of file qqmlpreviewfileengine.cpp.
QQmlPreviewFileEngineIterator::QQmlPreviewFileEngineIterator | ( | const QString & | path, |
QDirListing::IteratorFlags | filters, | ||
const QStringList & | filterNames, | ||
const QStringList & | m_entries ) |
Definition at line 55 of file qqmlpreviewfileengine.cpp.
References QQmlPreviewFileEngineIterator().
Referenced by QQmlPreviewFileEngineIterator().
QQmlPreviewFileEngineIterator::~QQmlPreviewFileEngineIterator | ( | ) |
Definition at line 63 of file qqmlpreviewfileengine.cpp.
QQmlPreviewFileEngineIterator::QQmlPreviewFileEngineIterator | ( | const QString & | path, |
QDirListing::IteratorFlags | filters, | ||
const QStringList & | filterNames, | ||
const QStringList & | m_entries ) |
QQmlPreviewFileEngineIterator::~QQmlPreviewFileEngineIterator | ( | ) |
|
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 67 of file qqmlpreviewfileengine.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.
|
overridevirtual |
This pure virtual function returns the name of the current directory entry, excluding the path.
Implements QAbstractFileEngineIterator.
Definition at line 76 of file qqmlpreviewfileengine.cpp.
|
overridevirtual |
This pure virtual function returns the name of the current directory entry, excluding the path.
Implements QAbstractFileEngineIterator.