4#ifndef QFILEINFOGATHERER_H
5#define QFILEINFOGATHERER_H
18#include <QtGui/private/qtguiglobal_p.h>
23#if QT_CONFIG(filesystemwatcher)
33#include <private/qfilesystemengine_p.h>
51 return mFileInfo ==
fileInfo.mFileInfo
57#ifndef QT_NO_FSFILEENGINE
68 if (mFileInfo.
isDir()) {
80 bool isSymLink(
bool ignoreNtfsSymLinks =
false)
const
82 if (ignoreNtfsSymLinks) {
141 bool isWatching()
const;
142 void setWatching(
bool v);
149 bool resolveSymlinks()
const;
155 void setResolveSymlinks(
bool enable);
170 void createWatcher();
180#if QT_CONFIG(filesystemwatcher)
186 bool m_resolveSymlinks =
true;
188#if QT_CONFIG(filesystemwatcher)
189 bool m_watching =
true;
\inmodule QtCore\reentrant
void updates(const QString &directory, const QList< QPair< QString, QFileInfo > > &updates)
void newListOfFiles(const QString &directory, const QStringList &listOfFiles) const
void nameResolved(const QString &fileName, const QString &resolvedName) const
void directoryLoaded(const QString &path)
\inmodule QtCore \reentrant
QDateTime lastModified() const
Returns the date and time when the file was last modified.
bool isSymLink() const
Returns true if this object points to a symbolic link, shortcut, or alias; otherwise returns false.
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 this is a ‘hidden’ file; otherwise returns false.
bool exists() const
Returns true if the file 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.
std::pair< T1, T2 > QPair
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)
QFileInfo info(fileName)
[8]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent