42 #ifndef QFILESYSTEMWATCHER_WIN_P_H 43 #define QFILESYSTEMWATCHER_WIN_P_H 58 #ifndef QT_NO_FILESYSTEMWATCHER 62 #include <QtCore/qdatetime.h> 63 #include <QtCore/qfile.h> 64 #include <QtCore/qfileinfo.h> 65 #include <QtCore/qhash.h> 66 #include <QtCore/qmutex.h> 67 #include <QtCore/qvector.h> 97 : handle(INVALID_HANDLE_VALUE), flags(0
u)
100 : handle(other.handle), flags(other.flags)
127 return (ownerId != fileInfo.
ownerId()
128 || groupId != fileInfo.
groupId()
162 #endif // QT_NO_FILESYSTEMWATCHER 166 #endif // QFILESYSTEMWATCHER_WIN_P_H QList< QWindowsFileSystemWatcherEngineThread * > threads
virtual void run()
The starting point for the thread.
void fileChanged(const QString &path, bool removed)
#define QT_END_NAMESPACE
This macro expands to.
The QMutex class provides access serialization between threads.
The QString class provides a Unicode character string.
QFile::Permissions permissions() const
Returns the complete OR-ed together combination of QFile::Permissions for the file.
QHash< QString, QWindowsFileSystemWatcherEngine::Handle > handleForDir
QVector< HANDLE > handles
uint ownerId() const
Returns the id of the owner of the file.
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool operator!=(const QFileInfo &fileInfo) const
The QStringList class provides a list of strings.
QStringList removePaths(const QStringList &paths, QStringList *files, QStringList *directories)
void directoryChanged(const QString &path, bool removed)
QWindowsFileSystemWatcherEngine()
QHash< HANDLE, QHash< QString, QWindowsFileSystemWatcherEngine::PathInfo > > pathInfoForHandle
The QDateTime class provides date and time functions.
uint groupId() const
Returns the id of the group the file belongs to.
Handle(const Handle &other)
QStringList addPaths(const QStringList &paths, QStringList *files, QStringList *directories)
The QFileInfo class provides system-independent file information.
The QThread class provides a platform-independent way to manage threads.
PathInfo & operator=(const QFileInfo &fileInfo)
QFile::Permissions permissions
The QList class is a template class that provides lists.
~QWindowsFileSystemWatcherEngine()
QDateTime lastModified() const
Returns the date and time when the file was last modified.