27 #ifndef VOLUMEWATCHER_H
28 #define VOLUMEWATCHER_H
31 #include <QFileSystemWatcher>
56 static QString getMediaPath();
58 static QString getRootDiskName();
65 void handleDirectoryChange(
const QString &path);
68 QFileSystemWatcher m_watcher;
70 void startWaitingForMounted(
const QString &fullPath,
const QString &symlinkPath)
const;
The VolumeWatcher class monitors changes in a directory and manages symlinks to new directories.
Definition: VolumeWatcher.h:46
VolumeWatcher(QObject *parent=nullptr)
Constructs a VolumeWatcher object.
Definition: VolumeWatcher.cpp:42