Active Topics

 


Reply
Thread Tools
Posts: 18 | Thanked: 0 times | Joined on Mar 2011
#1
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
 
Posts: 18 | Thanked: 0 times | Joined on Mar 2011
#2
Does anybody have any idea? Still searching for a solution...
 
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#3
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
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:07.