KDECore
Go to the documentation of this file.
21 #include <QtCore/QDateTime>
22 #include <QtCore/QObject>
23 #include <QtCore/QString>
78 Q_DECLARE_FLAGS(WatchModes, WatchMode)
115 void addDir(
const QString& path, WatchModes watchModes = WatchDirOnly);
122 void addFile(
const QString& file);
137 void removeDir(
const QString& path);
145 void removeFile(
const QString& file);
159 bool stopDirScan(
const QString& path);
174 bool restartDirScan(
const QString& path);
192 void startScan(
bool notify=
false,
bool skippedToo=
false );
213 bool contains(
const QString& path )
const;
215 void deleteQFSWatcher();
221 static void statistics();
228 Method internalMethod();
248 static bool exists();
256 void setCreated(
const QString &path );
262 void setDirty(
const QString &path );
268 void setDeleted(
const QString &path );
305 Q_DECLARE_OPERATORS_FOR_FLAGS(KDirWatch::WatchModes)
WatchMode
Available watch modes for directory monitoring.
bool isStopped()
Check if the caller asked the helper to stop the execution.
void dirty(const QString &path)
Emitted when a watched object is changed.
void deleted(const QString &path)
Emitted when a file or directory is deleted.
Class for watching directory and file changes.
void created(const QString &path)
Emitted when a file or directory is created.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Aug 27 2020 00:00:00 by
doxygen 1.8.20 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.