[Kde-hardware-devel] Solid::StorageDrive

David Hubner hubnerd at ntlworld.com
Thu Jan 28 16:29:48 CET 2010


On Tuesday 26 Jan 2010 15:09:09 David Hubner wrote:
> On 26/01/2010 14:40, yahoo-pier_andreit wrote:
> > David Hubner ha scritto:
> >    
> >> On Thursday 21 Jan 2010 10:54:28 Kevin Ottens wrote:
> >>
> >>      
> >>> On Thursday 21 January 2010 11:44:57 David Hubner wrote:
> >>>        
> >>      
> >>>> Well as it would be handy for what i am developing, i can do it :)
> >>>>          
> >> Is there
> >>
> >>      
> >>>> a kde review site for additions to solid or should i just attach the
> >>>>          
> >> diff
> >>
> >>      
> >>>> to a mail here?
> >>>>          
> >>      
> >>>        
> >>      
> >>> Well, we don't have that many patches for solid, so using the mailing
> >>>        
> >> list for
> >>
> >>      
> >>> that is ok with me (and I can read it on the plane unlike reviewboard).
> >>>        
> >>      
> >>>        
> >>      
> >>> Regards.
> >>>        
> >>      
> >>>        
> >> Here is the patch for the drives size in Solid::StorageDrive. I was
> >> wondering if i could also submit a patch to Solid::StorageVolume to get
> >> the mountpoint of the volume. This would allow developers to get the
> >> mountpoint and use kdiskspaceinfo to get the drives available space.
> >>
> >> Thanks
> >>
> >>      
> > and also the name of storage device like usb pens, and also the
> > associated dev like /dev/sdb, could be useful i think.
> >
> > thanks for all :-) ciao
> > _______________________________________________
> > Kde-hardware-devel mailing list
> > Kde-hardware-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/kde-hardware-devel
> >
> >    
> These two features are already available I believe. Associated dev can 
> be retrieved by Solid::Block::device() and the name of the storage 
> device is available from the enum Solid::StorageDrive::DriveType.
> 
> Thanks
> _______________________________________________
> Kde-hardware-devel mailing list
> Kde-hardware-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-hardware-devel
> 

Opps sorry, i made a few typos with the last patch. Ignore it. Teach me to write code and not test it. :) 

Please can you evaluate the above patches, one is for adding mountPoint into Solid::StorageVolume and the other is adding size into Solid::StorageDrive

Thanks 

-- 
David Hubner
IRC: hubnerd
MSN: hubnerd at hubnerd.org
ICQ: 24308559
-------------- next part --------------
A non-text attachment was scrubbed...
Name: size.diff
Type: text/x-patch
Size: 4207 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20100128/e77eed3e/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mountPoint.diff
Type: text/x-patch
Size: 5169 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20100128/e77eed3e/attachment-0001.diff 


More information about the Kde-hardware-devel mailing list