12class DFileWatcherPrivate;
18 explicit DFileWatcher(
const QString &filePath, QObject *parent = 0);
21 void onFileDeleted(
const QString &path,
const QString &name);
22 void onFileAttributeChanged(
const QString &path,
const QString &name);
23 void onFileMoved(
const QString &fromPath,
const QString &fromName,
24 const QString &toPath,
const QString &toName);
25 void onFileCreated(
const QString &path,
const QString &name);
26 void onFileModified(
const QString &path,
const QString &name);
27 void onFileClosed(
const QString &path,
const QString &name);
DBaseFileWatcher 类提供了一系列接口可供监视文件和目录的变动。
Definition dbasefilewatcher.h:17
Definition dfilewatcher.h:14
DFileWatcher(const QString &filePath, QObject *parent=0)
构造函数