[Qt5-feedback] Drive Information
Иван Комиссаров
abbapoh at gmail.com
Thu Jul 7 21:07:05 CEST 2011
I've written class for receiving different information about drives present in filesystem (https://gitorious.org/qdrive/qdrive/blobs/master/src/qdriveinfo.h)
Class is implemented for Windows, Mac OS, Linux and Symbian and implementation is better than in QtMobility.
Does Qt5 needs this functionality?
In fact, it seems that such classes exists in libsolid, but why not to move code to QtCore on platforms supported by Qt?
Also i have class for monitoring of appearance of drives in system (https://gitorious.org/qdrive/qdrive/blobs/master/src/qdrivecontroller.h). This monitoring can be expanded to provide request for application that OS wants to unmount volume (and Qt and app can unregister resources on that drive - for example QFSWatcher still locks flash drives on Win and they can't be unmounted properly; we can monitor requests and free resources correctly)
Ivan.
More information about the Qt5-feedback
mailing list