4#ifndef QFILESYSTEMWATCHER_POLLING_P_H
5#define QFILESYSTEMWATCHER_POLLING_P_H
18#include <QtCore/qbasictimer.h>
19#include <QtCore/qfileinfo.h>
20#include <QtCore/qmutex.h>
21#include <QtCore/qdatetime.h>
22#include <QtCore/qdir.h>
23#include <QtCore/qhash.h>
38 QFile::Permissions permissions;
49 if (fileInfo.
isDir()) {
53 FileInfo &operator=(
const QFileInfo &fileInfo)
55 *
this = FileInfo(fileInfo);
59 bool operator!=(
const QFileInfo &fileInfo)
const
63 return (ownerId != fileInfo.
ownerId()
64 || groupId != fileInfo.
groupId()
70 QHash<QString, FileInfo> files, directories;
\inmodule QtCore\reentrant
QStringList entryList(Filters filters=NoFilter, SortFlags sort=NoSort) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
QDateTime lastModified() const
Returns the date and time when the file was last modified.
uint groupId() const
Returns the id of the group the file belongs to.
bool isDir() const
Returns true if this object points to a directory or to a symbolic link to a directory.
uint ownerId() const
Returns the id of the owner of the file.
QDir absoluteDir() const
Returns a QDir object representing the absolute path of the parent directory of the file system entry...
QFile::Permissions permissions() const
Returns the complete OR-ed together combination of QFile::Permissions for the file.
QObject * parent() const
Returns a pointer to the parent object.
QPollingFileSystemWatcherEngine(QObject *parent)
void timerEvent(QTimerEvent *) final
This event handler can be reimplemented in a subclass to receive timer events for the object.
QStringList addPaths(const QStringList &paths, QStringList *files, QStringList *directories) override
QStringList removePaths(const QStringList &paths, QStringList *files, QStringList *directories) override
Combined button and popup list for selecting options.
GLsizei const GLuint * paths
#define QT_REQUIRE_CONFIG(feature)