[PyQt] pykde4 solid question

Simon Edwards simon at simonzone.com
Sun Jul 6 20:17:10 BST 2008


Simon Edwards wrote:
> Hi,
> 
> Peter Liedler wrote:
>> this one should be executable:
> 
>>       if cdrom.isDeviceInterface (Solid.DeviceInterface.OpticalDrive):
>>            burner = cdrom.asDeviceInterface 
>> (Solid.DeviceInterface.OpticalDrive)
>>            print burner.supportedMedia()
> 
> Looks like a bug in PyKDE. You should be getting an optical driver 
> object back, but instead you get a drive object.
> 
> It looks like something I can fix for KDE 4.1, and maybe 4.0 if there is 
> demand for it.

I just committed the fix to KDE 4.1. :-)

cheers,

-- 
Simon Edwards             | KDE-NL, Guidance tools, Guarddog Firewall
simon at simonzone.com       | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."


More information about the PyQt mailing list