29class QInotifyFileSystemWatcherEngine :
public QFileSystemWatcherEngine
34 ~QInotifyFileSystemWatcherEngine();
36 static QInotifyFileSystemWatcherEngine *create(QObject *parent);
38 QStringList addPaths(
const QStringList &paths, QStringList *files, QStringList *directories) override;
39 QStringList removePaths(
const QStringList &paths, QStringList *files, QStringList *directories) override;
42 void readFromInotify();
45 QString getPathFromID(
int id)
const;
48 QInotifyFileSystemWatcherEngine(
int fd, QObject *parent);
50 QHash<QString,
int> pathToID;
51 QMultiHash<
int, QString> idToPath;
52 QSocketNotifier notifier;