Yes, i have code for all your use-cases 
https://gitorious.org/qdrive/qdrive/trees/master

Unfortunately, monitoring seems broken on Linux due to reason that mtab is not 
a fille now, but  a symlink to procfs.

15.10.2011, в 1:34, Till Oliver Knoll написал(а):

> Am 05.08.11 22:49, schrieb Иван Комиссаров:
>> Want to update this conversation:)
>> What mechanism will be used in qt5?
>> ...
>> http://qt.gitorious.org/qt/qtsystems/blobs/master/src/systeminfo/qstorageinfo.h
> 
> Without looking at the code and having followed this discussion from the 
> beginning, but does "drive information" also include "USB events" such 
> as "USB Drive has been connected/disconnected"?
> 
> That would be of interest to me to have :)
> 
> I already looked once into this issue, and have working Windows code. 
> During research I also found example code for Mac (but have no concrete 
> references right now).
> 
> On Linux my approach would have been using DBus and connecting to some 
> "hardware abstraction service" (can't remember right now which one that 
> would have been). Or maybe there is a more "low-level" way on Linux as well?
> 
> Anyway, is work being considered in this direction? Off course also 
> figuring out the name of such a device (memory stick, CD, DVD, ...) 
> would be nice (I mean the "user defined name" which e.g. in File 
> Explorer is displayed, or on the Mac desktop etc., e.g. "My USB Stick", 
> not some technical name which is used under the hood).
> 
> Cheers, Oliver
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to