4#ifndef QFILEINFOGATHERER_H
5#define QFILEINFOGATHERER_H
18#include <QtGui/private/qtguiglobal_p.h>
23#if QT_CONFIG(filesystemwatcher)
32#include <private/qfilesystemengine_p.h>
52 return mFileInfo ==
fileInfo.mFileInfo
58#ifndef QT_NO_FSFILEENGINE
69 if (mFileInfo.
isDir()) {
81 bool isSymLink(
bool ignoreNtfsSymLinks =
false)
const
83 if (ignoreNtfsSymLinks) {
142 bool isWatching()
const;
143 void setWatching(
bool v);
150 bool resolveSymlinks()
const;
158 void setResolveSymlinks(
bool enable);
176 void createWatcher();
181 QStack<QString>
path;
182 QStack<QStringList>
files;
185#if QT_CONFIG(filesystemwatcher)
191 bool m_resolveSymlinks =
true;
193#if QT_CONFIG(filesystemwatcher)
194 bool m_watching =
true;
\inmodule QtCore\reentrant
void newListOfFiles(const QString &directory, const QStringList &listOfFiles) const
void updates(const QString &directory, const QList< std::pair< QString, QFileInfo > > &updates)
void nameResolved(const QString &fileName, const QString &resolvedName) const
void directoryLoaded(const QString &path)
QDateTime lastModified() const
Returns the date and time when the file was last modified.
QString suffix() const
Returns the suffix (extension) of the file.
bool isFile() const
Returns true if this object points to a file or to a symbolic link to a file.
bool isDir() const
Returns true if this object points to a directory or to a symbolic link to a directory.
qint64 size() const
Returns the file size in bytes.
bool isHidden() const
Returns true if the file system entry this QFileInfo refers to is ‘hidden’; otherwise returns false.
bool exists() const
Returns true if the file system entry this QFileInfo refers to exists; otherwise returns false.
QFile::Permissions permissions() const
Returns the complete OR-ed together combination of QFile::Permissions for the file.
static bool isCaseSensitive()
The QIcon class provides scalable icons in different modes and states.
\macro QT_RESTRICTED_CAST_FROM_ASCII
int compare(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const noexcept
Combined button and popup list for selecting options.
GLsizei const GLfloat * v
[13]
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLsizei const GLuint * paths
GLsizei const GLchar *const * path
bool updateFile(const QString &fileName, const QHash< QString, QString > &replacements)
#define QT_REQUIRE_CONFIG(feature)