30class QKqueueFileSystemWatcherEngine :
public QFileSystemWatcherEngine
34 ~QKqueueFileSystemWatcherEngine();
36 static QKqueueFileSystemWatcherEngine *create(QObject *parent);
38 QStringList addPaths(
const QStringList &paths, QStringList *files,
39 QStringList *directories) override;
40 QStringList removePaths(
const QStringList &paths, QStringList *files,
41 QStringList *directories) override;
44 void readFromKqueue();
47 QKqueueFileSystemWatcherEngine(
int kqfd, QObject *parent);
51 QHash<QString,
int> pathToID;
52 QHash<
int, QString> idToPath;
53 QSocketNotifier notifier;