![]() |
Action when volume is mounted
Hey guys,
I am developing some application, which builds a database of files with specified extensions. I am developing with the QT framework. I would like to rescan for files when a volume is mounted, like a (micro)SD card, or a virtual volume. Is there some way to achieve this? I haven't found any standard Qt support for this, which was to be expected. Maybe there is some dbus signal or something to detect this? Any ideas? Thanks in advance, Mark |
Re: Action when volume is mounted
Does anybody have any idea? Still searching for a solution...
|
Re: Action when volume is mounted
There is QFileSystemWatcher class, maybe it works monitoring the mounting point (which is a directory) a volume is mounted on.
http://doc.trolltech.com/latest/qfilesystemwatcher.html |
All times are GMT. The time now is 09:26. |
vBulletin® Version 3.8.8