status-desktop/storybook/directorieswatcher.h

20 lines
309 B
C
Raw Permalink Normal View History

#pragma once
#include <QObject>
class QFileSystemWatcher;
class DirectoriesWatcher : public QObject
{
Q_OBJECT
public:
explicit DirectoriesWatcher(QObject *parent = nullptr);
void addPaths(const QStringList &paths);
signals:
void changed();
private:
QFileSystemWatcher* fsWatcher;
};