[Kde-hardware-devel] Solid::StorageDrive

David Hubner hubnerd at ntlworld.com
Mon Feb 1 23:31:36 CET 2010


On Thursday 28 January 2010 15:29:48 David Hubner wrote:
> 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 
> 
> 

Nevermind about the mount_point patch, when i submitted it i realised that Solid::VolumeAccess existed and there was no point to it :) Can you still evaluate the adding size to Solid::StorageDrive patch though.

Thanks
-- 
David Hubner
IRC: hubnerd
MSN: hubnerd at hubnerd.org
ICQ: 24308559


More information about the Kde-hardware-devel mailing list