On 1 Mar 2013, at 11:20 PM, Lorn Potter wrote:

> On 02/03/13 07:59, Thiago Macieira wrote:
>> On sábado, 2 de março de 2013 07.51.04, Lorn Potter wrote:
>>>> Wasn't there already similar functionality in QtMobility?
>>>> QSystemStorageInfo seems to provide similar functionality?
>>> 
>>> Yes it does.
>>> 
>>>> Or did all
>>>> that get scrapped in Qt 5?
>>> 
>>> It's there in qtsystems, which is a hidden module.
>> 
>> As I said before when QSystemStorageInfo came about, I think the 
>> functionality
>> belongs in QtCore. With less emphasis in QML and mobile, of course.
> 
> systeminfo works on all platforms, mobile or not.
> The udisks functionality would have to be removed if moved to core.

I would like to at least have something like 
QSystemStorageInfo::logicalDrives() to use in building the QML FileDialog.  
(QDir::drives() provides drive letters on Windows but not mount points on 
Linux, which is asymmetric IMO.)  The reason is to have similar functionality 
on operating systems which will rely on the QML FileDialog as on Windows and 
OSX: when you plug in a removable drive, or mount a network drive, there should 
be a shortcut to access it in the file dialog.  So where should we start, and 
how much should we try to bring over in the first pass?  Is anyone else 
interested in working on patches for that?

If it doesn't have public QML API, that's OK for now, because I have some C++ 
support code for the dialogs anyway.  But maybe we should try to bring back 
(and improve) some of the QML APIs too?
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to