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 );
285 void dirty(
const QString &path);
291 void created(
const QString &path);
299 void deleted(
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.
Class for watching directory and file changes.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jan 19 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.