18#ifndef DBASEFILEWATCHER_H
19#define DBASEFILEWATCHER_H
21#include "dtkcore_global.h"
28class DBaseFileWatcherPrivate;
40 bool restartWatcher();
42 virtual void setEnabledSubfileWatcher(
const QUrl &subfileUrl,
bool enabled =
true);
46 static bool ghostSignal(
const QUrl &targetUrl, SignalType1 signal,
const QUrl &arg1);
47 static bool ghostSignal(
const QUrl &targetUrl, SignalType2 signal,
const QUrl &arg1,
const QUrl &arg2);
50 void fileDeleted(
const QUrl &url);
51 void fileAttributeChanged(
const QUrl &url);
52 void fileMoved(
const QUrl &fromUrl,
const QUrl &toUrl);
53 void subfileCreated(
const QUrl &url);
54 void fileModified(
const QUrl &url);
55 void fileClosed(
const QUrl &url);
Definition: dbasefilewatcher_p.h:29
The DBaseFileWatcher class provides an interface for monitoring files and directories for modificatio...
Definition: dbasefilewatcher.h:30
一些宏的定义.
Definition: dobject.h:38