#include <qfilesystemiterator_p.h>
Definition at line 77 of file qfilesystemiterator_p.h.
◆ QFileSystemIterator()
Definition at line 52 of file qfilesystemiterator_unix.cpp.
57 #if defined(Q_OS_QNX) && defined(__EXT_QNX__READDIR_R) 73 #if defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(Q_OS_CYGWIN) 76 if (maxPathName ==
size_t(-1))
77 maxPathName = FILENAME_MAX;
78 maxPathName +=
sizeof(QT_DIRENT) + 1;
80 QT_DIRENT *p =
reinterpret_cast<QT_DIRENT*
>(::malloc(maxPathName));
84 #if defined(Q_OS_QNX) && defined(__EXT_QNX__READDIR_R) 85 direntSize = maxPathName;
90 if (dircntl(dir, D_SETFLAG, D_FLAG_STAT) == -1)
QFileSystemEntry::NativePath nativePath
NativePath nativeFilePath() const
static const char *const filters[3]
QString & append(QChar c)
bool endsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string ends with s; otherwise returns false.
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
const QChar * constData() const
Returns a pointer to the data stored in the QString.
◆ ~QFileSystemIterator()
QFileSystemIterator::~QFileSystemIterator |
( |
| ) |
|
◆ advance()
Definition at line 103 of file qfilesystemiterator_unix.cpp.
Referenced by QFSFileEngineIterator::advance(), and QDirIteratorPrivate::advance().
108 #if defined(Q_OS_QNX) && defined(QT_EXT_QNX_READDIR_R) 109 lastError = QT_EXT_QNX_READDIR_R(dir, mt_file.data(), &dirEntry, direntSize);
112 #elif defined(_POSIX_THREAD_SAFE_FUNCTIONS) && !defined(Q_OS_CYGWIN) 113 lastError = QT_READDIR_R(dir, mt_file.data(), &dirEntry);
118 dirEntry = QT_READDIR(dir);
119 #endif // _POSIX_THREAD_SAFE_FUNCTIONS QFileSystemEntry::NativePath nativePath
The QByteArray class provides an array of bytes.
◆ dirPath
◆ findFileHandle
HANDLE QFileSystemIterator::findFileHandle |
|
private |
◆ nativePath
◆ onlyDirs
bool QFileSystemIterator::onlyDirs |
|
private |
◆ uncFallback
bool QFileSystemIterator::uncFallback |
|
private |
◆ uncShareIndex
int QFileSystemIterator::uncShareIndex |
|
private |
◆ uncShares
The documentation for this class was generated from the following files: