15#include <kcoreaddons_export.h>
17class KDirWatchPrivate;
116 void addFile(
const QString &file);
131 void removeDir(
const QString &path);
139 void removeFile(
const QString &file);
153 bool stopDirScan(
const QString &path);
168 bool restartDirScan(
const QString &path);
186 void startScan(
bool notify =
false,
bool skippedToo =
false);
207 bool contains(
const QString &path)
const;
218 Method internalMethod()
const;
238 static bool exists();
251 void setCreated(
const QString &path);
257 void setDirty(
const QString &path);
263 void setDeleted(
const QString &path);
299 friend class KDirWatchPrivate;
300 friend class KDirWatch_UnitTest;
Class for watching directory and file changes.
void deleted(const QString &path)
Emitted when a file or directory is deleted.
WatchMode
Available watch modes for directory monitoring.
void dirty(const QString &path)
Emitted when a watched object is changed.
void created(const QString &path)
Emitted when a file or directory (being watched explicitly) is created.
virtual bool event(QEvent *e)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:24 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.